aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/ModuleDependencyCollector.cpp
diff options
context:
space:
mode:
authorRichard Smith <richard-llvm@metafoo.co.uk>2016-05-06 23:14:07 +0000
committerRichard Smith <richard-llvm@metafoo.co.uk>2016-05-06 23:14:07 +0000
commit10379099245114a34f305f697e089422b47598fe (patch)
tree2bb8b8d66264808c61c3776ab53c0138737abc79 /clang/lib/Frontend/ModuleDependencyCollector.cpp
parent85338cbdb63215abefa45d51fe7e5f4f913a6ba4 (diff)
downloadllvm-10379099245114a34f305f697e089422b47598fe.zip
llvm-10379099245114a34f305f697e089422b47598fe.tar.gz
llvm-10379099245114a34f305f697e089422b47598fe.tar.bz2
[modules] Attempt to improve performance for declaration merging without a Sema
object in C. Rather than using the DeclContext (which is very slow because it triggers us to build a lookup table for the DeclContext), use a separate map from identifiers to decls for this case, containing only the ones we've actually deserialized. For convenience, this map is implemented as an IdentifierResolver. llvm-svn: 268817
Diffstat (limited to 'clang/lib/Frontend/ModuleDependencyCollector.cpp')
0 files changed, 0 insertions, 0 deletions