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 @@ -3514,7 +3514,7 @@ bool OmpStructureChecker::CheckReductionOperator(
3514
3514
if (const auto *definedOp{std::get_if<parser::DefinedOpName>(&dOpr.u )}) {
3515
3515
std::string mangled{MangleDefinedOperator (definedOp->v .symbol ->name ())};
3516
3516
const Scope &scope{definedOp->v .symbol ->owner ()};
3517
- if (const Symbol * symbol{scope.FindSymbol (mangled)}) {
3517
+ if (const Symbol *symbol{scope.FindSymbol (mangled)}) {
3518
3518
if (symbol->detailsIf <UserReductionDetails>()) {
3519
3519
return true ;
3520
3520
}
Original file line number Diff line number Diff line change @@ -1911,7 +1911,7 @@ void OmpVisitor::ProcessReductionSpecifier(
1911
1911
1912
1912
// Only process types we can find. There will be an error later on when
1913
1913
// a type isn't found.
1914
- if (const DeclTypeSpec * typeSpec{GetDeclTypeSpec ()}) {
1914
+ if (const DeclTypeSpec *typeSpec{GetDeclTypeSpec ()}) {
1915
1915
reductionDetails->AddType (*typeSpec);
1916
1916
1917
1917
for (auto &nm : ompVarNames) {
You can’t perform that action at this time.
0 commit comments