]> granicus.if.org Git - clang/commitdiff
clang-format: Activate WebKit-style tests for MS compilers.
authorDaniel Jasper <djasper@google.com>
Tue, 13 Aug 2013 08:29:26 +0000 (08:29 +0000)
committerDaniel Jasper <djasper@google.com>
Tue, 13 Aug 2013 08:29:26 +0000 (08:29 +0000)
They were accidentally placed in the #if.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@188255 91177308-0d34-0410-b5e6-96231b3b80d8

unittests/Format/FormatTest.cpp

index 71f9dabc8a5146fd05c212cb13d25ec33b6cd0a5..6cea8a332adde0978810e582287aa724a22be68e 100644 (file)
@@ -5787,6 +5787,8 @@ TEST_F(FormatTest, SplitsUTF8BlockComments) {
             format("/* 𝓣𝓮𝓼𝓽 𝔣𝔬𝔲𝔯 𝕓𝕪𝕥𝕖 𝖀𝕿𝕱-𝟠 */", getLLVMStyleWithColumns(12)));
 }
 
+#endif
+
 TEST_F(FormatTest, FormatsWithWebKitStyle) {
   FormatStyle Style = getWebKitStyle();
 
@@ -5866,7 +5868,5 @@ TEST_F(FormatTest, FormatsWithWebKitStyle) {
             format("if (aaaaaaaaaaaaaaa || bbbbbbbbbbbbbbb) { i++; }", Style));
 }
 
-#endif
-
 } // end namespace tooling
 } // end namespace clang