I set a breakpoint at this line, condition being I == 22. Tokens[22] is the comma after the fourth a. Thus PasteBefore is false. However, ResultToks ends with
▶ | [15] | comma | clang::Token
▶ | [16] | hashhash | clang::Token
▶ | [17] | hashhash | clang::Token
`Assertion failed: (!NonEmptyPasteBefore || PasteBefore || VCtx.isInVAOpt()) && "unexpected ## in ResultToks", file D:\GitHub\Repos\LLVM\llvm-project\clang\lib\Lex\TokenLexer.cpp, line 414`
I got this while running clang on this code:
``` c
#define FOO(a,b,c) ;b########c,b##########c,a########a,a##########a, (more...)
FOO (,y,z)
```
I set a breakpoint at this line, condition being `I == 22`. `Tokens[22]` is the comma after the fourth `a`. Thus `PasteBefore` is false. However, `ResultToks` ends with
▶ | [15] | comma | clang::Token
▶ | [16] | hashhash | clang::Token
▶ | [17] | hashhash | clang::Token
```
Assertion failed: (!NonEmptyPasteBefore || PasteBefore || VCtx.isInVAOpt()) && "unexpected ## in ResultToks", file D:\GitHub\Repos\LLVM\llvm-project\clang\lib\Lex\TokenLexer.cpp, line 414
I got this while running clang on this code:
I set a breakpoint at this line, condition being
I == 22
.Tokens[22]
is the comma after the fourtha
. ThusPasteBefore
is false. However,ResultToks
ends with ▶ | [15] | comma | clang::Token ▶ | [16] | hashhash | clang::Token ▶ | [17] | hashhash | clang::Token