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/include/clang-c/Index.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'clang/include/clang-c/Index.h') diff --git a/clang/include/clang-c/Index.h b/clang/include/clang-c/Index.h index 0ea5f2cff5a..8cc538283e9 100644 --- a/clang/include/clang-c/Index.h +++ b/clang/include/clang-c/Index.h @@ -700,7 +700,11 @@ enum CXCursorKind { CXCursor_ObjCCategoryImplDecl = 19, /** \brief A typedef */ CXCursor_TypedefDecl = 20, - CXCursor_LastDecl = 20, + + /** \brief A C++ class method. */ + CXCursor_CXXMethod = 21, + + CXCursor_LastDecl = 21, /* References */ CXCursor_FirstRef = 40, /* Decl references */ -- cgit v1.2.3