[clang-format] Reorder assignments, NFC
llvm-svn: 308918
This commit is contained in:
parent
84dbd080b7
commit
f77ada0fa2
@ -494,8 +494,8 @@ void UnwrappedLineParser::parseBlock(bool MustBeDeclaration, bool AddLevel,
|
||||
|
||||
if (MunchSemi && FormatTok->Tok.is(tok::semi))
|
||||
nextToken();
|
||||
Line->MatchingOpeningBlockLineIndex = OpeningLineIndex;
|
||||
Line->Level = InitialLevel;
|
||||
Line->MatchingOpeningBlockLineIndex = OpeningLineIndex;
|
||||
if (OpeningLineIndex != UnwrappedLine::kInvalidIndex) {
|
||||
// Update the opening line to add the forward reference as well
|
||||
(*CurrentLines)[OpeningLineIndex].MatchingOpeningBlockLineIndex =
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user