summaryrefslogtreecommitdiff
path: root/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
commit4aeabe6f4bd99399e0f65efa918a5039f660ab93 (patch)
treebde9d34a1cb7ffd4c2e1a38799d68e31019b703e /lib/Sema/SemaCodeComplete.cpp
parent023670a733e355c2805b852d86a4462a46aab44a (diff)
downloadclang-4aeabe6f4bd99399e0f65efa918a5039f660ab93.tar.gz
CIndex: add support for static_assert
Differential Revision: http://reviews.llvm.org/D18080 git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@272273 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Sema/SemaCodeComplete.cpp')
-rw-r--r--lib/Sema/SemaCodeComplete.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/Sema/SemaCodeComplete.cpp b/lib/Sema/SemaCodeComplete.cpp
index ef14660135..2b226b8e75 100644
--- a/lib/Sema/SemaCodeComplete.cpp
+++ b/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: