summaryrefslogtreecommitdiffstats
path: root/clang/tools/libclang/CIndex.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'clang/tools/libclang/CIndex.cpp')
-rw-r--r--clang/tools/libclang/CIndex.cpp8
1 files changed, 0 insertions, 8 deletions
diff --git a/clang/tools/libclang/CIndex.cpp b/clang/tools/libclang/CIndex.cpp
index 563dd6b0277..505633649ab 100644
--- a/clang/tools/libclang/CIndex.cpp
+++ b/clang/tools/libclang/CIndex.cpp
@@ -2812,14 +2812,6 @@ unsigned clang_CXXMethod_isStatic(CXCursor C) {
return (D && D->isStatic()) ? 1 : 0;
}
-unsigned clang_isTagDeclDefinition(CXCursor C) {
- if (!clang_isDeclaration(C.kind))
- return 0;
-
- const TagDecl *D = dyn_cast<TagDecl>(cxcursor::getCursorDecl(C));
- return D && D->isDefinition() ? 1 : 0;
-}
-
} // end: extern "C"
//===----------------------------------------------------------------------===//
OpenPOWER on IntegriCloud