clang-format: Add a test for PR19603 which seems fixed (maybe by r221338?).
authorNico Weber <nicolasweber@gmx.de>
Tue, 9 Dec 2014 23:22:35 +0000 (23:22 +0000)
committerNico Weber <nicolasweber@gmx.de>
Tue, 9 Dec 2014 23:22:35 +0000 (23:22 +0000)
llvm-svn: 223850

clang/unittests/Format/FormatTest.cpp

index 7ca7978..fdcfe79 100644 (file)
@@ -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) {