[flang-commits] [flang] [Flang][OpenMP] Add Semantics support for Nested OpenMPLoopConstructs (PR #145917)
Krzysztof Parzyszek via flang-commits
flang-commits at lists.llvm.org
Mon Jun 30 06:35:55 PDT 2025
================
@@ -125,6 +126,16 @@ class CanonicalizationOfOmp {
parser::Block::iterator nextIt;
auto &beginDir{std::get<parser::OmpBeginLoopDirective>(x.t)};
auto &dir{std::get<parser::OmpLoopDirective>(beginDir.t)};
+ auto missingDoConstruct = [](auto &dir, auto &messages_) {
+ messages_.Say(dir.source,
+ "A DO loop must follow the %s directive"_err_en_US,
+ parser::ToUpperCaseLetters(dir.source.ToString()));
+ };
+ auto tileUnrollError = [](auto &dir, auto &messages_) {
----------------
kparzysz wrote:
Same here.
https://github.com/llvm/llvm-project/pull/145917
More information about the flang-commits
mailing list