[cfe-commits] r93623 - /cfe/trunk/tools/CIndex/CXCursor.cpp

Ted Kremenek kremenek at apple.com
Fri Jan 15 18:08:29 PST 2010


Author: kremenek
Date: Fri Jan 15 20:08:29 2010
New Revision: 93623

URL: http://llvm.org/viewvc/llvm-project?rev=93623&view=rev
Log:
Add mapping from ObjCPropertDecl to CXCursorKind.

Modified:
    cfe/trunk/tools/CIndex/CXCursor.cpp

Modified: cfe/trunk/tools/CIndex/CXCursor.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/tools/CIndex/CXCursor.cpp?rev=93623&r1=93622&r2=93623&view=diff

==============================================================================
--- cfe/trunk/tools/CIndex/CXCursor.cpp (original)
+++ cfe/trunk/tools/CIndex/CXCursor.cpp Fri Jan 15 20:08:29 2010
@@ -49,6 +49,7 @@
     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;





More information about the cfe-commits mailing list