[all-commits] [llvm/llvm-project] 81cdf9: [clang][OpenMP] Fix region nesting check for `scan...
Krzysztof Parzyszek via All-commits
all-commits at lists.llvm.org
Thu Jul 11 06:08:19 PDT 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 81cdf9472c347adeee91f39f661e06da77902c93
https://github.com/llvm/llvm-project/commit/81cdf9472c347adeee91f39f661e06da77902c93
Author: Krzysztof Parzyszek <Krzysztof.Parzyszek at amd.com>
Date: 2024-07-11 (Thu, 11 Jul 2024)
Changed paths:
M clang/lib/Sema/SemaOpenMP.cpp
M clang/test/OpenMP/Inputs/nesting_of_regions.cpp
Log Message:
-----------
[clang][OpenMP] Fix region nesting check for `scan` directive (#98386)
The previous check was inconsistent. For example, it would allow
```
#pragma omp target
#pragma omp parallel for
for (...) {
#pragma omp scan
}
```
but not
```
#pragma omp target parallel for
for (...) {
#pragma omp scan
}
```
Make the check conform to the wording on the specification.
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list