djasper added a comment.

But that style specifically says that it is only done if the initializer list 
is wrapped:
https://github.com/facebook/hhvm/blob/master/hphp/doc/coding-conventions.md#constructor-initializer-lists

I.e. we would do the right thing for that style if we would set 
BraceWrapping.AfterFunction to true and AllowShortFunctionsOnASingleLine to 
SFS_Empty and it would then format:

  Constructor() {}
  Constructor() //
      : initializer(..)
  {}


https://reviews.llvm.org/D33447



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

Reply via email to