diff options
author | Ted Kremenek <kremenek@apple.com> | 2010-01-16 02:08:29 +0000 |
---|---|---|
committer | Ted Kremenek <kremenek@apple.com> | 2010-01-16 02:08:29 +0000 |
commit | 10fa3ccf087e167123fdb0a5e1313c7106c3c1fc (patch) | |
tree | e762b32e90a6a48802e4cc8a2d62098d2e7c765e /tools/CIndex/CXCursor.cpp | |
parent | deb06bd3566e18f677e76bc435d478b033fe328b (diff) |
Add mapping from ObjCPropertDecl to CXCursorKind.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@93623 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools/CIndex/CXCursor.cpp')
-rw-r--r-- | tools/CIndex/CXCursor.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
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<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; |