1
0
mirror of https://github.com/golang/go synced 2024-11-18 23:54:41 -07:00
go/cmd/vet
Rob Pike 5ba51116ee go.tools/cmd/vet: treat arrays like slices in the printf checks.
The analysis for types.Array was just missing. It's the same as a slice,
but we can't share code easily because the types differ, so we just dup it.

R=dsymonds
CC=golang-dev
https://golang.org/cl/12041045
2013-07-30 14:00:52 +10:00
..
testdata go.tools/cmd/vet: treat arrays like slices in the printf checks. 2013-07-30 14:00:52 +10:00
asmdecl.go go.tools: add go/types, ssa, and cmd/vet 2013-05-17 13:20:39 -07:00
assign.go go.tools: add go/types, ssa, and cmd/vet 2013-05-17 13:20:39 -07:00
atomic.go go.tools: add go/types, ssa, and cmd/vet 2013-05-17 13:20:39 -07:00
buildtag.go go.tools: add go/types, ssa, and cmd/vet 2013-05-17 13:20:39 -07:00
deadcode.go go.tools: add go/types, ssa, and cmd/vet 2013-05-17 13:20:39 -07:00
doc.go go.tools: add go/types, ssa, and cmd/vet 2013-05-17 13:20:39 -07:00
main.go cmd/vet: avoid panic if no valid inputs are found. 2013-07-22 12:43:11 +10:00
method.go go.tools: add go/types, ssa, and cmd/vet 2013-05-17 13:20:39 -07:00
print.go go.tools/cmd/vet: fix error message 2013-07-18 16:56:01 -07:00
rangeloop.go go.tools: add go/types, ssa, and cmd/vet 2013-05-17 13:20:39 -07:00
shadow.go go.tools/cmd/vet: add check for shadowed variables 2013-06-21 11:27:53 -07:00
structtag.go go.tools: add go/types, ssa, and cmd/vet 2013-05-17 13:20:39 -07:00
taglit.go go.tools/cmd/vet: add image.Uniform to untagged literal white list 2013-07-01 12:42:08 +10:00
types.go go.tools/cmd/vet: treat arrays like slices in the printf checks. 2013-07-30 14:00:52 +10:00
vet_test.go go.tools/cmd/vet: add check for shadowed variables 2013-06-21 11:27:53 -07:00