diff options
author | Sergio Afonso <safonsof@amd.com> | 2024-09-16 15:02:11 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-09-16 15:02:11 +0100 |
commit | e0e93c3f76fb5ea388ff8dac7a56cffaa75931b5 (patch) | |
tree | 56aa0f32879ee0bfdb4cd6309a8c2ceb98103e25 /clang/lib/Basic/SourceManager.cpp | |
parent | adb70045144ac2cab085a2a377b33388aed23114 (diff) | |
download | llvm-e0e93c3f76fb5ea388ff8dac7a56cffaa75931b5.zip llvm-e0e93c3f76fb5ea388ff8dac7a56cffaa75931b5.tar.gz llvm-e0e93c3f76fb5ea388ff8dac7a56cffaa75931b5.tar.bz2 |
[Frontend][OpenMP] Follow compound construct clause restrictions (#107853)
This patch removes from the list of allowed clauses for a handful of
compound constructs those that are specifically disallowed by the OpenMP
spec. In particular, the following restrictions are followed:
- (regarding combined constructs) If _directive-name-A_ is `target`, the
`copyin` clause must not be specified.
- (regarding composite constructs) If _directive-name-A_ is
`distribute`, the `ordered` clause must not be specified.
These restrictions are listed in the OpenMP Specification version 5.2,
sections 17.4 and 17.5. Since it's a similar case as PR #90754, I'm
adding people involved in that decision as reviewers here.
Diffstat (limited to 'clang/lib/Basic/SourceManager.cpp')
0 files changed, 0 insertions, 0 deletions