[flang-commits] [flang] [flang][OpenMP] Use 'present-modifier' instead of 'expectation' in 5.1 (PR #214083)
Krzysztof Parzyszek via flang-commits
flang-commits at lists.llvm.org
Wed Aug 5 05:51:21 PDT 2026
================
@@ -1694,34 +1706,46 @@ To make(const parser::OmpClause::To &inp,
semantics::SemanticsContext &semaCtx) {
// inp.v -> parser::OmpToClause
CLAUSET_ENUM_CONVERT( //
- convert, parser::OmpExpectation::Value, To::Expectation,
+ convertExp, parser::OmpExpectation::Value, To::Expectation,
+ // clang-format off
+ MS(Present, Present)
+ // clang-format on
+ );
+ CLAUSET_ENUM_CONVERT( //
+ convertPre, parser::OmpPresentModifier::Value, From::Expectation,
----------------
kparzysz wrote:
Done
https://github.com/llvm/llvm-project/pull/214083
More information about the flang-commits
mailing list