diff options
author | Alexandre Ganea <alexandre.ganea@ubisoft.com> | 2019-06-03 18:46:30 +0000 |
---|---|---|
committer | Alexandre Ganea <alexandre.ganea@ubisoft.com> | 2019-06-03 18:46:30 +0000 |
commit | 18ca8a2233a4be45944ce8d772f2930362641534 (patch) | |
tree | 125c68745e727cbbf816f98146a55b5d0b2fecd4 /lldb/unittests/Utility/ReproducerInstrumentationTest.cpp | |
parent | 8dbeb9256cb60fe551fdcbd40580589ffce59e37 (diff) | |
download | bcm5719-llvm-18ca8a2233a4be45944ce8d772f2930362641534.tar.gz bcm5719-llvm-18ca8a2233a4be45944ce8d772f2930362641534.zip |
Silence 'warning C4305: 'initializing': truncation from 'double' to 'float'' with MSVC 19.16.27021.1 (VS2017 15.9.12)
llvm-svn: 362437
Diffstat (limited to 'lldb/unittests/Utility/ReproducerInstrumentationTest.cpp')
-rw-r--r-- | lldb/unittests/Utility/ReproducerInstrumentationTest.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/lldb/unittests/Utility/ReproducerInstrumentationTest.cpp b/lldb/unittests/Utility/ReproducerInstrumentationTest.cpp index fef0ab97d74..2a4ebac2df9 100644 --- a/lldb/unittests/Utility/ReproducerInstrumentationTest.cpp +++ b/lldb/unittests/Utility/ReproducerInstrumentationTest.cpp @@ -31,7 +31,7 @@ struct Pod { bool a = true; bool b = false; char c = 'a'; - float d = 1.1; + float d = 1.1f; int e = 2; long long f = 3; long g = 4; @@ -443,7 +443,7 @@ TEST(RecordReplayTest, InstrumentedFoo) { { int b = 200; - float c = 300.3; + float c = 300.3f; double e = 400.4; InstrumentedFoo foo(0); @@ -471,7 +471,7 @@ TEST(RecordReplayTest, InstrumentedFooSameThis) { g_serializer.emplace(os); int b = 200; - float c = 300.3; + float c = 300.3f; double e = 400.4; InstrumentedFoo *foo = new InstrumentedFoo(0); @@ -517,7 +517,7 @@ TEST(RecordReplayTest, InstrumentedBar) { #endif int b = 200; - float c = 300.3; + float c = 300.3f; double e = 400.4; foo.A(100); @@ -552,7 +552,7 @@ TEST(RecordReplayTest, InstrumentedBarRef) { InstrumentedFoo &foo = bar.GetInstrumentedFooRef(); int b = 200; - float c = 300.3; + float c = 300.3f; double e = 400.4; foo.A(100); @@ -587,7 +587,7 @@ TEST(RecordReplayTest, InstrumentedBarPtr) { InstrumentedFoo &foo = *(bar.GetInstrumentedFooPtr()); int b = 200; - float c = 300.3; + float c = 300.3f; double e = 400.4; foo.A(100); |