[flang-commits] [flang] [llvm] [Flang][OpenMP][Sema] Adding parsing and semantic support for scan directive. (PR #102792)
Sergio Afonso via flang-commits
flang-commits at lists.llvm.org
Fri Sep 13 06:24:28 PDT 2024
================
@@ -751,7 +759,43 @@ void OmpStructureChecker::CheckDistLinear(
}
}
-void OmpStructureChecker::Leave(const parser::OpenMPLoopConstruct &) {
+void OmpStructureChecker::Leave(const parser::OpenMPLoopConstruct &x) {
+ const auto &beginLoopDir = std::get<parser::OmpBeginLoopDirective>(x.t);
----------------
skatrak wrote:
Nit: Brace initialization used on this part of the project.
```suggestion
const auto &beginLoopDir{std::get<parser::OmpBeginLoopDirective>(x.t)};
```
https://github.com/llvm/llvm-project/pull/102792
More information about the flang-commits
mailing list