File tree Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -843,8 +843,7 @@ Parser::OpenACCClauseParseResult Parser::ParseOpenACCClauseParams(
843
843
}
844
844
case OpenACCClauseKind::If: {
845
845
ExprResult CondExpr = ParseOpenACCConditionalExpr (*this );
846
- // An invalid expression can be just about anything, so just give up on
847
- // this clause list.
846
+
848
847
if (CondExpr.isInvalid ()) {
849
848
Parens.skipToEnd ();
850
849
return OpenACCCanContinue ();
@@ -966,8 +965,7 @@ Parser::OpenACCClauseParseResult Parser::ParseOpenACCClauseParams(
966
965
case OpenACCClauseKind::Self: {
967
966
assert (DirKind != OpenACCDirectiveKind::Update);
968
967
ExprResult CondExpr = ParseOpenACCConditionalExpr (*this );
969
- // An invalid expression can be just about anything, so just give up on
970
- // this clause list.
968
+
971
969
if (CondExpr.isInvalid ()) {
972
970
Parens.skipToEnd ();
973
971
return OpenACCCanContinue ();
You can’t perform that action at this time.
0 commit comments