diff options
| author | Aliaksandr Valialkin <valyala@gmail.com> | 2017-03-13 19:17:41 +0200 |
|---|---|---|
| committer | Rob Pike <r@golang.org> | 2017-04-19 20:03:37 +0000 |
| commit | 78510bd17c35932cd45f1433adb21aeaa0587767 (patch) | |
| tree | 7d05d472328cf265f671c036faa3d40c058840ad /src/text/template/parse/parse.go | |
| parent | 6b0bd51c1c7f34acdc5556d88a52d9a9f3b14da5 (diff) | |
| download | go-78510bd17c35932cd45f1433adb21aeaa0587767.tar.xz | |
cmd/vet: skip unreachable "if" and "case" code in shift check.
Such dead code is legitimate when dealing with arch-specific
types (int, uint, uintptr).
The CL removes the majority of 'too small for shift' false positives
from such a code.
Change-Id: I62c5635a1d3774ab2d71d3d7056f0589f214cbe5
Reviewed-on: https://go-review.googlesource.com/38065
Run-TryBot: Rob Pike <r@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Rob Pike <r@golang.org>
Diffstat (limited to 'src/text/template/parse/parse.go')
0 files changed, 0 insertions, 0 deletions
