r255485 - clang-format: Extend Linux-brace-wrapping test.
    Daniel Jasper via cfe-commits 
    cfe-commits at lists.llvm.org
       
    Mon Dec 14 00:33:10 PST 2015
    
    
  
Author: djasper
Date: Mon Dec 14 02:33:07 2015
New Revision: 255485
URL: http://llvm.org/viewvc/llvm-project?rev=255485&view=rev
Log:
clang-format: Extend Linux-brace-wrapping test.
Modified:
    cfe/trunk/unittests/Format/FormatTest.cpp
Modified: cfe/trunk/unittests/Format/FormatTest.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/unittests/Format/FormatTest.cpp?rev=255485&r1=255484&r2=255485&view=diff
==============================================================================
--- cfe/trunk/unittests/Format/FormatTest.cpp (original)
+++ cfe/trunk/unittests/Format/FormatTest.cpp Mon Dec 14 02:33:07 2015
@@ -9003,6 +9003,8 @@ TEST_F(FormatTest, LinuxBraceBreaking) {
                "    if (true) {\n"
                "      a();\n"
                "      b();\n"
+               "    } else {\n"
+               "      a();\n"
                "    }\n"
                "  }\n"
                "  void g() { return; }\n"
    
    
More information about the cfe-commits
mailing list