diff options
author | Argyrios Kyrtzidis <akyrtzi@gmail.com> | 2011-10-18 15:50:50 +0000 |
---|---|---|
committer | Argyrios Kyrtzidis <akyrtzi@gmail.com> | 2011-10-18 15:50:50 +0000 |
commit | aca19be8731fc31cff68702de0dc7f30ce908979 (patch) | |
tree | a855dddb91eca1455fe966640dda8faa28bf437a /tools/libclang/IndexingContext.cpp | |
parent | c0f5b754eacfd0d1cb5338e048850e5d29ca42f7 (diff) |
[libclang] Index implicit property references.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@142355 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools/libclang/IndexingContext.cpp')
-rw-r--r-- | tools/libclang/IndexingContext.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/tools/libclang/IndexingContext.cpp b/tools/libclang/IndexingContext.cpp index 8a41856032..f295582b53 100644 --- a/tools/libclang/IndexingContext.cpp +++ b/tools/libclang/IndexingContext.cpp @@ -388,7 +388,8 @@ void IndexingContext::handleObjCProperty(const ObjCPropertyDecl *D) { void IndexingContext::handleReference(const NamedDecl *D, SourceLocation Loc, const NamedDecl *Parent, const DeclContext *DC, - const Expr *E) { + const Expr *E, + CXIdxEntityRefKind Kind) { if (Loc.isInvalid()) return; if (!CB.indexEntityReference) @@ -402,7 +403,8 @@ void IndexingContext::handleReference(const NamedDecl *D, SourceLocation Loc, getIndexLoc(Loc), getIndexEntity(D), getIndexEntity(Parent), - getIndexContainerForDC(DC) }; + getIndexContainerForDC(DC), + Kind }; CB.indexEntityReference(ClientData, &Info); } |