diff options
author | Krzysztof Parzyszek <Krzysztof.Parzyszek@amd.com> | 2024-03-26 13:54:26 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-03-26 13:54:26 -0500 |
commit | 148a55795de7ac465a8e494d5d382e100da643f6 (patch) | |
tree | f6279220445a3ec782140f646affa48a4841d7b5 /clang/lib/CodeGen/CodeGenModule.cpp | |
parent | 2fbc40d36dd8e21fab4cc6cb43984baaa39bcd59 (diff) | |
download | llvm-148a55795de7ac465a8e494d5d382e100da643f6.zip llvm-148a55795de7ac465a8e494d5d382e100da643f6.tar.gz llvm-148a55795de7ac465a8e494d5d382e100da643f6.tar.bz2 |
[flang][OpenMP] Make OpenMP clause representation language-agnostic (#86289)
The clause templates defined in ClauseT.h were originally based on
flang's parse tree nodes. Since those representations are going to be
reused for clang (together with the clause splitting code), it makes
sense to separate them from flang, and instead have them based on the
actual OpenMP spec (v5.2).
The member names in the templates follow the naming presented in the
spec, and the representation (e.g. members) is derived from the clause
definitions as described in the spec.
Since the representations of some clauses has changed (while preserving
the information), the current code using the clauses (especially the
code converting parser::OmpClause to omp::Clause) needs to be adjusted.
This patch does not make any functional changes.
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions