Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
Could you explain why this is necessary and even correct? I'd expect Clang to give an error when seeing ## in this position, and I'd expect the scanner to do the same.
Comment Actions
## is lexed as tok::hashhash; it is ignored by the preprocessor (it is not treated as the start of a preprocessor directive) and passed on to the parser to interpret, like any other token.