diff options
author | Krzysztof Parzyszek <Krzysztof.Parzyszek@amd.com> | 2024-11-20 10:38:06 -0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-11-20 10:38:06 -0600 |
commit | fb4ecada815ceee37536a26b4ff5ce231226b23e (patch) | |
tree | f41379686701640dff907ba2cb027a4efeefe3bd /llvm/lib/Bitcode/Writer/BitcodeWriter.cpp | |
parent | 4b3b74dffa0aa76169cb67c3cb7ccf152c2c03aa (diff) | |
download | llvm-fb4ecada815ceee37536a26b4ff5ce231226b23e.zip llvm-fb4ecada815ceee37536a26b4ff5ce231226b23e.tar.gz llvm-fb4ecada815ceee37536a26b4ff5ce231226b23e.tar.bz2 |
[flang][OpenMP] Change clause modifier representation in parser (#116656)
The main issue to solve is that OpenMP modifiers can be specified in any
order, so the parser cannot expect any specific modifier at a given
position. To solve that, define modifier to be a union of all allowable
specific modifiers for a given clause.
Additionally, implement modifier descriptors: for each modifier the
corresponding descriptor contains a set of properties of the modifier
that allow a common set of semantic checks. Start with the syntactic
properties defined in the spec: Required, Unique, Exclusive, Ultimate,
and implement common checks to verify each of them.
OpenMP modifier overhaul: #2/3
Diffstat (limited to 'llvm/lib/Bitcode/Writer/BitcodeWriter.cpp')
0 files changed, 0 insertions, 0 deletions