diff options
author | Ted Kremenek <kremenek@apple.com> | 2010-04-13 23:39:06 +0000 |
---|---|---|
committer | Ted Kremenek <kremenek@apple.com> | 2010-04-13 23:39:06 +0000 |
commit | 225b8e39f1bab24f8220694e622bb4859e7abd3a (patch) | |
tree | a305929a09e91be87f9cd383949114aca2a68989 /clang/tools/CIndex/CXCursor.cpp | |
parent | 3447a02d5f37ff007cec790f80a259a8c4904621 (diff) | |
download | bcm5719-llvm-225b8e39f1bab24f8220694e622bb4859e7abd3a.tar.gz bcm5719-llvm-225b8e39f1bab24f8220694e622bb4859e7abd3a.zip |
Add cursor kind for C++ methods.
llvm-svn: 101193
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 cbf9d7e6f91..036214e75f4 100644 --- a/clang/tools/CIndex/CXCursor.cpp +++ b/clang/tools/CIndex/CXCursor.cpp @@ -50,6 +50,7 @@ static CXCursorKind GetCursorKind(Decl *D) { case Decl::ObjCMethod: return cast<ObjCMethodDecl>(D)->isInstanceMethod() ? CXCursor_ObjCInstanceMethodDecl : CXCursor_ObjCClassMethodDecl; + case Decl::CXXMethod: return CXCursor_CXXMethod; case Decl::ObjCProperty: return CXCursor_ObjCPropertyDecl; case Decl::ObjCProtocol: return CXCursor_ObjCProtocolDecl; case Decl::ParmVar: return CXCursor_ParmDecl; |