commit | 9b7db6200d366e4964d63ae1f33c7b9d7b9831cb | [log] [tgz] |
---|---|---|
author | Douglas Gregor <dgregor@apple.com> | Wed Feb 16 18:16:54 2011 +0000 |
committer | Douglas Gregor <dgregor@apple.com> | Wed Feb 16 18:16:54 2011 +0000 |
tree | 4212b6b4da533d76ee556afd83fa128bdf1f42cc | |
parent | 9c97ca091200311229ce3cb070f0ed8846687eda [diff] |
Improve the invalidation logic for the cache of global code completions. We now compute a hash of the names of all top-level declarations and macro definitions, and invalidate the cache when the hash value changes. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@125670 91177308-0d34-0410-b5e6-96231b3b80d8