[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:32:39 PDT 2025


================
@@ -3099,7 +3099,7 @@ class Preprocessor {
   bool setDeserializedSafeBufferOptOutMap(
       const SmallVectorImpl<SourceLocation> &SrcLocSeqs);
 
-  /// Whether allow C++ module directive.
+  /// Whether seen pp-directives which may change the preprocessing state.
----------------
yronglin wrote:

Fixed

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


More information about the cfe-commits mailing list