summaryrefslogtreecommitdiffstats
path: root/clang/tools/libclang/IndexingContext.cpp
diff options
context:
space:
mode:
authorArgyrios Kyrtzidis <akyrtzi@gmail.com>2011-10-18 15:50:50 +0000
committerArgyrios Kyrtzidis <akyrtzi@gmail.com>2011-10-18 15:50:50 +0000
commit0c7735e525a22d523d5951fdcf65877d470d32fe (patch)
treef94a62e7ea939d0a5cc7aea99040f03a7451906c /clang/tools/libclang/IndexingContext.cpp
parent1c7dcd04b84d6be013132fdb8a25508ae21bcad0 (diff)
downloadbcm5719-llvm-0c7735e525a22d523d5951fdcf65877d470d32fe.tar.gz
bcm5719-llvm-0c7735e525a22d523d5951fdcf65877d470d32fe.zip
[libclang] Index implicit property references.
llvm-svn: 142355
Diffstat (limited to 'clang/tools/libclang/IndexingContext.cpp')
-rw-r--r--clang/tools/libclang/IndexingContext.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/clang/tools/libclang/IndexingContext.cpp b/clang/tools/libclang/IndexingContext.cpp
index 8a41856032a..f295582b535 100644
--- a/clang/tools/libclang/IndexingContext.cpp
+++ b/clang/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);
}
OpenPOWER on IntegriCloud