llvm-project/flang/test
Nimish Mishra fe2d053c45 Added OpenMP 5.0 specification based semantic checks for CRITICAL construct name resolution
As reported in https://bugs.llvm.org/show_bug.cgi?id=48145, name resolution for omp critical construct was failing. This patch adds functionality to help that name resolution as well as implementation to catch name mismatches.

The following semantic restrictions are therefore handled here:

- If a name is specified on a critical directive, the same name must also be specified on the end critical directive

- If no name appears on the critical directive, no name can appear on the end critical directive

- If a name appears on either the start critical directive or the end critical directive

Reviewed By: kiranchandramohan

Differential Revision: https://reviews.llvm.org/D110502
2021-10-12 22:18:24 +05:30
..
Driver [flang][driver] Add actions that execute despite semantic errors 2021-10-11 11:52:05 +00:00
Evaluate [flang] Fold MAXLOC and MINLOC 2021-10-05 11:22:02 -07:00
Examples [Flang] Fix failing plugin tests 2021-09-29 09:27:11 +00:00
Fir [fir] Add fir.convert canonicalization patterns 2021-10-11 16:27:48 +02:00
Frontend [flang][nfc] Remove `flang-new-driver` from LIT 2021-08-13 08:17:40 +00:00
Lower [flang] Update the regression tests to use the new driver when enabled 2021-04-15 08:52:23 +00:00
NonGtestUnit [flang] Run non-gtest unit tests with lit. 2020-07-24 14:49:39 +01:00
Parser [flang] Catch mismatched parentheses in prescanner 2021-10-06 14:00:15 -07:00
Preprocessing [flang][nfc] Add a regression test for #50993 2021-08-02 18:21:23 +00:00
Runtime Reland "[flang] GET_COMMAND_ARGUMENT runtime implementation" 2021-09-28 12:34:07 +00:00
Semantics Added OpenMP 5.0 specification based semantic checks for CRITICAL construct name resolution 2021-10-12 22:18:24 +05:30
Unit [flang] unit test support for out-of-tree and in-tree using google tests framework 2020-06-15 22:09:56 +05:30
CMakeLists.txt [Flang] Fix failing plugin tests 2021-09-29 09:27:11 +00:00
lit.cfg.py [flang] Move runtime API headers to flang/include/flang/Runtime 2021-09-03 11:08:34 -07:00
lit.site.cfg.py.in [flang] Refine output file generation 2021-08-21 15:18:48 +00:00