aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Basic/OpenMPKinds.cpp
diff options
context:
space:
mode:
authorMichael Kruse <llvm-project@meinersbur.de>2024-10-09 14:56:43 +0200
committerGitHub <noreply@github.com>2024-10-09 14:56:43 +0200
commit5b03efb85d63d1f4033ed649a56a177dd4ed62b4 (patch)
tree555389e7fb7e44a03f7c435350750c7aace3a609 /clang/lib/Basic/OpenMPKinds.cpp
parent32db6fbdb9a8173813e67606b87555c31ea557bb (diff)
downloadllvm-5b03efb85d63d1f4033ed649a56a177dd4ed62b4.zip
llvm-5b03efb85d63d1f4033ed649a56a177dd4ed62b4.tar.gz
llvm-5b03efb85d63d1f4033ed649a56a177dd4ed62b4.tar.bz2
[Clang][OpenMP] Add permutation clause (#92030)
Add the permutation clause for the interchange directive which will be introduced in the upcoming OpenMP 6.0 specification. A preview has been published in [Technical Report12](https://www.openmp.org/wp-content/uploads/openmp-TR12.pdf).
Diffstat (limited to 'clang/lib/Basic/OpenMPKinds.cpp')
-rw-r--r--clang/lib/Basic/OpenMPKinds.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/clang/lib/Basic/OpenMPKinds.cpp b/clang/lib/Basic/OpenMPKinds.cpp
index 630a8898a..8d2460b 100644
--- a/clang/lib/Basic/OpenMPKinds.cpp
+++ b/clang/lib/Basic/OpenMPKinds.cpp
@@ -188,6 +188,7 @@ unsigned clang::getOpenMPSimpleClauseType(OpenMPClauseKind Kind, StringRef Str,
case OMPC_safelen:
case OMPC_simdlen:
case OMPC_sizes:
+ case OMPC_permutation:
case OMPC_allocator:
case OMPC_allocate:
case OMPC_collapse:
@@ -512,6 +513,7 @@ const char *clang::getOpenMPSimpleClauseTypeName(OpenMPClauseKind Kind,
case OMPC_safelen:
case OMPC_simdlen:
case OMPC_sizes:
+ case OMPC_permutation:
case OMPC_allocator:
case OMPC_allocate:
case OMPC_collapse: