|
[clang] Use -Wshorten-64-to-32 to enable warnings about 64bit to 32bit truncations.
Currently only the Win64 bots report this warnings, which adds quite
some overhead to the development process. With this flag we also get
compiler warnings about implicit 64bit to 32bit truncations when
building with clang on Linux/x64 and Mac/x64.
R=svenpanne@chromium.org
Committed: https://crrev.com/4486c47d9b207e95f15598135262bb43f0c5dc00
Cr-Commit-Position: refs/heads/master@{#28093}
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+163 lines, -491 lines) |
Patch |
|
M |
build/standalone.gypi
|
View
|
1
2
|
2 chunks |
+6 lines, -0 lines |
0 comments
|
Download
|
|
M |
samples/process.cc
|
View
|
1
2
3
|
1 chunk |
+9 lines, -6 lines |
0 comments
|
Download
|
|
M |
samples/shell.cc
|
View
|
1
2
3
|
1 chunk |
+9 lines, -6 lines |
0 comments
|
Download
|
|
M |
src/base/platform/platform.h
|
View
|
|
1 chunk |
+6 lines, -4 lines |
0 comments
|
Download
|
|
M |
src/base/platform/platform-aix.cc
|
View
|
|
1 chunk |
+0 lines, -49 lines |
0 comments
|
Download
|
|
M |
src/base/platform/platform-cygwin.cc
|
View
|
|
1 chunk |
+0 lines, -48 lines |
0 comments
|
Download
|
|
M |
src/base/platform/platform-freebsd.cc
|
View
|
|
1 chunk |
+0 lines, -48 lines |
0 comments
|
Download
|
|
M |
src/base/platform/platform-linux.cc
|
View
|
|
3 chunks |
+2 lines, -60 lines |
0 comments
|
Download
|
|
M |
src/base/platform/platform-macos.cc
|
View
|
|
1 chunk |
+0 lines, -58 lines |
0 comments
|
Download
|
|
M |
src/base/platform/platform-openbsd.cc
|
View
|
|
1 chunk |
+0 lines, -48 lines |
0 comments
|
Download
|
|
M |
src/base/platform/platform-posix.cc
|
View
|
|
3 chunks |
+62 lines, -3 lines |
0 comments
|
Download
|
|
M |
src/base/platform/platform-qnx.cc
|
View
|
|
1 chunk |
+0 lines, -58 lines |
0 comments
|
Download
|
|
M |
src/base/platform/platform-solaris.cc
|
View
|
|
1 chunk |
+0 lines, -48 lines |
0 comments
|
Download
|
|
M |
src/base/platform/platform-win32.cc
|
View
|
1
2
3
4
|
3 chunks |
+24 lines, -23 lines |
0 comments
|
Download
|
|
M |
src/base/platform/time.cc
|
View
|
1
|
3 chunks |
+3 lines, -3 lines |
0 comments
|
Download
|
|
M |
src/d8.cc
|
View
|
1
2
3
|
1 chunk |
+9 lines, -5 lines |
0 comments
|
Download
|
|
M |
src/d8-posix.cc
|
View
|
|
5 chunks |
+9 lines, -9 lines |
0 comments
|
Download
|
|
M |
src/flags.cc
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
src/gdb-jit.cc
|
View
|
|
7 chunks |
+8 lines, -7 lines |
0 comments
|
Download
|
|
M |
src/snapshot/mksnapshot.cc
|
View
|
1
|
1 chunk |
+4 lines, -4 lines |
0 comments
|
Download
|
|
M |
src/utils.cc
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
test/cctest/compiler/call-tester.h
|
View
|
1
2
|
2 chunks |
+6 lines, -0 lines |
0 comments
|
Download
|
|
M |
test/cctest/test-mark-compact.cc
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
tools/shell-utils.h
|
View
|
|
2 chunks |
+3 lines, -1 line |
0 comments
|
Download
|
Total messages: 9 (1 generated)
|