[clang] [clang][modules] Track Included Files Per Submodule (PR #170215)
Qiongsi Wu via cfe-commits
cfe-commits at lists.llvm.org
Fri Mar 6 09:19:16 PST 2026
================
@@ -1376,6 +1376,8 @@ void Preprocessor::makeModuleVisible(Module *M, SourceLocation Loc,
<< Message;
});
+ CurSubmoduleState->IncludedFiles.insert_range(M->Includes);
----------------
qiongsiwu wrote:
Strangely (on the surface), all the test cases I am playing around with has this as a no-op (no new modules are every added by this line of code, and removing it is just fine). I am taking a closer look.
https://github.com/llvm/llvm-project/pull/170215
More information about the cfe-commits
mailing list