summaryrefslogtreecommitdiffstats
path: root/clang/tools/libclang/IndexingContext.h
diff options
context:
space:
mode:
authorArgyrios Kyrtzidis <akyrtzi@gmail.com>2011-12-13 18:47:41 +0000
committerArgyrios Kyrtzidis <akyrtzi@gmail.com>2011-12-13 18:47:41 +0000
commit25cb0ff3d851537fd3eb4e725bace7dbb2a69678 (patch)
treefc25d2d4f8634a2fdc8a4c0969c1786115bab820 /clang/tools/libclang/IndexingContext.h
parentccdf8276a3fc447a3d7657f3dd7fcce7624affdf (diff)
downloadbcm5719-llvm-25cb0ff3d851537fd3eb4e725bace7dbb2a69678.tar.gz
bcm5719-llvm-25cb0ff3d851537fd3eb4e725bace7dbb2a69678.zip
[libclang] Indexing API: Fix indexing of missed references.
rdar://10567864&10567916 llvm-svn: 146497
Diffstat (limited to 'clang/tools/libclang/IndexingContext.h')
-rw-r--r--clang/tools/libclang/IndexingContext.h9
1 files changed, 7 insertions, 2 deletions
diff --git a/clang/tools/libclang/IndexingContext.h b/clang/tools/libclang/IndexingContext.h
index 64e3a3c5d41..1ad1d809eeb 100644
--- a/clang/tools/libclang/IndexingContext.h
+++ b/clang/tools/libclang/IndexingContext.h
@@ -334,11 +334,16 @@ public:
const DeclContext *DC = 0);
void indexTypeLoc(TypeLoc TL, const NamedDecl *Parent,
- const DeclContext *DC);
+ const DeclContext *DC = 0);
+
+ void indexNestedNameSpecifierLoc(NestedNameSpecifierLoc NNS,
+ const NamedDecl *Parent,
+ const DeclContext *DC = 0);
void indexDeclContext(const DeclContext *DC);
- void indexBody(const Stmt *S, const DeclContext *DC);
+ void indexBody(const Stmt *S, const NamedDecl *Parent,
+ const DeclContext *DC = 0);
void handleDiagnosticSet(CXDiagnosticSet CXDiagSet);
OpenPOWER on IntegriCloud