Skip to content

Commit 1415aae

Browse files
authored
Update UnwrappedLineFormatter.cpp
1 parent d74a8b2 commit 1415aae

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clang/lib/Format/UnwrappedLineFormatter.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -634,7 +634,7 @@ class LineJoiner {
634634
// The merging code is relative to the opening namespace brace, which could
635635
// be either on the first or second line due to the brace wrapping rules.
636636
const bool OpenBraceWrapped = Style.BraceWrapping.AfterNamespace;
637-
const auto BraceOpenLine = I + OpenBraceWrapped;
637+
const auto *BraceOpenLine = I + OpenBraceWrapped;
638638

639639
assert(*BraceOpenLine);
640640
if (BraceOpenLine[0]->Last->isNot(TT_NamespaceLBrace))

0 commit comments

Comments
 (0)