djasper added a comment. I don't have very strong opinions here and I agree that we will need to improve the conditional formatting, especially as this kind of ternary-chaining is becoming more popular because of constexpr.
My personal opinion(s): - I think this is a no-brainer for BreakBeforeTernaryOperators=false - I'd be ok with the suggestion for BreakBeforeTernaryOperators=true - I don't think the alignment of "?" and ":" (in the WhitespaceManager) should be always on. I think we'd need a flag for that part Manuel, Krasimir, WDYT? Repository: rC Clang https://reviews.llvm.org/D50078 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits