r188175 - clang-format: Improve stream-formatting.

Daniel Jasper djasper at google.com
Mon Aug 12 08:47:28 PDT 2013


Oops.. Copy and paste is for experts only, I guess..

In case it is not obvious, before was supposed to be:

  SemaRef.Diag(Loc, diag::note_for_range_begin_end) << BEF << IsTemplate
                                                    << Description
                                                    << E->getType();


On Mon, Aug 12, 2013 at 5:37 PM, Matt Beaumont-Gay <matthewbg at google.com>wrote:

> 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 ;)
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20130812/8e0b21f4/attachment.html>


More information about the cfe-commits mailing list