hel-ableton updated this revision to Diff 468793. hel-ableton added a comment.
Sorry about the plus sign! I'm fairly unfamiliar with your process, so something between making a diff and making a patch must have gone wrong. About the brackets, I was wondering why there weren't any, but didn't see the need to add them given the change. In any case, now there are brackets. CHANGES SINCE LAST ACTION https://reviews.llvm.org/D136154/new/ https://reviews.llvm.org/D136154 Files: clang/lib/Format/ContinuationIndenter.cpp Index: clang/lib/Format/ContinuationIndenter.cpp =================================================================== --- clang/lib/Format/ContinuationIndenter.cpp +++ clang/lib/Format/ContinuationIndenter.cpp @@ -810,8 +810,9 @@ // assignment without binary expression on the RHS. Also indent relative to // unary operators and the colons of constructor initializers. if (Style.BreakBeforeBinaryOperators == FormatStyle::BOS_None || -+ Style.BreakBeforeBinaryOperators == FormatStyle::BOS_NonAssignment) + Style.BreakBeforeBinaryOperators == FormatStyle::BOS_NonAssignment) { CurrentState.LastSpace = State.Column; + } } else if (Previous.is(TT_InheritanceColon)) { CurrentState.Indent = State.Column; CurrentState.LastSpace = State.Column;
Index: clang/lib/Format/ContinuationIndenter.cpp =================================================================== --- clang/lib/Format/ContinuationIndenter.cpp +++ clang/lib/Format/ContinuationIndenter.cpp @@ -810,8 +810,9 @@ // assignment without binary expression on the RHS. Also indent relative to // unary operators and the colons of constructor initializers. if (Style.BreakBeforeBinaryOperators == FormatStyle::BOS_None || -+ Style.BreakBeforeBinaryOperators == FormatStyle::BOS_NonAssignment) + Style.BreakBeforeBinaryOperators == FormatStyle::BOS_NonAssignment) { CurrentState.LastSpace = State.Column; + } } else if (Previous.is(TT_InheritanceColon)) { CurrentState.Indent = State.Column; CurrentState.LastSpace = State.Column;
_______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits