projects
/
clang
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
83048f4
)
Fix "fallthrough annotation in unreachable code" warning.
author
Richard Smith
<richard-llvm@metafoo.co.uk>
Thu, 30 May 2019 23:21:13 +0000
(23:21 +0000)
committer
Richard Smith
<richard-llvm@metafoo.co.uk>
Thu, 30 May 2019 23:21:13 +0000
(23:21 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@362171
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Sema/SemaType.cpp
patch
|
blob
|
history
diff --git
a/lib/Sema/SemaType.cpp
b/lib/Sema/SemaType.cpp
index e0d43a780e7942d5eadb867aac250600b8f1796c..eac7c44c76ae446a26b7cdf81acd3a77ef2ac00b 100644
(file)
--- a/
lib/Sema/SemaType.cpp
+++ b/
lib/Sema/SemaType.cpp
@@
-6971,7
+6971,7
@@
static bool handleFunctionTypeAttr(TypeProcessingState &state, ParsedAttr &attr,
switch (Proto->getExceptionSpecType()) {
case EST_None:
llvm_unreachable("This doesn't have an exception spec!");
- LLVM_FALLTHROUGH;
+
case EST_DynamicNone:
case EST_BasicNoexcept:
case EST_NoexceptTrue: