[Lldb-commits] [PATCH] D77843: [lldb/DataFormatters] Delete GetStringPrinterEscapingHelper
Shafik Yaghmour via Phabricator via lldb-commits
lldb-commits at lists.llvm.org
Mon Apr 13 15:47:33 PDT 2020
shafik added inline comments.
================
Comment at: lldb/unittests/DataFormatter/StringPrinterTests.cpp:109
+ EXPECT_TRUE(matches({"\0", 1}, QUOTE("")));
+ EXPECT_TRUE(matches("\a", QUOTE("\\a")));
+ EXPECT_TRUE(matches("\b", QUOTE("\\u{8}")));
----------------
We have [raw string literals](https://en.cppreference.com/w/cpp/language/string_literal) since C++11:
```
EXPECT_TRUE(matches("\a", R"("\a")"));
```
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D77843/new/
https://reviews.llvm.org/D77843
More information about the lldb-commits
mailing list