]> Cypherpunks repositories - gostls13.git/commit
cmd/vet/all: move suspicious shift whitelists to 64 bit
authorJosh Bleecher Snyder <josharian@gmail.com>
Tue, 28 Feb 2017 19:02:08 +0000 (11:02 -0800)
committerJosh Bleecher Snyder <josharian@gmail.com>
Tue, 28 Feb 2017 19:12:00 +0000 (19:12 +0000)
commit016569f204ed1c1060778b03ecacb33bc882d69a
treea28ebde8202328999cf66e88fc31b6b89c30ecd3
parent31f9769c910e1470125fc80ff134e872980a3951
cmd/vet/all: move suspicious shift whitelists to 64 bit

This is an inconsequential consequence of updating
math/big to use math/bits.

Better would be to teach the vet shift test
to size int/uint/uintptr to the platform in use,
eliminating the whole category of "might be too small".
Filed #19321 for that.

Change-Id: I7e0b837bd329132d7a564468c18502dd2e724fc6
Reviewed-on: https://go-review.googlesource.com/37576
Run-TryBot: Josh Bleecher Snyder <josharian@gmail.com>
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
src/cmd/vet/all/whitelist/64bit.txt
src/cmd/vet/all/whitelist/all.txt