aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Sema/SemaCodeComplete.cpp
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/lib/Sema/SemaCodeComplete.cpp
parent2da0cba5fb7321332903b90f5d9ace1cf024fa34 (diff)
downloadllvm-81978014c5764ee50a41752cd2740e4f80fbdf6e.zip
llvm-81978014c5764ee50a41752cd2740e4f80fbdf6e.tar.gz
llvm-81978014c5764ee50a41752cd2740e4f80fbdf6e.tar.bz2
CIndex: add support for static_assert
Differential Revision: http://reviews.llvm.org/D18080 llvm-svn: 272273
Diffstat (limited to 'clang/lib/Sema/SemaCodeComplete.cpp')
-rw-r--r--clang/lib/Sema/SemaCodeComplete.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/clang/lib/Sema/SemaCodeComplete.cpp b/clang/lib/Sema/SemaCodeComplete.cpp
index ef14660..2b226b8 100644
--- a/clang/lib/Sema/SemaCodeComplete.cpp
+++ b/clang/lib/Sema/SemaCodeComplete.cpp
@@ -3044,6 +3044,7 @@ CXCursorKind clang::getCursorKindForDecl(const Decl *D) {
case Decl::ClassTemplatePartialSpecialization:
return CXCursor_ClassTemplatePartialSpecialization;
case Decl::UsingDirective: return CXCursor_UsingDirective;
+ case Decl::StaticAssert: return CXCursor_StaticAssert;
case Decl::TranslationUnit: return CXCursor_TranslationUnit;
case Decl::Using: