================
@@ -4920,6 +4914,11 @@ bool Parser::ParseOpenMPVarList(OpenMPDirectiveKind
DKind,
ModifierFound = true;
} else {
StepFound = parseStepSize(*this, Data, Kind, Tok.getLocation());
+ if (!StepFound) {
----------------
AaronBallman wrote:
Good question! Because without this new code, the OpenMP 5.2 parsing behavior
is different from other OpenMP modes in a way that made about a hundred tests
need to be updated for an unhelpful "missing ')'" diagnostic difference.
https://github.com/llvm/llvm-project/pull/143423
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits