sammccall added inline comments.
================ Comment at: clang/lib/Lex/Lexer.cpp:2387 // unit. LangOpts.LineComment = true; } ---------------- It's much less obvious what this does in raw lexing mode. My rough understanding is raw lexing mode is ~stateless and we may choose to recreate the lexer, start lexing at any point etc. So having a stateful flag flip won't actually result in the same text being lexed the same way, because we may not run in the same sequence. Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D118471/new/ https://reviews.llvm.org/D118471 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits