projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d488daa
)
Fix narrowing warning by appending `f` to literal constant.
author
Adrian McCarthy
<amccarth@google.com>
Thu, 19 Apr 2018 18:31:57 +0000
(18:31 +0000)
committer
Adrian McCarthy
<amccarth@google.com>
Thu, 19 Apr 2018 18:31:57 +0000
(18:31 +0000)
llvm-svn: 330354
lldb/unittests/Core/ScalarTest.cpp
patch
|
blob
|
history
diff --git
a/lldb/unittests/Core/ScalarTest.cpp
b/lldb/unittests/Core/ScalarTest.cpp
index
6ccc390
..
5fad169
100644
(file)
--- a/
lldb/unittests/Core/ScalarTest.cpp
+++ b/
lldb/unittests/Core/ScalarTest.cpp
@@
-31,7
+31,7
@@
TEST(ScalarTest, RightShiftOperator) {
TEST(ScalarTest, GetBytes) {
int a = 0x01020304;
long long b = 0x0102030405060708LL;
- float c = 1234567.89e32;
+ float c = 1234567.89e32
f
;
double d = 1234567.89e42;
char e[16] = {1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16};
char f[32] = {1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16,