From: Nico Weber Date: Tue, 9 Dec 2014 23:22:35 +0000 (+0000) Subject: clang-format: Add a test for PR19603 which seems fixed (maybe by r221338?). X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=238462627ea4f11fb63ffd379d71011d66d206cb;p=platform%2Fupstream%2Fllvm.git clang-format: Add a test for PR19603 which seems fixed (maybe by r221338?). llvm-svn: 223850 --- diff --git a/clang/unittests/Format/FormatTest.cpp b/clang/unittests/Format/FormatTest.cpp index 7ca7978..fdcfe79 100644 --- a/clang/unittests/Format/FormatTest.cpp +++ b/clang/unittests/Format/FormatTest.cpp @@ -2624,6 +2624,9 @@ TEST_F(FormatTest, MacrosWithoutTrailingSemicolon) { EXPECT_EQ("SOME_WEIRD_LOG_MACRO << SomeThing;", format("SOME_WEIRD_LOG_MACRO\n" "<< SomeThing;")); + + verifyFormat("VISIT_GL_CALL(GenBuffers, void, (GLsizei n, GLuint* buffers), " + "(n, buffers))\n", getChromiumStyle(FormatStyle::LK_Cpp)); } TEST_F(FormatTest, MacroCallsWithoutTrailingSemicolon) {