]> granicus.if.org Git - clang/commitdiff
Add mapping from ObjCPropertDecl to CXCursorKind.
authorTed Kremenek <kremenek@apple.com>
Sat, 16 Jan 2010 02:08:29 +0000 (02:08 +0000)
committerTed Kremenek <kremenek@apple.com>
Sat, 16 Jan 2010 02:08:29 +0000 (02:08 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@93623 91177308-0d34-0410-b5e6-96231b3b80d8

tools/CIndex/CXCursor.cpp

index e63044597929abdca17146a43f5b1ffc170c701d..a8f3eb1d3db18968183ac356d388101926775342 100644 (file)
@@ -49,6 +49,7 @@ static CXCursorKind GetCursorKind(Decl *D) {
     case Decl::ObjCMethod:
       return cast<ObjCMethodDecl>(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;