forked from OSchip/llvm-project
[clang-format] Top-level unwrapped lines don't follow a left brace
Differential Revision: https://reviews.llvm.org/D109752
This commit is contained in:
parent
065bb08bb8
commit
8025c03f70
|
@ -431,7 +431,7 @@ void UnwrappedLineParser::parseLevel(bool HasOpeningBrace) {
|
|||
}
|
||||
LLVM_FALLTHROUGH;
|
||||
default:
|
||||
parseStructuralElement(/*IsTopLevel=*/true);
|
||||
parseStructuralElement(!HasOpeningBrace);
|
||||
break;
|
||||
}
|
||||
} while (!eof());
|
||||
|
|
Loading…
Reference in New Issue