[cfe-commits] r170457 - in /cfe/trunk: lib/Format/Format.cpp unittests/Format/FormatTest.cpp

Sean Silva silvas at purdue.edu
Tue Dec 18 13:43:20 PST 2012


On Tue, Dec 18, 2012 at 2:05 PM, Daniel Jasper <djasper at google.com> wrote:
> We used to format initializers like this (with a sort of hacky implementation):
> Constructor()
>     : Val1(A),
>       Val2(B) {
>
> and now format like this (with a somewhat better solution):
> Constructor()
>     : Val1(A), Val2(B) {
>
> assuming this would not fit on a single line. Also added tests.

Awesome, thanks for including this!

-- Sean Silva



More information about the cfe-commits mailing list