]> granicus.if.org Git - clang/commit
[Modules] Use global index to improve typo correction performance
authorArgyrios Kyrtzidis <akyrtzi@gmail.com>
Wed, 17 Apr 2013 22:10:55 +0000 (22:10 +0000)
committerArgyrios Kyrtzidis <akyrtzi@gmail.com>
Wed, 17 Apr 2013 22:10:55 +0000 (22:10 +0000)
commit87f9d81d0ab806dcf6ca50a0c068dcb2ba7f51b3
treec8136fa64b9cee546774304b7375893b1208e58b
parent9753d462fabba1db75a977cb1f75ea66e9081120
[Modules] Use global index to improve typo correction performance

Typo correction for an unqualified name needs to walk through all of the identifier tables of all modules.
When we have a global index, just walk its identifier table only.

rdar://13425732

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