r188175 - clang-format: Improve stream-formatting.

Matt Beaumont-Gay matthewbg at google.com
Mon Aug 12 08:37:05 PDT 2013


On Mon, Aug 12, 2013 at 5:58 AM, Daniel Jasper <djasper at google.com> wrote:
> Author: djasper
> Date: Mon Aug 12 07:58:05 2013
> New Revision: 188175
>
> URL: http://llvm.org/viewvc/llvm-project?rev=188175&view=rev
> Log:
> clang-format: Improve stream-formatting.
>
> Before:
>   CHECK(controller->WriteProto(FLAGS_row_key, FLAGS_proto)) << "\""
>                                                             << FLAGS_proto
>                                                             << "\"";
>
> After:
>   SemaRef.Diag(Loc, diag::note_for_range_begin_end)
>       << BEF << IsTemplate << Description << E->getType();

I thought clang-format was a whitespace-only tool... it seems to have
changed the code in your example ;)



More information about the cfe-commits mailing list