clang-tidy: Fix broken buildbot
authorRichard Thomson <legalize@xmission.com>
Mon, 28 Mar 2016 04:15:41 +0000 (04:15 +0000)
committerRichard Thomson <legalize@xmission.com>
Mon, 28 Mar 2016 04:15:41 +0000 (04:15 +0000)
VS 2013 does not support char16_t or char32_t

llvm-svn: 264563

clang-tools-extra/test/clang-tidy/modernize-raw-string-literal.cpp

index f37a617..b2f9e6c 100644 (file)
@@ -46,10 +46,12 @@ char const *const TrailingNewLine("A single \\line.\n");
 char const *const AlreadyRaw(R"(foobie\\bletch)");
 char const *const UTF8Literal(u8"foobie\\bletch");
 char const *const UTF8RawLiteral(u8R"(foobie\\bletch)");
-char16_t const *const UTF16Literal(u"foobie\\bletch");
-char16_t const *const UTF16RawLiteral(uR"(foobie\\bletch)");
-char32_t const *const UTF32Literal(U"foobie\\bletch");
-char32_t const *const UTF32RawLiteral(UR"(foobie\\bletch)");
+// TODO: enable these tests once all supported compilers
+// support char16_t and char32_t (VS2013 does not)
+// char16_t const *const UTF16Literal(u"foobie\\bletch");
+// char16_t const *const UTF16RawLiteral(uR"(foobie\\bletch)");
+// char32_t const *const UTF32Literal(U"foobie\\bletch");
+// char32_t const *const UTF32RawLiteral(UR"(foobie\\bletch)");
 wchar_t const *const WideLiteral(L"foobie\\bletch");
 wchar_t const *const WideRawLiteral(LR"(foobie\\bletch)");