diff options
author | Tue Ly <lntue@google.com> | 2023-02-01 13:37:55 -0500 |
---|---|---|
committer | Tue Ly <lntue@google.com> | 2023-02-01 13:38:46 -0500 |
commit | 7c1a98854e5f20a9e29bda1e2d6d0c054ffb3135 (patch) | |
tree | f129322ec9390cd2e4140e6dba3c6d30b9a04696 /libc/utils | |
parent | 44003d719dd3e39df2ba122fc91865d8bff738c3 (diff) | |
download | llvm-7c1a98854e5f20a9e29bda1e2d6d0c054ffb3135.tar.gz |
[libc][Obvious] Add a default clause to RoundingModeUtils.h to suppress gcc
warning.
Diffstat (limited to 'libc/utils')
-rw-r--r-- | libc/utils/testutils/RoundingModeUtils.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libc/utils/testutils/RoundingModeUtils.cpp b/libc/utils/testutils/RoundingModeUtils.cpp index 1f071083489f..aff338097197 100644 --- 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(); } } |