summaryrefslogtreecommitdiffstats
path: root/clang/lib/Serialization/GlobalModuleIndex.cpp
diff options
context:
space:
mode:
authorRichard Smith <richard-llvm@metafoo.co.uk>2015-07-12 23:43:21 +0000
committerRichard Smith <richard-llvm@metafoo.co.uk>2015-07-12 23:43:21 +0000
commit5fc18a9a1f8930dbf44b2c1b8f53e14f3142659c (patch)
treeadcee4ad93be7bb63dbdfc7b34c4fdd6d220e36e /clang/lib/Serialization/GlobalModuleIndex.cpp
parenta2275910a75457abacf024c9baf9f250b86439ed (diff)
downloadbcm5719-llvm-5fc18a9a1f8930dbf44b2c1b8f53e14f3142659c.tar.gz
bcm5719-llvm-5fc18a9a1f8930dbf44b2c1b8f53e14f3142659c.zip
[modules] Improve performance when there is a local declaration of an entity
before the first imported declaration. We don't need to track all formerly-canonical declarations of an entity; it's sufficient to track those ones for which no other formerly-canonical declaration was imported into the same module. We call those ones "key declarations", and use them as our starting points for collecting redeclarations and performing namespace lookups. llvm-svn: 241999
Diffstat (limited to 'clang/lib/Serialization/GlobalModuleIndex.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud