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

================
Comment at: clang/lib/Format/UnwrappedLineFormatter.cpp:489
+    // If the Limit is broken, split the default value onto a new line and
+    // indent it.
+    //
----------------
krasimir wrote:
> Why not always (not just when Limit is broken) merge the whole automatic 
> property declaration into 1 line?
> Syntactically, this whole thing is a unit:
> `MyVeryLongTypeName Name { get; set } = new MyVeryLongTypeName();`
> My C# is rusty, what are the things after the `=` that are syntactically 
> allowed in general?
I think any expression is valid.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D75194



_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to