[flang-commits] [flang] [flang][OpenMP] Lowering for CANCEL and CANCELLATIONPOINT (PR #134248)
via flang-commits
flang-commits at lists.llvm.org
Mon Apr 7 05:35:40 PDT 2025
================
@@ -524,7 +523,23 @@ Bind make(const parser::OmpClause::Bind &inp,
return Bind{/*Binding=*/convert(inp.v.v)};
}
-// CancellationConstructType: empty
+CancellationConstructType
+make(const parser::OmpClause::CancellationConstructType &inp,
+ semantics::SemanticsContext &semaCtx) {
+ auto name = std::get<parser::OmpDirectiveName>(inp.v.t);
+ CLAUSET_ENUM_CONVERT( //
----------------
NimishMishra wrote:
Stray `//` here? Also the `clang-format off` and `clang-format on` comments are intentional?
https://github.com/llvm/llvm-project/pull/134248
More information about the flang-commits
mailing list