Author: krasimir Date: Mon Jul 24 12:52:49 2017 New Revision: 308918 URL: http://llvm.org/viewvc/llvm-project?rev=308918&view=rev Log: [clang-format] Reorder assignments, NFC
Modified: cfe/trunk/lib/Format/UnwrappedLineParser.cpp Modified: cfe/trunk/lib/Format/UnwrappedLineParser.cpp URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Format/UnwrappedLineParser.cpp?rev=308918&r1=308917&r2=308918&view=diff ============================================================================== --- cfe/trunk/lib/Format/UnwrappedLineParser.cpp (original) +++ cfe/trunk/lib/Format/UnwrappedLineParser.cpp Mon Jul 24 12:52:49 2017 @@ -494,8 +494,8 @@ void UnwrappedLineParser::parseBlock(boo 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 = _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits