Allow ? inside C# generics.
Do not mistake casts like (Type?) as conditional operators.
Paths
| Differential D75983
[clang-format] Improved identification of C# nullables ClosedPublic Authored by jbcoe on Mar 11 2020, 5:01 AM.
Details Summary Allow ? inside C# generics. Do not mistake casts like (Type?) as conditional operators.
Diff Detail
Event TimelineThis revision is now accepted and ready to land.Mar 11 2020, 6:03 AM Closed by commit rG1fb9c29833ab: [clang-format] Improved identification of C# nullables (authored by Jonathan Coe <jbcoe@google.com>). · Explain WhyMar 11 2020, 6:18 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 249603 clang/lib/Format/TokenAnnotator.cpp
clang/unittests/Format/FormatTestCSharp.cpp
|
nit: add a space before and in the comment: