summaryrefslogtreecommitdiffstats
path: root/include/clang/Basic/OpenMPKinds.def
diff options
context:
space:
mode:
authorSamuel Antao <sfantao@us.ibm.com>2016-05-26 17:49:04 +0000
committerSamuel Antao <sfantao@us.ibm.com>2016-05-26 17:49:04 +0000
commitb3b107dc62444767fc37ae645264784ff58fd445 (patch)
tree3e6d504f00f964c71a1d2d80cbe930e15549376c /include/clang/Basic/OpenMPKinds.def
parent0a889a035d475d3566a1172099420f109d1a5b9a (diff)
[OpenMP] Parsing and sema support for the from clause
Summary: The patch contains the parsing and sema support for the `from` clause. Patch based on the original post by Kelvin Li. Reviewers: hfinkel, carlo.bertolli, kkwli0, arpith-jacob, ABataev Subscribers: caomhin, cfe-commits Differential Revision: http://reviews.llvm.org/D18488 git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@270882 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 c744bfe51a..cf91bc78c2 100644
--- a/include/clang/Basic/OpenMPKinds.def
+++ b/include/clang/Basic/OpenMPKinds.def
@@ -211,6 +211,7 @@ OPENMP_CLAUSE(hint, OMPHintClause)
OPENMP_CLAUSE(dist_schedule, OMPDistScheduleClause)
OPENMP_CLAUSE(defaultmap, OMPDefaultmapClause)
OPENMP_CLAUSE(to, OMPToClause)
+OPENMP_CLAUSE(from, OMPFromClause)
// Clauses allowed for OpenMP directive 'parallel'.
OPENMP_PARALLEL_CLAUSE(if)
@@ -452,6 +453,7 @@ OPENMP_TARGET_PARALLEL_FOR_CLAUSE(linear)
OPENMP_TARGET_UPDATE_CLAUSE(if)
OPENMP_TARGET_UPDATE_CLAUSE(device)
OPENMP_TARGET_UPDATE_CLAUSE(to)
+OPENMP_TARGET_UPDATE_CLAUSE(from)
// Clauses allowed for OpenMP directive 'teams'.
// TODO More clauses for 'teams' directive.