No longer merge 'name' and ':' into a single token.
Ensure that line breaks cannot be placed before or after a named-argument colon.
Ensure that no space is inserted before a named-argument colon.
| Paths 
 |  Differential  D75244  
[clang-format] Recognize C# named argument colons as a token type ClosedPublic Authored by jbcoe on Feb 27 2020, 5:21 AM. 
Details Summary No longer merge 'name' and ':' into a single token. Ensure that line breaks cannot be placed before or after a named-argument colon. Ensure that no space is inserted before a named-argument colon. 
Diff Detail Event TimelineComment Actions This is very nice! Brings the C# handling of the colon closer to other languages. 
 This revision is now accepted and ready to land.Feb 27 2020, 5:29 AM Closed by commit rG7dfe0cc7f576: [clang-format] Recognize C# named argument colons as a token type (authored by Jonathan Coe <jbcoe@google.com>).  ·  Explain WhyFeb 27 2020, 9:49 AM This revision was automatically updated to reflect the committed changes. 
Revision Contents 
 
Diff 246920 clang/lib/Format/FormatToken.h
 clang/lib/Format/FormatTokenLexer.h
 clang/lib/Format/FormatTokenLexer.cpp
 clang/lib/Format/TokenAnnotator.cpp
 clang/unittests/Format/FormatTestCSharp.cpp
 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
nit: please put this as an else if into the "// Language-specific stuff" section below.