[clang] [clang][modules] Allow module maps with textual headers to be non-affecting (PR #89441)

Jan Svoboda via cfe-commits cfe-commits at lists.llvm.org
Wed Apr 24 08:50:14 PDT 2024


================
@@ -1574,6 +1574,7 @@ bool HeaderSearch::ShouldEnterIncludeFile(Preprocessor &PP,
     }
   }
 
+  FileInfo.IsLocallyIncluded = true;
----------------
jansvoboda11 wrote:

I agree, I wanted to colocate this with call to `Preprocessor::markIncluded()`. If we find a better way of doing things, we can move both of them.

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


More information about the cfe-commits mailing list