]> granicus.if.org Git - clang/commitdiff
Explicitly not handle ObjCForwardProtocolDecl in GetCursorKind().
authorTed Kremenek <kremenek@apple.com>
Mon, 18 Jan 2010 22:07:45 +0000 (22:07 +0000)
committerTed Kremenek <kremenek@apple.com>
Mon, 18 Jan 2010 22:07:45 +0000 (22:07 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@93779 91177308-0d34-0410-b5e6-96231b3b80d8

tools/CIndex/CXCursor.cpp

index 8211cb0088907452b523bdb8c80612824a371f8f..945e1ac3c7bd7a2acd15da436dc6c5fe6d9d8aaf 100644 (file)
@@ -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;