summaryrefslogtreecommitdiffstats
path: root/clang/tools/c-index-test/core_main.cpp
diff options
context:
space:
mode:
authorDuncan P. N. Exon Smith <dexonsmith@apple.com>2017-01-29 04:42:21 +0000
committerDuncan P. N. Exon Smith <dexonsmith@apple.com>2017-01-29 04:42:21 +0000
commit688b69adf8f2b854cf3e532adc8db20e00638736 (patch)
tree1e593d9763deb267ed1aa1ce5690093ee1f003b5 /clang/tools/c-index-test/core_main.cpp
parent4753736abfe807e623b0b327d32a78d23d770c08 (diff)
downloadbcm5719-llvm-688b69adf8f2b854cf3e532adc8db20e00638736.tar.gz
bcm5719-llvm-688b69adf8f2b854cf3e532adc8db20e00638736.zip
Modules: Fix a minor performance bug from r293393
Oops... r293393 started calling ReadSignature in ModuleManager::addModule even when there was no ExpectedSignature. Whether or not this would have a measurable performance impact (I spotted this by inspection, and ReadSignature should be fairly fast), we might as well get what we can. Add an extra check against ExpectedSignature to avoid the hit. llvm-svn: 293415
Diffstat (limited to 'clang/tools/c-index-test/core_main.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud