File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -3526,7 +3526,7 @@ bool OmpStructureChecker::CheckReductionOperator(
3526
3526
if (const auto *definedOp{std::get_if<parser::DefinedOpName>(&dOpr.u )}) {
3527
3527
std::string mangled{MangleDefinedOperator (definedOp->v .symbol ->name ())};
3528
3528
const Scope &scope{definedOp->v .symbol ->owner ()};
3529
- if (const Symbol * symbol{scope.FindSymbol (mangled)}) {
3529
+ if (const Symbol *symbol{scope.FindSymbol (mangled)}) {
3530
3530
if (symbol->detailsIf <UserReductionDetails>()) {
3531
3531
return true ;
3532
3532
}
Original file line number Diff line number Diff line change @@ -1927,7 +1927,7 @@ void OmpVisitor::ProcessReductionSpecifier(
1927
1927
1928
1928
// Only process types we can find. There will be an error later on when
1929
1929
// a type isn't found.
1930
- if (const DeclTypeSpec * typeSpec{GetDeclTypeSpec ()}) {
1930
+ if (const DeclTypeSpec *typeSpec{GetDeclTypeSpec ()}) {
1931
1931
reductionDetails->AddType (*typeSpec);
1932
1932
1933
1933
for (auto &nm : ompVarNames) {
You can’t perform that action at this time.
0 commit comments