aboutsummaryrefslogtreecommitdiff
path: root/tools/libclang/IndexDecl.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tools/libclang/IndexDecl.cpp')
-rw-r--r--tools/libclang/IndexDecl.cpp15
1 files changed, 0 insertions, 15 deletions
diff --git a/tools/libclang/IndexDecl.cpp b/tools/libclang/IndexDecl.cpp
index 5087355a8d..58f449d3cc 100644
--- a/tools/libclang/IndexDecl.cpp
+++ b/tools/libclang/IndexDecl.cpp
@@ -29,9 +29,7 @@ public:
if (D->isThisDeclarationADefinition()) {
const Stmt *Body = D->getBody();
if (Body) {
- IndexCtx.startContainer(D, /*isBody=*/true);
IndexCtx.indexBody(Body, D);
- IndexCtx.endContainer(D);
}
}
return true;
@@ -93,10 +91,7 @@ public:
IndexCtx.handleObjCInterface(D);
IndexCtx.indexTUDeclsInObjCContainer();
- IndexCtx.startContainer(D);
- IndexCtx.defineObjCInterface(D);
IndexCtx.indexDeclContext(D);
- IndexCtx.endContainer(D);
return true;
}
@@ -108,9 +103,7 @@ public:
IndexCtx.handleObjCProtocol(D);
IndexCtx.indexTUDeclsInObjCContainer();
- IndexCtx.startContainer(D);
IndexCtx.indexDeclContext(D);
- IndexCtx.endContainer(D);
return true;
}
@@ -118,9 +111,7 @@ public:
IndexCtx.handleObjCImplementation(D);
IndexCtx.indexTUDeclsInObjCContainer();
- IndexCtx.startContainer(D);
IndexCtx.indexDeclContext(D);
- IndexCtx.endContainer(D);
return true;
}
@@ -128,9 +119,7 @@ public:
IndexCtx.handleObjCCategory(D);
IndexCtx.indexTUDeclsInObjCContainer();
- IndexCtx.startContainer(D);
IndexCtx.indexDeclContext(D);
- IndexCtx.endContainer(D);
return true;
}
@@ -141,9 +130,7 @@ public:
IndexCtx.handleObjCCategoryImpl(D);
IndexCtx.indexTUDeclsInObjCContainer();
- IndexCtx.startContainer(D);
IndexCtx.indexDeclContext(D);
- IndexCtx.endContainer(D);
return true;
}
@@ -157,9 +144,7 @@ public:
if (D->isThisDeclarationADefinition()) {
const Stmt *Body = D->getBody();
if (Body) {
- IndexCtx.startContainer(D, /*isBody=*/true);
IndexCtx.indexBody(Body, D);
- IndexCtx.endContainer(D);
}
}
return true;