diff options
author | Douglas Gregor <dgregor@apple.com> | 2013-01-21 15:25:38 +0000 |
---|---|---|
committer | Douglas Gregor <dgregor@apple.com> | 2013-01-21 15:25:38 +0000 |
commit | 5a04f9fc2b000da98fd903c8156034304bdadb2f (patch) | |
tree | 0bd659d6514e28faeac725451124f0ed9a03f627 /lib/Format/Format.cpp | |
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
Diffstat (limited to 'lib/Format/Format.cpp')
0 files changed, 0 insertions, 0 deletions