aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Basic/SourceManager.cpp
diff options
context:
space:
mode:
authorSergio Afonso <safonsof@amd.com>2024-09-16 15:02:11 +0100
committerGitHub <noreply@github.com>2024-09-16 15:02:11 +0100
commite0e93c3f76fb5ea388ff8dac7a56cffaa75931b5 (patch)
tree56aa0f32879ee0bfdb4cd6309a8c2ceb98103e25 /clang/lib/Basic/SourceManager.cpp
parentadb70045144ac2cab085a2a377b33388aed23114 (diff)
downloadllvm-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