]> granicus.if.org Git - clang/commit
clang-format: Improve stream-formatting.
authorDaniel Jasper <djasper@google.com>
Mon, 12 Aug 2013 12:58:05 +0000 (12:58 +0000)
committerDaniel Jasper <djasper@google.com>
Mon, 12 Aug 2013 12:58:05 +0000 (12:58 +0000)
commitb349a78c9705a63a352d7b9210cafb2e9d27047c
tree9b81015efbedbe728d8081b02a7086e2858ff9dd
parent931a4feb64f18190d189c222d61b2abf52f18ab8
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();

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@188175 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Format/Format.cpp
unittests/Format/FormatTest.cpp