diff options
author | Krzysztof Parzyszek <Krzysztof.Parzyszek@amd.com> | 2025-08-01 07:52:59 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-08-01 07:52:59 -0500 |
commit | 6533ad04edcbc02d012cdb181d8745ca0d2f2e75 (patch) | |
tree | 50c9870a04469d480650b7a3042ba23371b6d4d4 /llvm/docs/tutorial | |
parent | 1ee1bddd741982b01e2ac37f3778e5e80a11423d (diff) | |
download | llvm-6533ad04edcbc02d012cdb181d8745ca0d2f2e75.zip llvm-6533ad04edcbc02d012cdb181d8745ca0d2f2e75.tar.gz llvm-6533ad04edcbc02d012cdb181d8745ca0d2f2e75.tar.bz2 |
[flang][OpenMP] Make all block constructs share the same structure (#150956)
The structure is
- OmpBeginDirective (aka OmpDirectiveSpecification)
- Block
- optional<OmpEndDirective> (aka optional<OmpDirectiveSpecification>)
The OmpBeginDirective and OmpEndDirective are effectively different
names for OmpDirectiveSpecification. They exist to allow the semantic
analyses to distinguish between the beginning and the ending of a block
construct without maintaining additional context.
The actual changes are in the parser: parse-tree.h and openmp-parser.cpp
in particular. The rest is simply changing the way the directive/clause
information is accessed (typically for the simpler).
All standalone and block constructs now use OmpDirectiveSpecification to
store the directive/clause information.
Diffstat (limited to 'llvm/docs/tutorial')
0 files changed, 0 insertions, 0 deletions