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:
44003d7
)
[libc][Obvious] Add a default clause to RoundingModeUtils.h to suppress gcc
author
Tue Ly
<lntue@google.com>
Wed, 1 Feb 2023 18:37:55 +0000
(13:37 -0500)
committer
Tue Ly
<lntue@google.com>
Wed, 1 Feb 2023 18:38:46 +0000
(13:38 -0500)
warning.
libc/utils/testutils/RoundingModeUtils.cpp
patch
|
blob
|
history
diff --git
a/libc/utils/testutils/RoundingModeUtils.cpp
b/libc/utils/testutils/RoundingModeUtils.cpp
index
1f07108
..
aff3380
100644
(file)
--- a/
libc/utils/testutils/RoundingModeUtils.cpp
+++ b/
libc/utils/testutils/RoundingModeUtils.cpp
@@
-27,6
+27,8
@@
int get_fe_rounding(RoundingMode mode) {
case RoundingMode::Nearest:
return FE_TONEAREST;
break;
+ default:
+ __builtin_unreachable();
}
}