Skip to content

Commit a5cddc9

Browse files
Address Review
1 parent 25469d9 commit a5cddc9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

clang/lib/Format/WhitespaceManager.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -546,7 +546,7 @@ static unsigned AlignTokens(const FormatStyle &Style, F &&Matches,
546546
} else if (CurrentChange.indentAndNestingLevel() >
547547
IndentAndNestingLevel) {
548548
// Call AlignTokens recursively, skipping over this scope block.
549-
unsigned StoppedAt =
549+
const auto StoppedAt =
550550
AlignTokens(Style, Matches, Changes, i, ACS, RightJustify);
551551
i = StoppedAt - 1;
552552
continue;
@@ -690,7 +690,7 @@ void WhitespaceManager::alignConsecutiveMacros() {
690690
return Current->Next->SpacesRequiredBefore == SpacesRequiredBefore;
691691
};
692692

693-
AlignTokens<decltype(AlignMacrosMatches) &, /*DontRecurse=*/true>(
693+
AlignTokens<decltype(AlignMacrosMatches) &, /*SimpleCheck=*/true>(
694694
Style, AlignMacrosMatches, Changes, 0, Style.AlignConsecutiveMacros);
695695
}
696696

0 commit comments

Comments
 (0)