SuccessChanges

Summary

  1. [OPENMP50]Add restrictions for memory order clauses in atomic directive. (details)
Commit 9a3740c33919287fd9aa4e0c6f761619e84c62a7 by a.bataev
[OPENMP50]Add restrictions for memory order clauses in atomic directive.

Added restrictions for atomic directive.
1. If atomic-clause is read then memory-order-clause must not be acq_rel or release.
2. If atomic-clause is write then memory-order-clause must not be
   acq_rel or acquire.
3. If atomic-clause is update or not present then memory-order-clause
   must not be acq_rel or acquire.
The file was modifiedclang/lib/Sema/SemaOpenMP.cpp (diff)
The file was modifiedclang/include/clang/Basic/DiagnosticSemaKinds.td (diff)
The file was modifiedclang/test/OpenMP/atomic_messages.cpp (diff)
The file was modifiedclang/test/OpenMP/atomic_read_codegen.c (diff)
The file was modifiedclang/test/OpenMP/atomic_update_codegen.cpp (diff)
The file was modifiedclang/test/OpenMP/atomic_ast_print.cpp (diff)
The file was modifiedclang/test/OpenMP/atomic_write_codegen.c (diff)