krasimir added a comment.

I'm curious why we don't go the opposite direction -- why are even those two 
styles needed separately?

  public int Style1 { get; set }
  // vs.
  public int Style2
  { get; set }

I'm sure there is a good reason; part of this is to make sure we document it so 
we may consistently do more updates and support more complicated cases in the 
same spirit.
IMO starting with some reasonable formatting, and later supporting different 
styles as needed, has been practical to keep clang-format from becoming harder 
to maintain.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D79000



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

Reply via email to