[PATCH] D123235: [OpenMP] atomic compare fail : Parser & AST support
Mikael Holmén via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Nov 7 23:59:14 PST 2023
uabelho added inline comments.
================
Comment at: clang/lib/Basic/OpenMPKinds.cpp:444
+ OpenMPClauseKind CK = static_cast<OpenMPClauseKind>(Type);
+ switch (CK) {
+ case OMPC_unknown:
----------------
Hi @koops ,
clang complains on this patch with
```
../../clang/lib/Basic/OpenMPKinds.cpp:444:13: error: 97 enumeration values not handled in switch: 'OMPC_adjust_args', 'OMPC_affinity', 'OMPC_align'... [-Werror,-Wswitch]
switch (CK) {
^~
1 error generated.
```
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D123235/new/
https://reviews.llvm.org/D123235
More information about the llvm-commits
mailing list