Kill CXCursor_ObjCIvarRef. Such cursors could never be created, and

have been marked for death for a while.

llvm-svn: 93927
This commit is contained in:
Douglas Gregor 2010-01-19 22:11:32 +00:00
parent c70daf316e
commit 015026e358
3 changed files with 0 additions and 6 deletions

View File

@ -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,

View File

@ -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:

View File

@ -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: