]> granicus.if.org Git - clang/commitdiff
[clang-format] Followup of D30646 - unbreak the build
authorAndi-Bogdan Postelnicu <andi@mozilla.com>
Tue, 7 Mar 2017 15:20:31 +0000 (15:20 +0000)
committerAndi-Bogdan Postelnicu <andi@mozilla.com>
Tue, 7 Mar 2017 15:20:31 +0000 (15:20 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@297148 91177308-0d34-0410-b5e6-96231b3b80d8

unittests/Format/FormatTest.cpp

index 54c5f27978f31ff21529f4c8a3da0b87ef8ddb45..b785d18d5239cfb0a57356d3bd561f36b49240d5 100644 (file)
@@ -5326,8 +5326,8 @@ TEST_F(FormatTest, BreaksLongDeclarations) {
                "        aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa>>\n"
                "        aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa);");
 
-  verifyFormat("template<typename T> // Templates on own line.\n"
-               "static int           // Some comment.\n"
+  verifyFormat("template <typename T> // Templates on own line.\n"
+               "static int            // Some comment.\n"
                "MyFunction(int a);",
                getLLVMStyle());
 }