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 ff637dd commit 9e19979Copy full SHA for 9e19979
flang/lib/Semantics/scope.cpp
@@ -158,7 +158,8 @@ Symbol *Scope::FindCommonBlock(const SourceName &name) const {
158
if (const auto it{commonBlocks_.find(name)}; it != commonBlocks_.end()) {
159
return &*it->second;
160
} else if (IsSubmodule()) {
161
- const Scope *parent{symbol_ ? symbol_->get<ModuleDetails>().parent() : nullptr};
+ const Scope *parent{
162
+ symbol_ ? symbol_->get<ModuleDetails>().parent() : nullptr};
163
return parent ? parent->FindCommonBlock(name) : nullptr;
164
} else if (!IsTopLevel()) {
165
return parent_ ? parent_->FindCommonBlock(name) : nullptr;
0 commit comments