Skip to content

Commit 19ab2bf

Browse files
authored
Update clang/lib/Format/TokenAnnotator.cpp comments
1 parent c5bf1fc commit 19ab2bf

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

clang/lib/Format/TokenAnnotator.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6105,9 +6105,9 @@ bool TokenAnnotator::canBreakBefore(const AnnotatedLine &Line,
61056105
return false;
61066106
}
61076107

6108-
// We can break before an r_brace if there was a corresponding break after
6109-
// the l_brace, which is tracked by BreakBeforeClosingBrace, or if we are
6110-
// in a block indented initialization list.
6108+
// We can break before an r_brace if there was a break after the matching
6109+
// l_brace, which is tracked by BreakBeforeClosingBrace, or if we are in a
6110+
// block-indented initialization list.
61116111
if (Right.is(tok::r_brace)) {
61126112
return Right.MatchingParen && (Right.MatchingParen->is(BK_Block) ||
61136113
(Right.isBlockIndentedInitRBrace(Style)));

0 commit comments

Comments
 (0)