[PATCH] Preserve newlines before block comments in static initializers.

Alexander Kornienko alexfh at google.com
Wed Jun 12 08:01:36 PDT 2013



================
Comment at: unittests/Format/FormatTest.cpp:1184
@@ -1183,3 +1183,1 @@
                    "}"));
-  EXPECT_EQ("S s = { a, b };", format("S s = {\n"
-                                      "  a,\n"
----------------
And moved this check out of the "CommentsInStaticInitializers" test. There are no comments here.


http://llvm-reviews.chandlerc.com/D962



More information about the cfe-commits mailing list