[Lldb-commits] [lldb] cfc9f36 - Revert "[lldb] Silence narrowing conversion warning with MSVC"
Alexandre Ganea via lldb-commits
lldb-commits at lists.llvm.org
Thu Jan 18 11:13:14 PST 2024
Author: Alexandre Ganea
Date: 2024-01-18T14:13:07-05:00
New Revision: cfc9f3695fafddfa6f537d6dac702afab00c3cce
URL: https://github.com/llvm/llvm-project/commit/cfc9f3695fafddfa6f537d6dac702afab00c3cce
DIFF: https://github.com/llvm/llvm-project/commit/cfc9f3695fafddfa6f537d6dac702afab00c3cce.diff
LOG: Revert "[lldb] Silence narrowing conversion warning with MSVC"
This reverts commit cb67dc19256565d15f6bed0e9808f4026ca04995.
Added:
Modified:
lldb/unittests/DataFormatter/StringPrinterTests.cpp
Removed:
################################################################################
diff --git a/lldb/unittests/DataFormatter/StringPrinterTests.cpp b/lldb/unittests/DataFormatter/StringPrinterTests.cpp
index 74136b6763ecac..ac4116139beb20 100644
--- a/lldb/unittests/DataFormatter/StringPrinterTests.cpp
+++ b/lldb/unittests/DataFormatter/StringPrinterTests.cpp
@@ -72,7 +72,7 @@ TEST(StringPrinterTests, CxxASCII) {
EXPECT_EQ(fmt("🥑"), QUOTE("🥑"));
// Octal (\nnn), hex (\xnn), extended octal (\unnnn or \Unnnnnnnn).
- EXPECT_EQ(fmt(L"\uD55C"), QUOTE(L"\uD55C"));
+ EXPECT_EQ(fmt("\uD55C"), QUOTE("\uD55C"));
EXPECT_EQ(fmt("\U00010348"), QUOTE("\U00010348"));
EXPECT_EQ(fmt("\376"), QUOTE(R"(\xfe)")); // \376 is 254 in decimal.
More information about the lldb-commits
mailing list