[clang] [OpenMP][NFC] Remove executable cases from declaration switch (PR #106438)
Mike Rice via cfe-commits
cfe-commits at lists.llvm.org
Wed Aug 28 12:04:21 PDT 2024
https://github.com/mikerice1969 created https://github.com/llvm/llvm-project/pull/106438
The executable directives are handled earlier.
>From 3a7f341c33c0f91f2ca6f31762e71fcae6f1a69d Mon Sep 17 00:00:00 2001
From: Mike Rice <michael.p.rice at intel.com>
Date: Wed, 28 Aug 2024 11:38:12 -0700
Subject: [PATCH] [OpenMP][NFC] Remove executable cases from declaration switch
The executable directives are handled earlier.
---
clang/lib/Parse/ParseOpenMP.cpp | 2 --
1 file changed, 2 deletions(-)
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