================ @@ -1464,6 +1467,21 @@ class AnnotatingParser { } } + void parseEmbedDirective() { + if (CurrentToken && CurrentToken->is(tok::less)) { + next(); + while (CurrentToken) { + // Mark tokens up to the trailing line comments as implicit string + // literals. + if (CurrentToken->isNot(tok::comment) && + !CurrentToken->TokenText.startswith("//")) { + CurrentToken->setType(TT_ImplicitStringLiteral); ---------------- HazardyKnusperkeks wrote:
```suggestion CurrentToken->setFinalizedType(TT_ImplicitStringLiteral); ``` https://github.com/llvm/llvm-project/pull/68620 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits