[lldb] Silence narrowing conversion warning with MSVC
Fixes: ``` [13/270] Building CXX object tools\lldb\unittests\Core\CMakeFiles\LLDBCoreTests.dir\DumpDataExtractorTest.cpp.obj C:\git\llvm-project\lldb\unittests\Core\DumpDataExtractorTest.cpp(140): warning C4305: 'argument': truncation from 'double' to 'const std::complex<float>::_Ty' ```
This commit is contained in:
@@ -72,7 +72,7 @@ TEST(StringPrinterTests, CxxASCII) {
|
||||
EXPECT_EQ(fmt("🥑"), QUOTE("🥑"));
|
||||
|
||||
// Octal (\nnn), hex (\xnn), extended octal (\unnnn or \Unnnnnnnn).
|
||||
EXPECT_EQ(fmt("\uD55C"), QUOTE("\uD55C"));
|
||||
EXPECT_EQ(fmt(L"\uD55C"), QUOTE(L"\uD55C"));
|
||||
EXPECT_EQ(fmt("\U00010348"), QUOTE("\U00010348"));
|
||||
|
||||
EXPECT_EQ(fmt("\376"), QUOTE(R"(\xfe)")); // \376 is 254 in decimal.
|
||||
|
||||
Reference in New Issue
Block a user