Avoid inferring new submodules for headers in ASTWriter's collection of affecting modulemap files, since we don't want to pick up dependencies that didn't actually exist during parsing.
rdar://108681805
Paths
| Differential D150151
[clang] Prevent creation of new submodules in ASTWriter ClosedPublic Authored by benlangmuir on May 8 2023, 4:04 PM.
Details Summary Avoid inferring new submodules for headers in ASTWriter's collection of affecting modulemap files, since we don't want to pick up dependencies that didn't actually exist during parsing. rdar://108681805
Diff Detail
Event TimelineComment Actions No test, because I haven't come up with a test case that wouldn't be invalidated by https://reviews.llvm.org/D103930. Let me know if you have any ideas. This revision is now accepted and ready to land.May 9 2023, 12:53 PM This revision was landed with ongoing or failed builds.May 9 2023, 1:03 PM Closed by commit rG5984ea216d2a: [clang] Prevent creation of new submodules in ASTWriter (authored by benlangmuir). · Explain Why This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 520798 clang/include/clang/Lex/HeaderSearch.h
clang/include/clang/Lex/ModuleMap.h
clang/lib/Lex/HeaderSearch.cpp
clang/lib/Lex/ModuleMap.cpp
clang/lib/Serialization/ASTWriter.cpp
|