diff options
author | Douglas Gregor <dgregor@apple.com> | 2011-12-21 15:12:03 +0000 |
---|---|---|
committer | Douglas Gregor <dgregor@apple.com> | 2011-12-21 15:12:03 +0000 |
commit | 87dd4f7f43593d86add23faab58e7393aaa2219f (patch) | |
tree | 9ea291af8a4c3f0eb305435a1bdc413111467c68 /include/clang/Basic/SourceManager.h | |
parent | 4a4f25a5a80dd594acf68c882bcdbf1a38468a45 (diff) |
Implement a trivial, obvious optimization for deserialization of
redeclaration chains: only ever have the reader search for
redeclarations of the first (canonical) declaration, since we only
ever record redeclaration ranges for the that declaration. Searching
for redeclarations of non-canonical declarations will never find
anything, so it's a complete waste of time.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@147055 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/clang/Basic/SourceManager.h')
0 files changed, 0 insertions, 0 deletions