We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ab69f1e commit c5160c0Copy full SHA for c5160c0
clang/lib/Parse/ParseOpenMP.cpp
@@ -2886,7 +2886,8 @@ StmtResult Parser::ParseOpenMPDeclarativeOrExecutableDirective(
2886
// OMP5.2 Chapter 7.4: If no otherwise clause is specified the effect is as
2887
// if one was specified without an associated directive variant.
2888
if (BestIdx == -1 && Idx == 1) {
2889
- SkipUntil(tok::annot_pragma_openmp_end,tok::identifier);
+ ConsumeAnnotationToken();
2890
+ return StmtEmpty();
2891
}
2892
break;
2893
0 commit comments