diff options
-rw-r--r-- | include/clang-c/Index.h | 1 | ||||
-rw-r--r-- | tools/CIndex/CIndex.cpp | 4 | ||||
-rw-r--r-- | tools/CIndex/CXCursor.cpp | 1 |
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: |