From: Ted Kremenek Date: Mon, 18 Jan 2010 22:07:45 +0000 (+0000) Subject: Explicitly not handle ObjCForwardProtocolDecl in GetCursorKind(). X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=6483a773db4d0ea3ab15de5801abe504c1dbc204;p=clang Explicitly not handle ObjCForwardProtocolDecl in GetCursorKind(). git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@93779 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/tools/CIndex/CXCursor.cpp b/tools/CIndex/CXCursor.cpp index 8211cb0088..945e1ac3c7 100644 --- a/tools/CIndex/CXCursor.cpp +++ b/tools/CIndex/CXCursor.cpp @@ -45,6 +45,9 @@ static CXCursorKind GetCursorKind(Decl *D) { case Decl::ObjCClass: // FIXME return CXCursor_NotImplemented; + case Decl::ObjCForwardProtocol: + // FIXME + return CXCursor_NotImplemented; case Decl::ObjCImplementation: return CXCursor_ObjCClassDefn; case Decl::ObjCInterface: return CXCursor_ObjCInterfaceDecl; case Decl::ObjCIvar: return CXCursor_ObjCIvarDecl;