[clang] [clang][modules] Track Included Files Per Submodule (PR #170215)
Jan Svoboda via cfe-commits
cfe-commits at lists.llvm.org
Mon Dec 15 08:20:33 PST 2025
================
@@ -1376,6 +1376,8 @@ void Preprocessor::makeModuleVisible(Module *M, SourceLocation Loc,
<< Message;
});
+ CurSubmoduleState->IncludedFiles.insert_range(M->Includes);
----------------
jansvoboda11 wrote:
This probably needs to be transitive, no? Let's add more tests so that we don't have to guess here.
https://github.com/llvm/llvm-project/pull/170215
More information about the cfe-commits
mailing list