curdeius added a comment.

Formatting part and tests look good to me, but I'd rather see this patch merge 
all related boolean options into one enum.
Just thinking out loud, but is it doable to merge 
AllowAllConstructorInitializersOnNextLine, 
ConstructorInitializerAllOnOneLineOrOnePerLine and this patch's 
ConstructorInitializerAlwaysOnePerLine into e.g. ConstructorInitializerStyle: 
AllowNextLine | NonBinPack==AllOnOneLineOrOnePerLine | OnePerLine. And one 
other enum value for the default case without special handling.
Of course, we'd need to keep that backward compatible.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D105099

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

Reply via email to