File tree Expand file tree Collapse file tree 3 files changed +6
-3
lines changed Expand file tree Collapse file tree 3 files changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -194,7 +194,8 @@ class Scope {
194194 const mapType &crayPointers () const { return crayPointers_; }
195195 void add_crayPointer (const SourceName &, Symbol &);
196196 Symbol &MakeCommonBlock (SourceName, SourceName location);
197- bool AddCommonBlockUse (const SourceName &name, Attrs attrs, Symbol& cbUltimate);
197+ bool AddCommonBlockUse (
198+ const SourceName &name, Attrs attrs, Symbol &cbUltimate);
198199
199200 // Find COMMON block that is declared in the current scope
200201 Symbol *FindCommonBlock (const SourceName &name) const {
Original file line number Diff line number Diff line change @@ -3631,7 +3631,8 @@ void ModuleVisitor::Post(const parser::UseStmt &x) {
36313631 // their USE association to the current scope's USE-associated COMMON blocks.
36323632 for (const auto &[name, symbol] : useModuleScope_->commonBlocks ()) {
36333633 if (!currScope ().FindCommonBlockInVisibleScopes (name)) {
3634- currScope ().AddCommonBlockUse (name, symbol->attrs (), symbol->GetUltimate ());
3634+ currScope ().AddCommonBlockUse (
3635+ name, symbol->attrs (), symbol->GetUltimate ());
36353636 }
36363637 }
36373638 // Go through the list of USE-associated COMMON block symbols in the module
Original file line number Diff line number Diff line change @@ -183,7 +183,8 @@ Scope *Scope::FindSubmodule(const SourceName &name) const {
183183 }
184184}
185185
186- bool Scope::AddCommonBlockUse (const SourceName &name, Attrs attrs, Symbol& cbUltimate) {
186+ bool Scope::AddCommonBlockUse (
187+ const SourceName &name, Attrs attrs, Symbol &cbUltimate) {
187188 CHECK (cbUltimate.has <CommonBlockDetails>());
188189 // Make a symbol, but don't add it to the Scope, since it needs to
189190 // be added to the USE-associated COMMON blocks
You can’t perform that action at this time.
0 commit comments