The check for TT_templateCloser was done first and prevented any line breaks. Rearrange the statements a bit.
Details
Details
Diff Detail
Diff Detail
Paths
| Differential D120621
[clang-format] Fix BreakBeforeBinaryOperators with TemplateCloser on the lhs ClosedPublic Authored by HazardyKnusperkeks on Feb 26 2022, 12:18 PM.
Details Summary The check for TT_templateCloser was done first and prevented any line breaks. Rearrange the statements a bit.
Diff Detail Event TimelineHazardyKnusperkeks created this revision. This revision is now accepted and ready to land.Feb 26 2022, 1:54 PM This revision was landed with ongoing or failed builds.Mar 1 2022, 12:55 PM Closed by commit rGd6daca21738a: [clang-format] Fix BreakBeforeBinaryOperators with TemplateCloser on the lhs (authored by HazardyKnusperkeks). · Explain Why This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 411634 clang/lib/Format/TokenAnnotator.cpp
clang/unittests/Format/FormatTest.cpp
|
clang-format: please reformat the code
11 diff lines are omitted. See full path.