[PATCH] D112915: [clang][modules] Track number of includes per submodule
Jan Svoboda via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Wed Nov 10 06:23:11 PST 2021
jansvoboda11 updated this revision to Diff 386139.
jansvoboda11 added a comment.
Store only direct includes in the PCM (compared to transitive stored previously), use InputFile ID (instead of full filesystem path).
Also: add test of transitive includes, fix bug in `VisibleModuleSet::setVisible`.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D112915/new/
https://reviews.llvm.org/D112915
Files:
clang/include/clang/Lex/ExternalPreprocessorSource.h
clang/include/clang/Lex/HeaderSearch.h
clang/include/clang/Lex/Preprocessor.h
clang/include/clang/Serialization/ASTBitCodes.h
clang/include/clang/Serialization/ASTReader.h
clang/include/clang/Serialization/ASTWriter.h
clang/include/clang/Serialization/ModuleFile.h
clang/lib/Basic/Module.cpp
clang/lib/Lex/HeaderSearch.cpp
clang/lib/Lex/PPDirectives.cpp
clang/lib/Lex/PPLexerChange.cpp
clang/lib/Lex/Preprocessor.cpp
clang/lib/Serialization/ASTReader.cpp
clang/lib/Serialization/ASTWriter.cpp
clang/test/Modules/import-submodule-visibility.c
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D112915.386139.patch
Type: text/x-patch
Size: 29169 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20211110/a365c2bc/attachment-0001.bin>
More information about the cfe-commits
mailing list