commit | 5a04f9fc2b000da98fd903c8156034304bdadb2f | [log] [tgz] |
---|---|---|
author | Douglas Gregor <dgregor@apple.com> | Mon Jan 21 15:25:38 2013 +0000 |
committer | Douglas Gregor <dgregor@apple.com> | Mon Jan 21 15:25:38 2013 +0000 |
tree | 0bd659d6514e28faeac725451124f0ed9a03f627 | |
parent | 032f25329565adfc542f001953565091eccba130 [diff] |
Introduce a fast path for the ASTReader's name lookup within a DeclContext. When the DeclContext is of a kind that can only be defined once and never updated, we limit the search to the module file that conatins the lookup table. Provides a 15% speedup in one modules-heavy source file. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@173050 91177308-0d34-0410-b5e6-96231b3b80d8