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 | 13751dc5719f7483807f5115c8b7fd1d58d438ea (patch) | |
tree | bc032ebd6f1272e767307ad9a4bf43e077c92723 /clang/tools/CIndex/CXCursor.cpp | |
parent | 4ba5263441bef4e03e464cc4779ca90bc151fe41 (diff) | |
download | bcm5719-llvm-13751dc5719f7483807f5115c8b7fd1d58d438ea.tar.gz bcm5719-llvm-13751dc5719f7483807f5115c8b7fd1d58d438ea.zip |
Add mapping from ObjCPropertDecl to CXCursorKind.
llvm-svn: 93623
Diffstat (limited to 'clang/tools/CIndex/CXCursor.cpp')
-rw-r--r-- | clang/tools/CIndex/CXCursor.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/clang/tools/CIndex/CXCursor.cpp b/clang/tools/CIndex/CXCursor.cpp index e6304459792..a8f3eb1d3db 100644 --- a/clang/tools/CIndex/CXCursor.cpp +++ b/clang/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; |