aboutsummaryrefslogtreecommitdiff
path: root/tools/libclang/IndexingContext.cpp
diff options
context:
space:
mode:
authorArgyrios Kyrtzidis <akyrtzi@gmail.com>2012-01-20 01:38:51 +0000
committerArgyrios Kyrtzidis <akyrtzi@gmail.com>2012-01-20 01:38:51 +0000
commit0b28928a715c423b3471c539f1d5499b405c0ec9 (patch)
tree4c9ba06c0927b9eda5c7a770dae31a6077d39793 /tools/libclang/IndexingContext.cpp
parentef331b783bb96a0f0e34afdb7ef46677dc4764cb (diff)
[libclang] Fix crash when indexing attributes, rdar://10702250.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@148524 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools/libclang/IndexingContext.cpp')
-rw-r--r--tools/libclang/IndexingContext.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/libclang/IndexingContext.cpp b/tools/libclang/IndexingContext.cpp
index 1c58d23f54..3d70144db5 100644
--- a/tools/libclang/IndexingContext.cpp
+++ b/tools/libclang/IndexingContext.cpp
@@ -49,7 +49,7 @@ IndexingContext::ObjCProtocolListInfo::ObjCProtocolListInfo(
IBOutletCollectionInfo::IBOutletCollectionInfo(
const IBOutletCollectionInfo &other)
- : AttrInfo(CXIdxAttr_IBOutletCollection, other.cursor, other.loc, A) {
+ : AttrInfo(CXIdxAttr_IBOutletCollection, other.cursor, other.loc, other.A) {
IBCollInfo.attrInfo = this;
IBCollInfo.classCursor = other.IBCollInfo.classCursor;