aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/CodeGen/CodeGenModule.cpp
diff options
context:
space:
mode:
authorKrzysztof Parzyszek <Krzysztof.Parzyszek@amd.com>2024-11-25 07:38:12 -0600
committerGitHub <noreply@github.com>2024-11-25 07:38:12 -0600
commit52755ac2531529369f1f29b9d0b29645f304f389 (patch)
tree7dcff480750270e3136c3dd6c36ea296e4e47bb0 /clang/lib/CodeGen/CodeGenModule.cpp
parent0ccc3895126aaa94ae3fe890fcca0ad69658bbab (diff)
downloadllvm-52755ac2531529369f1f29b9d0b29645f304f389.zip
llvm-52755ac2531529369f1f29b9d0b29645f304f389.tar.gz
llvm-52755ac2531529369f1f29b9d0b29645f304f389.tar.bz2
[flang][OpenMP] Use new modifier infrastructure for MAP/FROM/TO clauses (#117447)
This removes the specialized parsers and helper classes for these clauses, namely ConcatSeparated, MapModifiers, and MotionModifiers. Map and the motion clauses are now handled in the same way as all other clauses with modifiers, with one exception: the commas separating their modifiers are optional. This syntax is deprecated in OpenMP 5.2. Implement version checks for modifiers: for a given modifier on a given clause, check if that modifier is allowed on this clause in the specified OpenMP version. This replaced several individual checks. Add a testcase for handling map modifiers in a different order, and for diagnosing an ultimate modifier out of position.
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions