summaryrefslogtreecommitdiffstats
path: root/clang/tools/CIndex/CXCursor.cpp
diff options
context:
space:
mode:
authorTed Kremenek <kremenek@apple.com>2010-01-18 22:07:45 +0000
committerTed Kremenek <kremenek@apple.com>2010-01-18 22:07:45 +0000
commit0ea923c550f476b903f26c989a71745ac99e3827 (patch)
treee3940f0a3d87e85f1809b9fd4d1f5646863e0585 /clang/tools/CIndex/CXCursor.cpp
parenta6980af2d2aa34734748550e7d639e867af5eb43 (diff)
downloadbcm5719-llvm-0ea923c550f476b903f26c989a71745ac99e3827.tar.gz
bcm5719-llvm-0ea923c550f476b903f26c989a71745ac99e3827.zip
Explicitly not handle ObjCForwardProtocolDecl in GetCursorKind().
llvm-svn: 93779
Diffstat (limited to 'clang/tools/CIndex/CXCursor.cpp')
-rw-r--r--clang/tools/CIndex/CXCursor.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/clang/tools/CIndex/CXCursor.cpp b/clang/tools/CIndex/CXCursor.cpp
index 8211cb00889..945e1ac3c7b 100644
--- a/clang/tools/CIndex/CXCursor.cpp
+++ b/clang/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;
OpenPOWER on IntegriCloud