Skip to content

Commit 19c1534

Browse files
clang-format
1 parent fc6beb7 commit 19c1534

File tree

3 files changed

+6
-3
lines changed

3 files changed

+6
-3
lines changed

flang/include/flang/Semantics/scope.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff 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 {

flang/lib/Semantics/resolve-names.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff 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

flang/lib/Semantics/scope.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)