From 225b8e39f1bab24f8220694e622bb4859e7abd3a Mon Sep 17 00:00:00 2001 From: Ted Kremenek Date: Tue, 13 Apr 2010 23:39:06 +0000 Subject: Add cursor kind for C++ methods. llvm-svn: 101193 --- clang/tools/CIndex/CXCursor.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'clang/tools/CIndex/CXCursor.cpp') 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(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; -- cgit v1.2.3