summaryrefslogtreecommitdiffstats
path: root/llvm/unittests/Support/YAMLIOTest.cpp
diff options
context:
space:
mode:
authorZachary Turner <zturner@google.com>2018-10-12 16:31:08 +0000
committerZachary Turner <zturner@google.com>2018-10-12 16:31:08 +0000
commit9c544199cfd74acdf8b049ff120032a26142e8a2 (patch)
tree6a8da57be99cd61b82cbe3160d91fc0fcd578744 /llvm/unittests/Support/YAMLIOTest.cpp
parentec234052a648d69c4a253dd0b95a9686855e3757 (diff)
downloadbcm5719-llvm-9c544199cfd74acdf8b049ff120032a26142e8a2.tar.gz
bcm5719-llvm-9c544199cfd74acdf8b049ff120032a26142e8a2.zip
Revert "Make YAML quote forward slashes."
This reverts commit b86c16ad8c97dadc1f529da72a5bb74e9eaed344. This is being reverted because I forgot to write a useful commit message, so I'm going to resubmit it with an actual commit message. llvm-svn: 344358
Diffstat (limited to 'llvm/unittests/Support/YAMLIOTest.cpp')
-rw-r--r--llvm/unittests/Support/YAMLIOTest.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/llvm/unittests/Support/YAMLIOTest.cpp b/llvm/unittests/Support/YAMLIOTest.cpp
index 94e9874147f..4530482ec80 100644
--- a/llvm/unittests/Support/YAMLIOTest.cpp
+++ b/llvm/unittests/Support/YAMLIOTest.cpp
@@ -2543,9 +2543,7 @@ TEST(YAMLIO, TestEscaped) {
// Single quote
TestEscaped("@abc@", "'@abc@'");
// No quote
- TestEscaped("abc", "abc");
- // Forward slash quoted
- TestEscaped("abc/", "'abc/'");
+ TestEscaped("abc/", "abc/");
// Double quote non-printable
TestEscaped("\01@abc@", "\"\\x01@abc@\"");
// Double quote inside single quote
OpenPOWER on IntegriCloud