[PATCH] D152034: [clang][NFC] refactors value type traits so we can have more than bools
Nick Desaulniers via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Mon Jun 5 12:58:53 PDT 2023
nickdesaulniers added inline comments.
================
Comment at: clang/lib/Sema/SemaExprCXX.cpp:5591-5594
+ default:
+ llvm_unreachable("reached the end of BuildTypeTrait because the type "
+ "trait's type is unaccounted for");
+ }
----------------
```
llvm-project/clang/lib/Sema/SemaExprCXX.cpp:5591:3: warning: default label in switch which covers all enumeration values [-Wcovered-switch-default]
default:
^
```
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D152034/new/
https://reviews.llvm.org/D152034
More information about the cfe-commits
mailing list