[all-commits] [llvm/llvm-project] 525396: [flang][OpenMP] Add semantic check for device clau...

Shraiysh via All-commits all-commits at lists.llvm.org
Mon Nov 20 17:54:36 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 525396a3ae63a1b35695bd2c0c0a7ccef8271f3d
      https://github.com/llvm/llvm-project/commit/525396a3ae63a1b35695bd2c0c0a7ccef8271f3d
  Author: Shraiysh <Shraiysh.Vaishay at amd.com>
  Date:   2023-11-20 (Mon, 20 Nov 2023)

  Changed paths:
    M flang/lib/Semantics/check-omp-structure.cpp
    A flang/test/Semantics/OpenMP/device-clause01.f90

  Log Message:
  -----------
  [flang][OpenMP] Add semantic check for device clause (#72789)

This patch adds the following semantic check:

```
The ancestor device-modifier must not appear on the device clause on any
directive other than the target construct.
```




More information about the All-commits mailing list