Changes

Changes from Git (git https://github.com/llvm/llvm-project.git)

Summary

  1. [flang][OpenMP] Enhance parser support for atomic construct to OpenMP 5.0 (details)
Commit 4536c6acb3809eaadc836f24f091db1b50b82af9 by kirankumar.tp
[flang][OpenMP] Enhance parser support for atomic construct to OpenMP 5.0

Summary:
This patch enhances parser support for atomic construct to OpenMP 5.0.
2.17.7 atomic -> ATOMIC [clause [,]] atomic-clause [[,] clause] |
                 ATOMIC [clause]
       clause -> memory-order-clause | HINT(hint-expression)
       memory-order-clause -> SEQ_CST | ACQ_REL | RELEASE | ACQUIRE | RELAXED
       atomic-clause -> READ | WRITE | UPDATE | CAPTURE

The patch includes code changes and testcase modifications.

Reviewed By: DavidTruby, kiranchandramohan, sameeranjoshi

Differential Revision: https://reviews.llvm.org/D82931
The file was modifiedflang/lib/Parser/unparse.cpp
The file was modifiedflang/include/flang/Parser/parse-tree.h
The file was modifiedflang/docs/OpenMP-4.5-grammar.txt
The file was modifiedflang/include/flang/Parser/dump-parse-tree.h
The file was modifiedflang/lib/Parser/openmp-parsers.cpp
The file was modifiedflang/test/Semantics/omp-atomic.f90