Skip to content

Commit

Permalink
[OpenMP][NFC] Remove executable cases from declaration switch (llvm#1…
Browse files Browse the repository at this point in the history
…06438)

The executable directives are handled earlier.
  • Loading branch information
mikerice1969 authored Aug 28, 2024
1 parent ee0d706 commit 13fa78c
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions clang/lib/Parse/ParseOpenMP.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2954,8 +2954,6 @@ StmtResult Parser::ParseOpenMPDeclarativeOrExecutableDirective(
}
break;
}
case OMPD_reverse:
case OMPD_interchange:
case OMPD_declare_target: {
SourceLocation DTLoc = ConsumeAnyToken();
bool HasClauses = Tok.isNot(tok::annot_pragma_openmp_end);
Expand Down

0 comments on commit 13fa78c

Please sign in to comment.