]> granicus.if.org Git - clang/commit
Improve coordination between the module manager and the global module
authorDouglas Gregor <dgregor@apple.com>
Fri, 25 Jan 2013 23:32:03 +0000 (23:32 +0000)
committerDouglas Gregor <dgregor@apple.com>
Fri, 25 Jan 2013 23:32:03 +0000 (23:32 +0000)
commit188bdcd1aaf5e9f457cec6851707d7dc3e7bbb15
treea8e2e900703a72777120af069406272457e5073c
parent59273eb5263006c96b03cfc90db2dadf354ea4ce
Improve coordination between the module manager and the global module
index, optimizing the operation that skips lookup in modules where we
know the identifier will not be found. This makes the global module
index optimization actually useful, providing an 8.5% speedup over
modules without the global module index for -fsyntax-only.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@173529 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Serialization/GlobalModuleIndex.h
include/clang/Serialization/ModuleManager.h
lib/Serialization/ASTReader.cpp
lib/Serialization/GlobalModuleIndex.cpp
lib/Serialization/ModuleManager.cpp