llvm-project/flang/lib
PeixinQiao 3883e266f4 [flang][OpenMP] Add semantic check for target nesting
This patch implements the following check for TARGET construct:
```
OpenMP Version 5.0 Target construct restriction: If a target update,
target data, target enter data, or target exit data construct is
encountered during execution of a target region, the behavior is
unspecified.
```

Also add one test case for the check.

Reviewed By: kiranchandramohan, clementval

Differential Revision: https://reviews.llvm.org/D106165
2021-08-18 09:40:52 +08:00
..
Common [flang] Use the Flang cmake-functions to add targets. 2020-04-16 15:51:30 +01:00
Decimal [flang] runtime: For Fw.d formatting, don't oscillate forever 2021-08-04 12:19:23 -07:00
Evaluate [flang] Fix the extent calculation when upper bounds are less than lower bounds 2021-08-10 10:34:22 -07:00
Frontend [flang][nfc] Tweak the FrontendAction class 2021-08-17 07:36:44 +00:00
FrontendTool [flang][driver] Add support for Frontend Plugins 2021-08-12 11:42:16 +01:00
Lower [flang] Add clang-tidy check for braces around if 2021-06-16 09:13:53 +00:00
Optimizer [mlir] Set the namespace of the BuiltinDialect to 'builtin' 2021-07-28 21:00:10 +00:00
Parser [Flang] Fix error messages on Windows. 2021-08-12 18:35:54 +01:00
Semantics [flang][OpenMP] Add semantic check for target nesting 2021-08-18 09:40:52 +08:00
CMakeLists.txt [flang][driver] Delete `f18` (i.e. the old Flang driver) 2021-08-05 12:57:15 +00:00