From: Ted Kremenek Date: Sat, 16 Jan 2010 02:08:29 +0000 (+0000) Subject: Add mapping from ObjCPropertDecl to CXCursorKind. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=10fa3ccf087e167123fdb0a5e1313c7106c3c1fc;p=clang Add mapping from ObjCPropertDecl to CXCursorKind. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@93623 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/tools/CIndex/CXCursor.cpp b/tools/CIndex/CXCursor.cpp index e630445979..a8f3eb1d3d 100644 --- a/tools/CIndex/CXCursor.cpp +++ b/tools/CIndex/CXCursor.cpp @@ -49,6 +49,7 @@ static CXCursorKind GetCursorKind(Decl *D) { case Decl::ObjCMethod: return cast(D)->isInstanceMethod() ? CXCursor_ObjCInstanceMethodDecl : CXCursor_ObjCClassMethodDecl; + case Decl::ObjCProperty: return CXCursor_ObjCPropertyDecl; case Decl::ObjCProtocol: return CXCursor_ObjCProtocolDecl; case Decl::ParmVar: return CXCursor_ParmDecl; case Decl::Typedef: return CXCursor_TypedefDecl;