[clang] [clang][Diagnostics] Highlight code snippets (PR #66514)
Timm Baeder via cfe-commits
cfe-commits at lists.llvm.org
Wed Sep 20 02:54:10 PDT 2023
tbaederr wrote:
Okay, that seems quite complex since a lexer with a preprocessor doesn't seem to return comments at all and the tokens I get are all identifiers and don't have their `kw_` state set. Provided what I'm doing isn't completely wrong of course.
I'm open to suggestions of course, I don't use the lexer and preprocessor API very often.
https://github.com/llvm/llvm-project/pull/66514
More information about the cfe-commits
mailing list