[PATCH] D123235: [OpenMP] atomic compare fail : Parser & AST support
Sunil K via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Wed Nov 8 07:57:57 PST 2023
koops added a comment.
In clang/lib/AST/OpenMPClause.cpp,
OMPClauseWithPreInit::get(const OMPClause *C) {
switch(C->getClauseKind()) {
case OMPC_schedule:
....
default:
break;
}
It is not possible to list down all possible ``OpenMPClauseKind``` types in the switch. Hence they have used a default even in other methods.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D123235/new/
https://reviews.llvm.org/D123235
More information about the cfe-commits
mailing list