]> granicus.if.org Git - clang/commitdiff
clang/unittests/Format/FormatTest.cpp: Suppress utf8 literals with _MSC_VER. MS cl...
authorNAKAMURA Takumi <geek4civic@gmail.com>
Thu, 6 Jun 2013 01:14:58 +0000 (01:14 +0000)
committerNAKAMURA Takumi <geek4civic@gmail.com>
Thu, 6 Jun 2013 01:14:58 +0000 (01:14 +0000)
FIXME: Encode Cyrillic and CJK characters below to appease MS compilers.

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

unittests/Format/FormatTest.cpp

index eb9b8f36a0671778af3c58ff7144859d1b5d848d..84e22cbbefcd968e6cdc9664a3ac922df4edd22c 100644 (file)
@@ -4884,6 +4884,9 @@ TEST_F(FormatTest, WorksFor8bitEncodings) {
                    getLLVMStyleWithColumns(12)));
 }
 
+// FIXME: Encode Cyrillic and CJK characters below to appease MS compilers.
+#if !defined(_MSC_VER)
+
 TEST_F(FormatTest, CountsUTF8CharactersProperly) {
   verifyFormat("\"Однажды в студёную зимнюю пору...\"",
                getLLVMStyleWithColumns(35));
@@ -4952,5 +4955,7 @@ TEST_F(FormatTest, SplitsUTF8BlockComments) {
             format("/* 𝓣𝓮𝓼𝓽 𝔣𝔬𝔲𝔯 𝕓𝕪𝕥𝕖 𝖀𝕿𝕱-𝟠 */", getLLVMStyleWithColumns(12)));
 }
 
+#endif
+
 } // end namespace tooling
 } // end namespace clang