aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDouglas Gregor <dgregor@apple.com>2010-01-19 22:11:32 +0000
committerDouglas Gregor <dgregor@apple.com>2010-01-19 22:11:32 +0000
commit5a5ec3a318c700eab5ffc53217af18a619f22dd4 (patch)
tree8e2de36197d8da148895bbe9503b81280066359d
parent301221313be4f97327e931ead9794dd3a8bce160 (diff)
Kill CXCursor_ObjCIvarRef. Such cursors could never be created, and
have been marked for death for a while. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@93927 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--include/clang-c/Index.h1
-rw-r--r--tools/CIndex/CIndex.cpp4
-rw-r--r--tools/CIndex/CXCursor.cpp1
3 files changed, 0 insertions, 6 deletions
diff --git a/include/clang-c/Index.h b/include/clang-c/Index.h
index a417209d83..9a4d2a2a12 100644
--- a/include/clang-c/Index.h
+++ b/include/clang-c/Index.h
@@ -115,7 +115,6 @@ enum CXCursorKind {
CXCursor_ObjCClassRef = 42,
CXCursor_ObjCSelectorRef = 43, /* Expression references */
- CXCursor_ObjCIvarRef = 44,
CXCursor_VarRef = 45,
CXCursor_FunctionRef = 46,
CXCursor_EnumConstantRef = 47,
diff --git a/tools/CIndex/CIndex.cpp b/tools/CIndex/CIndex.cpp
index b4759a5127..8906c95036 100644
--- a/tools/CIndex/CIndex.cpp
+++ b/tools/CIndex/CIndex.cpp
@@ -869,7 +869,6 @@ const char *clang_getCursorKindSpelling(enum CXCursorKind Kind) {
case CXCursor_ObjCProtocolDecl: return "ObjCProtocolDecl";
case CXCursor_ObjCPropertyDecl: return "ObjCPropertyDecl";
case CXCursor_ObjCIvarDecl: return "ObjCIvarDecl";
- case CXCursor_ObjCIvarRef: return "ObjCIvarRef";
case CXCursor_ObjCInstanceMethodDecl: return "ObjCInstanceMethodDecl";
case CXCursor_ObjCClassMethodDecl: return "ObjCClassMethodDecl";
case CXCursor_ObjCImplementationDecl: return "ObjCImplementationDecl";
@@ -1005,7 +1004,6 @@ CXSourceLocation clang_getCursorLocation(CXCursor C) {
}
case CXCursor_ObjCSelectorRef:
- case CXCursor_ObjCIvarRef:
case CXCursor_VarRef:
case CXCursor_FunctionRef:
case CXCursor_EnumConstantRef:
@@ -1064,7 +1062,6 @@ CXSourceRange clang_getCursorExtent(CXCursor C) {
}
case CXCursor_ObjCSelectorRef:
- case CXCursor_ObjCIvarRef:
case CXCursor_VarRef:
case CXCursor_FunctionRef:
case CXCursor_EnumConstantRef:
@@ -1105,7 +1102,6 @@ CXCursor clang_getCursorReferenced(CXCursor C) {
return MakeCXCursor(getCursorObjCClassRef(C).first);
case CXCursor_ObjCSelectorRef:
- case CXCursor_ObjCIvarRef:
case CXCursor_VarRef:
case CXCursor_FunctionRef:
case CXCursor_EnumConstantRef:
diff --git a/tools/CIndex/CXCursor.cpp b/tools/CIndex/CXCursor.cpp
index f284b248cd..fdeb885cf3 100644
--- a/tools/CIndex/CXCursor.cpp
+++ b/tools/CIndex/CXCursor.cpp
@@ -172,7 +172,6 @@ ASTContext &cxcursor::getCursorContext(CXCursor Cursor) {
return static_cast<Decl *>(Cursor.data[0])->getASTContext();
case CXCursor_ObjCSelectorRef:
- case CXCursor_ObjCIvarRef:
case CXCursor_VarRef:
case CXCursor_FunctionRef:
case CXCursor_EnumConstantRef: