aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Lex/ModuleMap.cpp
diff options
context:
space:
mode:
authorReid Kleckner <rnk@google.com>2020-02-27 18:13:54 -0800
committerReid Kleckner <rnk@google.com>2020-03-11 13:37:41 -0700
commitc915cb957dc37275ce1ca1a0b993239c82f12692 (patch)
tree77ffdcc1ea4e7c968624e10ee6b55312a76e13b8 /clang/lib/Lex/ModuleMap.cpp
parenta0cacb60549f2346f7addf9205cd32720afc8fb4 (diff)
downloadllvm-c915cb957dc37275ce1ca1a0b993239c82f12692.zip
llvm-c915cb957dc37275ce1ca1a0b993239c82f12692.tar.gz
llvm-c915cb957dc37275ce1ca1a0b993239c82f12692.tar.bz2
Avoid including Module.h from ExternalASTSource.h
Module.h takes 86ms to parse, mostly parsing the class itself. Avoid it if possible. ASTContext.h depends on ExternalASTSource.h. A few NFC changes were needed to make this possible: - Move ASTSourceDescriptor to Module.h. This needs Module to be complete, and seems more related to modules and AST files than external AST sources. - Move "import complete" bit from Module* pointer int pair to NextLocalImport pointer. Required because PointerIntPair<Module*,...> requires Module to be complete, and now it may not be. Reviewed By: aaron.ballman, hans Differential Revision: https://reviews.llvm.org/D75784
Diffstat (limited to 'clang/lib/Lex/ModuleMap.cpp')
0 files changed, 0 insertions, 0 deletions