Revert "Fix modernize-raw-string-literal complaints from clang-tidy."

This reverts commit 7a34bd7c28.

Broke windows build. Can apparently fix with /Zc:preprocessor flag
for windows but need a Windows dev to make that fix.
This commit is contained in:
2021-03-08 06:45:45 -05:00
parent e9e53ff3a6
commit b9cd2f4531
4 changed files with 40 additions and 38 deletions

View File

@@ -845,12 +845,12 @@ TEST_F(StringEscape, Simple)
{"\\A", "\\\\A"},
{"A\\B", "A\\\\B"},
{"?", "?"},
{R"("\)", R"(\"\\)"},
{R"(\")", R"(\\\")"},
{R"("\")", R"(\"\\\")"},
{"\"\\", "\\\"\\\\"},
{"\\\"", "\\\\\\\""},
{"\"\\\"", "\\\"\\\\\\\""},
{R"(""")", R"(\"\"\")"},
{R"(\\\)", R"(\\\\\\)"},
{"\"\"\"", "\\\"\\\"\\\""},
{"\\\\\\", "\\\\\\\\\\\\"},
};
testEscapeWords(equal);
@@ -868,9 +868,9 @@ TEST_F(StringEscape, Control)
{"\f", "\\f"},
{"A\n", "A\\n"},
{"\nA", "\\nA"},
{"\n\r\t\a\b\f", R"(\n\r\t\a\b\f)"},
{"\n_\r_\t_\a_\b_\f", R"(\n_\r_\t_\a_\b_\f)"},
{"\n\\\r\\\t\\\a\\\b\\\f", R"(\n\\\r\\\t\\\a\\\b\\\f)"},
{"\n\r\t\a\b\f", "\\n\\r\\t\\a\\b\\f"},
{"\n_\r_\t_\a_\b_\f", "\\n_\\r_\\t_\\a_\\b_\\f"},
{"\n\\\r\\\t\\\a\\\b\\\f", "\\n\\\\\\r\\\\\\t\\\\\\a\\\\\\b\\\\\\f"},
};
testEscapeWords(escaped);