diff options
| author | Richard Smith <richard-llvm@metafoo.co.uk> | 2015-07-12 23:43:21 +0000 |
|---|---|---|
| committer | Richard Smith <richard-llvm@metafoo.co.uk> | 2015-07-12 23:43:21 +0000 |
| commit | 5fc18a9a1f8930dbf44b2c1b8f53e14f3142659c (patch) | |
| tree | adcee4ad93be7bb63dbdfc7b34c4fdd6d220e36e /clang/lib/Serialization/GlobalModuleIndex.cpp | |
| parent | a2275910a75457abacf024c9baf9f250b86439ed (diff) | |
| download | bcm5719-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

