summaryrefslogtreecommitdiffstats
path: root/clang/include/clang-c
diff options
context:
space:
mode:
authorDouglas Gregor <dgregor@apple.com>2010-08-31 19:02:00 +0000
committerDouglas Gregor <dgregor@apple.com>2010-08-31 19:02:00 +0000
commit1fbaeb196b5ddeb9b2b19ae66a16c89ad93746c4 (patch)
tree6e14e7fe2c22b903049981b9a8c8b2fc4abbe06b /clang/include/clang-c
parentbda8065107080adaa310186bc222545aefb920cf (diff)
downloadbcm5719-llvm-1fbaeb196b5ddeb9b2b19ae66a16c89ad93746c4.tar.gz
bcm5719-llvm-1fbaeb196b5ddeb9b2b19ae66a16c89ad93746c4.zip
Add a libclang cursor kind, visitation support and USR support for C++
class templates. llvm-svn: 112627
Diffstat (limited to 'clang/include/clang-c')
-rw-r--r--clang/include/clang-c/Index.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/clang/include/clang-c/Index.h b/clang/include/clang-c/Index.h
index cc00f1835ba..7131853d524 100644
--- a/clang/include/clang-c/Index.h
+++ b/clang/include/clang-c/Index.h
@@ -990,8 +990,11 @@ enum CXCursorKind {
CXCursor_TemplateTemplateParameter = 29,
/** \brief A C++ function template. */
CXCursor_FunctionTemplate = 30,
+ /** \brief A C++ class template. */
+ CXCursor_ClassTemplate = 31,
+
CXCursor_FirstDecl = CXCursor_UnexposedDecl,
- CXCursor_LastDecl = CXCursor_FunctionTemplate,
+ CXCursor_LastDecl = CXCursor_ClassTemplate,
/* References */
CXCursor_FirstRef = 40, /* Decl references */
OpenPOWER on IntegriCloud