[clang] [clang] Allow trivial pp-directives before C++ module directive (PR #153641)

via cfe-commits cfe-commits at lists.llvm.org
Fri Aug 15 08:31:09 PDT 2025


================
@@ -89,7 +89,8 @@ class Token {
     IsReinjected = 0x800,        // A phase 4 token that was produced before and
                           // re-added, e.g. via EnterTokenStream. Annotation
                           // tokens are *not* reinjected.
-    SeenNoTrivialPPDirective = 0x1000,
+    HasSeenNoTrivialPPDirective =
+        0x1000, // Seen any 'no-trivial' pp-directives before current position.
----------------
yronglin wrote:

Fixed

https://github.com/llvm/llvm-project/pull/153641


More information about the cfe-commits mailing list