projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
df417c3
)
Fix warning on unhandled enumeration value
author
Serge Pavlov
<sepavloff@gmail.com>
Fri, 1 Jul 2022 08:17:04 +0000
(15:17 +0700)
committer
Serge Pavlov
<sepavloff@gmail.com>
Fri, 1 Jul 2022 08:17:29 +0000
(15:17 +0700)
clang/lib/AST/StmtPrinter.cpp
patch
|
blob
|
history
diff --git
a/clang/lib/AST/StmtPrinter.cpp
b/clang/lib/AST/StmtPrinter.cpp
index
f2aa8fb
..
983fd39
100644
(file)
--- a/
clang/lib/AST/StmtPrinter.cpp
+++ b/
clang/lib/AST/StmtPrinter.cpp
@@
-198,6
+198,8
@@
void StmtPrinter::PrintFPPragmas(CompoundStmt *S) {
if (!FEnvAccess || EM != LangOptions::FPE_Strict) {
Indent() << "#pragma clang fp exceptions(";
switch (FPO.getSpecifiedExceptionModeOverride()) {
+ default:
+ break;
case LangOptions::FPE_Ignore:
OS << "ignore";
break;