summaryrefslogtreecommitdiffstats
path: root/include/clang/Basic/OpenMPKinds.def
diff options
context:
space:
mode:
authorPatrick Lyster <Patrick.lyster@ibm.com>2018-10-01 13:47:43 +0000
committerPatrick Lyster <Patrick.lyster@ibm.com>2018-10-01 13:47:43 +0000
commit0db38f413308fd9c83d285dbc65bae645b0c09ba (patch)
treec747e2494e81d4b2ff40786208a585107e79e499 /include/clang/Basic/OpenMPKinds.def
parenta0c469ac4d42afba6f5c5f285b9d8da26833761b (diff)
Add support for unified_shared_memory clause on requires directive
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@343472 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/clang/Basic/OpenMPKinds.def')
-rw-r--r--include/clang/Basic/OpenMPKinds.def2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/clang/Basic/OpenMPKinds.def b/include/clang/Basic/OpenMPKinds.def
index 8ad40d68a4..5f7c6efc1b 100644
--- a/include/clang/Basic/OpenMPKinds.def
+++ b/include/clang/Basic/OpenMPKinds.def
@@ -280,6 +280,7 @@ OPENMP_CLAUSE(is_device_ptr, OMPIsDevicePtrClause)
OPENMP_CLAUSE(task_reduction, OMPTaskReductionClause)
OPENMP_CLAUSE(in_reduction, OMPInReductionClause)
OPENMP_CLAUSE(unified_address, OMPUnifiedAddressClause)
+OPENMP_CLAUSE(unified_shared_memory, OMPUnifiedSharedMemoryClause)
// Clauses allowed for OpenMP directive 'parallel'.
OPENMP_PARALLEL_CLAUSE(if)
@@ -463,6 +464,7 @@ OPENMP_TARGET_CLAUSE(reduction)
// Clauses allowed for OpenMP directive 'requires'.
OPENMP_REQUIRES_CLAUSE(unified_address)
+OPENMP_REQUIRES_CLAUSE(unified_shared_memory)
// Clauses allowed for OpenMP directive 'target data'.
OPENMP_TARGET_DATA_CLAUSE(if)