diff options
author | Alexey Bataev <a.bataev@hotmail.com> | 2020-02-11 11:10:43 -0500 |
---|---|---|
committer | Alexey Bataev <a.bataev@hotmail.com> | 2020-02-11 11:54:46 -0500 |
commit | 9a8defcc34853e2cdc7d97f12df98c95930556ad (patch) | |
tree | b515ef912601ee5eecb916839b18b11683e0c9c9 /clang/lib/Parse/ParseOpenMP.cpp | |
parent | 571b54cc38d997ea00a5d6f8e9514c64be257c49 (diff) | |
download | llvm-9a8defcc34853e2cdc7d97f12df98c95930556ad.zip llvm-9a8defcc34853e2cdc7d97f12df98c95930556ad.tar.gz llvm-9a8defcc34853e2cdc7d97f12df98c95930556ad.tar.bz2 |
[OPENMP50]Add support for relaxed clause in atomic directive.
Added full support for relaxed clause.
Diffstat (limited to 'clang/lib/Parse/ParseOpenMP.cpp')
-rw-r--r-- | clang/lib/Parse/ParseOpenMP.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/clang/lib/Parse/ParseOpenMP.cpp b/clang/lib/Parse/ParseOpenMP.cpp index 1a7916e..c893ffc 100644 --- a/clang/lib/Parse/ParseOpenMP.cpp +++ b/clang/lib/Parse/ParseOpenMP.cpp @@ -2090,7 +2090,7 @@ bool Parser::ParseOpenMPSimpleVarList( /// nogroup-clause | num_tasks-clause | hint-clause | to-clause | /// from-clause | is_device_ptr-clause | task_reduction-clause | /// in_reduction-clause | allocator-clause | allocate-clause | -/// acq_rel-clause | acquire-clause | release-clause +/// acq_rel-clause | acquire-clause | release-clause | relaxed-clause /// OMPClause *Parser::ParseOpenMPClause(OpenMPDirectiveKind DKind, OpenMPClauseKind CKind, bool FirstClause) { @@ -2202,6 +2202,7 @@ OMPClause *Parser::ParseOpenMPClause(OpenMPDirectiveKind DKind, case OMPC_acq_rel: case OMPC_acquire: case OMPC_release: + case OMPC_relaxed: case OMPC_threads: case OMPC_simd: case OMPC_nogroup: |