llvm-project/flang/test/Parser
sameeran joshi d95d3d2a42 [Flang][OpenMP] Rework parser changes for OpenMP atomic construct.
`OmpStructureChecker` is supposed to work only with `parser::OmpClause`
after tablegen changes for OpenMP and OpenACC were introduced.
Hence `OmpMemoryOrderClause`, `OmpAtomicMemoryOrderClause` and similar ones were failing
to catch semantic errors, inspite of having code for semantic checks.
This patch tries to change parser for `OmpMemoryOrderClause` and similar dependent ones
and use `OmpClauseList` which resides/comes from common tablegen for OpenMP/OpenACC eventually using `parser::OmpClause`.

This patch also tries to :
1. Change `OmpCriticalDirective` in `openmp-parsers.cpp` to support `OmpClauseList`.
2. Check-flang regresses when changes were introduced due to missing semantic checks in OmpCritical, patch implements them at the minimal level to pass the regression.
3. Change tablegen to support Hint clause.
4. Adds missing source locations `CharBlock Source` in each atomic construct.
5. Remove dead code realted to `memory-order-clauses` after moving to `OmpClauseList`.

Reviewed By: kiranchandramohan

Differential Revision: https://reviews.llvm.org/D88965
2020-10-14 14:19:49 +05:30
..
acc-unparse.f90 [flang][openacc] Fix unparsing of combined construct (bug 47659) 2020-10-01 10:35:06 -04:00
badlabel.f
compiler-directives.f90 [flang] Allow "name: value" in compiler directives 2020-10-08 10:01:37 -07:00
continuation-in-if.f [flang] Fix source line continuation in potential macro calls (bugzilla 46768) 2020-07-21 18:21:35 -07:00
omp-atomic-unparse.f90 [Flang][OpenMP] Rework parser changes for OpenMP atomic construct. 2020-10-14 14:19:49 +05:30
pp-dir-comments.f90