[PATCH] D72401: Fixes for spaces around C# object initializers

Krasimir Georgiev via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Sat Jan 11 02:42:16 PST 2020


krasimir added inline comments.


================
Comment at: clang/unittests/Format/FormatTestCSharp.cpp:379
+  FormatStyle Style = getGoogleStyle(FormatStyle::LK_CSharp);
+  Style.SpaceBeforeParens = FormatStyle::SBPO_Always;
+
----------------
Is this needed for the formatting below? I find it surprising if this controls the spacing before braces.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D72401





More information about the cfe-commits mailing list