diff options
author | Alexey Bataev <a.bataev@hotmail.com> | 2017-12-13 17:31:39 +0000 |
---|---|---|
committer | Alexey Bataev <a.bataev@hotmail.com> | 2017-12-13 17:31:39 +0000 |
commit | 3d430af98cedf0182327d2384badadd3c858ea5a (patch) | |
tree | fb66396f4884f69add9990d62fbec391ed90ecd6 /include/clang/Basic/OpenMPKinds.def | |
parent | a60bd62877c09215fc2d6bb3b32da89fe0b1cd4e (diff) |
[OPENMP] Support `reduction` clause on target-based directives.
OpenMP 5.0 added support for `reduction` clause in target-based
directives. Patch adds this support to clang.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@320596 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/clang/Basic/OpenMPKinds.def')
-rw-r--r-- | include/clang/Basic/OpenMPKinds.def | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/clang/Basic/OpenMPKinds.def b/include/clang/Basic/OpenMPKinds.def index 806d0b7b44..6a0bed7ab1 100644 --- a/include/clang/Basic/OpenMPKinds.def +++ b/include/clang/Basic/OpenMPKinds.def @@ -454,6 +454,7 @@ OPENMP_TARGET_CLAUSE(depend) OPENMP_TARGET_CLAUSE(defaultmap) OPENMP_TARGET_CLAUSE(firstprivate) OPENMP_TARGET_CLAUSE(is_device_ptr) +OPENMP_TARGET_CLAUSE(reduction) // Clauses allowed for OpenMP directive 'target data'. OPENMP_TARGET_DATA_CLAUSE(if) |