Skip to content

Commit 336c138

Browse files
clang-format
1 parent f7cc4e8 commit 336c138

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

flang/lib/Semantics/resolve-labels.cpp

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -491,9 +491,9 @@ class ParseTreeAnalyzer {
491491
void Post(const parser::MainProgram &mainProgram) {
492492
// Uppercase the name of the main program, so that its symbol name
493493
// would be unique from similarly named non-main-program symbols.
494-
auto upperCaseCharBlock = [](const parser::CharBlock& cb) {
495-
char* ch = const_cast<char*>(cb.begin());
496-
char* endCh = ch + cb.size();
494+
auto upperCaseCharBlock = [](const parser::CharBlock &cb) {
495+
char *ch = const_cast<char *>(cb.begin());
496+
char *endCh = ch + cb.size();
497497
while (ch != endCh) {
498498
*ch++ = parser::ToUpperCaseLetter(*ch);
499499
}
@@ -507,9 +507,8 @@ class ParseTreeAnalyzer {
507507
if (progName) {
508508
upperCaseCharBlock(*progName);
509509
}
510-
const parser::CharBlock *
511-
endName{GetStmtName(std::get<parser::Statement<parser::EndProgramStmt>>(
512-
mainProgram.t))};
510+
const parser::CharBlock *endName{GetStmtName(
511+
std::get<parser::Statement<parser::EndProgramStmt>>(mainProgram.t))};
513512
if (endName) {
514513
upperCaseCharBlock(*endName);
515514
if (progName) {

0 commit comments

Comments
 (0)