Details
Details
Diff Detail
Diff Detail
Unit Tests
Unit Tests
Event Timeline
Comment Actions
Fix failing test by preventing inconsistent states from being constructed where canBreak is false and mustBreak is true.
| Paths 
 |  Differential  D77064  
[clang-format] Correct line breaks in C# generic type constraints ClosedPublic Authored by jbcoe on Mar 30 2020, 8:35 AM. 
Details 
Diff Detail 
Unit TestsFailed Event TimelineComment Actions Fix failing test by preventing inconsistent states from being constructed where canBreak is false and mustBreak is true. This revision is now accepted and ready to land.Mar 31 2020, 10:38 AM Closed by commit rGd1b412ae389e: [clang-format] Correct line breaks in C# generic type constraints (authored by Jonathan Coe <jbcoe@google.com>).  ·  Explain WhyMar 31 2020, 11:59 AM This revision was automatically updated to reflect the committed changes. 
Revision Contents 
 
Diff 253603 clang/lib/Format/TokenAnnotator.cpp
 clang/lib/Format/UnwrappedLineParser.cpp
 clang/unittests/Format/FormatTestCSharp.cpp
 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
clang-format: please reformat the code
- } else if (CurrentToken->is(tok::comma) && OpenAngleBracketsCount==0) { + } else if (CurrentToken->is(tok::comma) && OpenAngleBracketsCount == 0) {