diff options
author | Bruno Ricci <riccibrun@gmail.com> | 2018-12-21 17:52:13 +0000 |
---|---|---|
committer | Bruno Ricci <riccibrun@gmail.com> | 2018-12-21 17:52:13 +0000 |
commit | e5bcf0beb19abfde0dbd173a4389d0f057aa27ee (patch) | |
tree | 63c70ce4ce6f011bbcb8d01c39f0a118924f1de1 /clang/lib/Sema/SemaCodeComplete.cpp | |
parent | 5517aa61723b54cfb1c8ece6c7b7436b8f3b435a (diff) | |
download | bcm5719-llvm-e5bcf0beb19abfde0dbd173a4389d0f057aa27ee.tar.gz bcm5719-llvm-e5bcf0beb19abfde0dbd173a4389d0f057aa27ee.zip |
[Sema][NFC] Fix Wimplicit-fallthrough warning in getCursorKindForDecl
All cases are covered so add an llvm_unreachable. NFC.
llvm-svn: 349933
Diffstat (limited to 'clang/lib/Sema/SemaCodeComplete.cpp')
-rw-r--r-- | clang/lib/Sema/SemaCodeComplete.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/clang/lib/Sema/SemaCodeComplete.cpp b/clang/lib/Sema/SemaCodeComplete.cpp index f8d4e4bb0e5..d9f007a46da 100644 --- a/clang/lib/Sema/SemaCodeComplete.cpp +++ b/clang/lib/Sema/SemaCodeComplete.cpp @@ -3447,6 +3447,7 @@ CXCursorKind clang::getCursorKindForDecl(const Decl *D) { case ObjCPropertyImplDecl::Synthesize: return CXCursor_ObjCSynthesizeDecl; } + llvm_unreachable("Unexpected Kind!"); case Decl::Import: return CXCursor_ModuleImportDecl; |