diff options
author | Samuel Antao <sfantao@us.ibm.com> | 2016-05-26 17:30:50 +0000 |
---|---|---|
committer | Samuel Antao <sfantao@us.ibm.com> | 2016-05-26 17:30:50 +0000 |
commit | d6865a1c9d6b889552ca717a35153e71d6e1d4f3 (patch) | |
tree | 20bbe2b94b8963edf271e51992d399289cf4ce5b /include/clang/Basic/StmtNodes.td | |
parent | 666dfeba374e6b79f68a5ae1007c92aea184a0f5 (diff) |
[OpenMP] Parsing and sema support for target update directive
Summary:
This patch is to add parsing and sema support for `target update` directive. Support for the `to` and `from` clauses will be added by a different patch. This patch also adds support for other clauses that are already implemented upstream and apply to `target update`, e.g. `device` and `if`.
This patch is 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/D15944
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@270878 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/clang/Basic/StmtNodes.td')
-rw-r--r-- | include/clang/Basic/StmtNodes.td | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/clang/Basic/StmtNodes.td b/include/clang/Basic/StmtNodes.td index 67fddbdffd..b4f3937d58 100644 --- a/include/clang/Basic/StmtNodes.td +++ b/include/clang/Basic/StmtNodes.td @@ -220,6 +220,7 @@ def OMPTargetEnterDataDirective : DStmt<OMPExecutableDirective>; def OMPTargetExitDataDirective : DStmt<OMPExecutableDirective>; def OMPTargetParallelDirective : DStmt<OMPExecutableDirective>; def OMPTargetParallelForDirective : DStmt<OMPExecutableDirective>; +def OMPTargetUpdateDirective : DStmt<OMPExecutableDirective>; def OMPTeamsDirective : DStmt<OMPExecutableDirective>; def OMPCancellationPointDirective : DStmt<OMPExecutableDirective>; def OMPCancelDirective : DStmt<OMPExecutableDirective>; |