summaryrefslogtreecommitdiffstats
path: root/clang/include/clang-c
diff options
context:
space:
mode:
authorOlivier Goffart <ogoffart@woboq.com>2016-06-09 16:15:55 +0000
committerOlivier Goffart <ogoffart@woboq.com>2016-06-09 16:15:55 +0000
commit81978014c5764ee50a41752cd2740e4f80fbdf6e (patch)
treec5c9c971c7609019d66cff6c81de41c90c16781c /clang/include/clang-c
parent2da0cba5fb7321332903b90f5d9ace1cf024fa34 (diff)
downloadbcm5719-llvm-81978014c5764ee50a41752cd2740e4f80fbdf6e.tar.gz
bcm5719-llvm-81978014c5764ee50a41752cd2740e4f80fbdf6e.zip
CIndex: add support for static_assert
Differential Revision: http://reviews.llvm.org/D18080 llvm-svn: 272273
Diffstat (limited to 'clang/include/clang-c')
-rw-r--r--clang/include/clang-c/Index.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/clang/include/clang-c/Index.h b/clang/include/clang-c/Index.h
index 4691af76b76..1762148dbc5 100644
--- a/clang/include/clang-c/Index.h
+++ b/clang/include/clang-c/Index.h
@@ -2359,8 +2359,12 @@ enum CXCursorKind {
*/
CXCursor_ModuleImportDecl = 600,
CXCursor_TypeAliasTemplateDecl = 601,
+ /**
+ * \brief A static_assert or _Static_assert node
+ */
+ CXCursor_StaticAssert = 602,
CXCursor_FirstExtraDecl = CXCursor_ModuleImportDecl,
- CXCursor_LastExtraDecl = CXCursor_TypeAliasTemplateDecl,
+ CXCursor_LastExtraDecl = CXCursor_StaticAssert,
/**
* \brief A code completion overload candidate.
OpenPOWER on IntegriCloud