diff options
author | Douglas Gregor <dgregor@apple.com> | 2011-02-16 18:16:54 +0000 |
---|---|---|
committer | Douglas Gregor <dgregor@apple.com> | 2011-02-16 18:16:54 +0000 |
commit | df7a79a99786c03a6b4ed7ea799a4e73890a6eb8 (patch) | |
tree | 6d74c25d972668aec4982e2bf816bfdc29356762 /clang/lib/Basic/SourceManager.cpp | |
parent | 012b69d5bb366daac7ddacefc8a91d5083f0b120 (diff) | |
download | llvm-df7a79a99786c03a6b4ed7ea799a4e73890a6eb8.zip llvm-df7a79a99786c03a6b4ed7ea799a4e73890a6eb8.tar.gz llvm-df7a79a99786c03a6b4ed7ea799a4e73890a6eb8.tar.bz2 |
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.
llvm-svn: 125670
Diffstat (limited to 'clang/lib/Basic/SourceManager.cpp')
0 files changed, 0 insertions, 0 deletions