[clang] [clang][modules] HeaderSearch::MarkFileModuleHeader sets textual headers' HeaderFileInfo non-external when it shouldn't (PR #89005)

Jan Svoboda via cfe-commits cfe-commits at lists.llvm.org
Fri Jun 14 12:51:20 PDT 2024


================
@@ -84,7 +84,9 @@ struct HeaderFileInfo {
   LLVM_PREFERRED_TYPE(bool)
   unsigned isModuleHeader : 1;
 
-  /// Whether this header is a `textual header` in a module.
+  /// Whether this header is a `textual header` in a module. If a header is
+  /// textual in one module and normal in another module, this bit will not be
+  /// set, only `isModuleHeader`.
----------------
jansvoboda11 wrote:

I don't have a strong preference here.

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


More information about the cfe-commits mailing list