Skip to content

Commit 3307ec1

Browse files
committed
Merge branch 'users/kevinsala/omp-dyn-groupprivate-pr' into users/kevinsala/omp-dyn-groupprivate-codegen-pr
2 parents 3a2fe70 + 64e7abc commit 3307ec1

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

clang/lib/Parse/ParseOpenMP.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4020,7 +4020,8 @@ OMPClause *Parser::ParseOpenMPSingleExprWithArgClause(OpenMPDirectiveKind DKind,
40204020
unsigned Type = NumberOfModifiers;
40214021
unsigned Modifier;
40224022
SourceLocation Loc;
4023-
if (PP.getSpelling(Tok) == "fallback" && NextToken().is(tok::l_paren)) {
4023+
if (!Tok.isAnnotation() && PP.getSpelling(Tok) == "fallback" &&
4024+
NextToken().is(tok::l_paren)) {
40244025
ConsumeToken();
40254026
BalancedDelimiterTracker ParenT(*this, tok::l_paren, tok::r_paren);
40264027
ParenT.consumeOpen();

0 commit comments

Comments
 (0)