djasper added a comment.

Please read:

  
https://clang.llvm.org/docs/ClangFormatStyleOptions.html#adding-additional-style-options

In this case in particular, I would be very interested in a style guide that 
defines how Allman brace style and lambdas work together. IMO, it has so many 
corner cases that it mostly doesn't work there. If we find a good and 
consistent way to do this (and your proposal to always wrap before the [] isn't 
a bad idea there), then I think we should make that the default behavior for 
lambdas in Allman style.


Repository:
  rC Clang

https://reviews.llvm.org/D44609



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

Reply via email to