[clang] 13fa78c - [OpenMP][NFC] Remove executable cases from declaration switch (#106438)
via cfe-commits
cfe-commits at lists.llvm.org
Wed Aug 28 15:46:56 PDT 2024
Author: Mike Rice
Date: 2024-08-28T15:46:53-07:00
New Revision: 13fa78c86d6b7ffcd9b7e21bbe9529f57efc3278
URL: https://github.com/llvm/llvm-project/commit/13fa78c86d6b7ffcd9b7e21bbe9529f57efc3278
DIFF: https://github.com/llvm/llvm-project/commit/13fa78c86d6b7ffcd9b7e21bbe9529f57efc3278.diff
LOG: [OpenMP][NFC] Remove executable cases from declaration switch (#106438)
The executable directives are handled earlier.
Added:
Modified:
clang/lib/Parse/ParseOpenMP.cpp
Removed:
################################################################################
diff --git a/clang/lib/Parse/ParseOpenMP.cpp b/clang/lib/Parse/ParseOpenMP.cpp
index 61aa72c30a4654..64dfcd47296998 100644
--- a/clang/lib/Parse/ParseOpenMP.cpp
+++ b/clang/lib/Parse/ParseOpenMP.cpp
@@ -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);
More information about the cfe-commits
mailing list