We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d74a8b2 commit 1415aaeCopy full SHA for 1415aae
clang/lib/Format/UnwrappedLineFormatter.cpp
@@ -634,7 +634,7 @@ class LineJoiner {
634
// The merging code is relative to the opening namespace brace, which could
635
// be either on the first or second line due to the brace wrapping rules.
636
const bool OpenBraceWrapped = Style.BraceWrapping.AfterNamespace;
637
- const auto BraceOpenLine = I + OpenBraceWrapped;
+ const auto *BraceOpenLine = I + OpenBraceWrapped;
638
639
assert(*BraceOpenLine);
640
if (BraceOpenLine[0]->Last->isNot(TT_NamespaceLBrace))
0 commit comments