summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorRichard Smith <richard-llvm@metafoo.co.uk>2012-02-15 02:07:05 +0000
committerRichard Smith <richard-llvm@metafoo.co.uk>2012-02-15 02:07:05 +0000
commit5677eafb01b64ca83f671f3aee9de103a04c2c76 (patch)
treebe49aba5f113bded879292ed61e0d7c004f6ac3d /tools
parent4d4e5c1ae83f4510caa486b3ad19de13048f9f04 (diff)
downloadclang-5677eafb01b64ca83f671f3aee9de103a04c2c76.tar.gz
clang-5677eafb01b64ca83f671f3aee9de103a04c2c76.tar.bz2
clang-5677eafb01b64ca83f671f3aee9de103a04c2c76.tar.xz
Fix typo in r150549.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@150555 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools')
-rw-r--r--tools/libclang/IndexBody.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/tools/libclang/IndexBody.cpp b/tools/libclang/IndexBody.cpp
index 77ff843525..9330194cee 100644
--- a/tools/libclang/IndexBody.cpp
+++ b/tools/libclang/IndexBody.cpp
@@ -101,12 +101,12 @@ public:
IndexCtx.indexDeclGroupRef(S->getDeclGroup());
return true;
}
-
+
bool TraverseLambdaCapture(LambdaExpr::Capture C) {
if (C.capturesThis())
return true;
-
- if (IndexCtx.indexFunctionLocalSymbols())
+
+ if (IndexCtx.shouldIndexFunctionLocalSymbols())
IndexCtx.handleReference(C.getCapturedVar(), C.getLocation(),
Parent, ParentDC);
return true;