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/include/clang-c/Index.h | |
| 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/include/clang-c/Index.h')
| -rw-r--r-- | clang/include/clang-c/Index.h | 6 |
1 files changed, 5 insertions, 1 deletions
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 */ |

