We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4eaae62 commit 809cebeCopy full SHA for 809cebe
flang/lib/Semantics/check-cuda.cpp
@@ -529,8 +529,10 @@ static int DoConstructTightNesting(
529
const auto &loopControl = doConstruct->GetLoopControl();
530
if (loopControl) {
531
if (const auto *concurrentControl{
532
- std::get_if<parser::LoopControl::Concurrent>(&loopControl->u)}) { const auto &concurrentHeader =
533
- std::get<Fortran::parser::ConcurrentHeader>(concurrentControl->t); const auto &controls =
+ std::get_if<parser::LoopControl::Concurrent>(&loopControl->u)}) {
+ const auto &concurrentHeader =
534
+ std::get<Fortran::parser::ConcurrentHeader>(concurrentControl->t);
535
+ const auto &controls =
536
std::get<std::list<Fortran::parser::ConcurrentControl>>(
537
concurrentHeader.t);
538
return controls.size();
0 commit comments