[PATCH] D75261: [clang-format] Recognize C# nullable types

Jonathan B Coe via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Feb 27 08:57:59 PST 2020


jbcoe marked an inline comment as done.
jbcoe added inline comments.


================
Comment at: clang/unittests/Format/FormatTestCSharp.cpp:178
   verifyFormat(
-      "public Person(string firstName, string lastName, int? age=null)");
+      "public Person(string firstName, string lastName, int? age = null)");
 
----------------
This will be formatted as 

        public Person(string firstName, string lastName, int age = null);

without the Nullable Type.



Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D75261/new/

https://reviews.llvm.org/D75261





More information about the cfe-commits mailing list