diff options
author | Ted Kremenek <kremenek@apple.com> | 2010-01-18 22:07:45 +0000 |
---|---|---|
committer | Ted Kremenek <kremenek@apple.com> | 2010-01-18 22:07:45 +0000 |
commit | 6483a773db4d0ea3ab15de5801abe504c1dbc204 (patch) | |
tree | 0d88b60d255b36584a8b7652c25b57beff8be940 /tools/CIndex/CXCursor.cpp | |
parent | 3adca6d3f36a4f3006cc664613d4a7b6c5f6169a (diff) |
Explicitly not handle ObjCForwardProtocolDecl in GetCursorKind().
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@93779 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools/CIndex/CXCursor.cpp')
-rw-r--r-- | tools/CIndex/CXCursor.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
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; |