1
0
mirror of https://github.com/golang/go synced 2024-11-18 15:34:53 -07:00
go/cmd/vet
Rob Pike cd9959d796 go.tools/cmd/vet: validate calls to t.Log and t.Logf
Be careful not to complain about math.Log and cmplx.Log.
Seems worthwhile since t.Log and t.Logf are often written but
rarely executed.

Nothing new turned up in the standard library.

Fixes golang/go#8504.

LGTM=josharian, dsymonds
R=golang-codereviews, josharian, dsymonds
CC=golang-codereviews
https://golang.org/cl/130490043
2014-08-25 12:31:49 -07:00
..
testdata go.tools/cmd/vet: validate calls to t.Log and t.Logf 2014-08-25 12:31:49 -07:00
whitelist cmd/vet: move whitelist to its own package 2013-08-20 15:39:49 -07:00
asmdecl.go vet: LEA* opcodes don't need to have matching length source and destination. 2014-07-21 21:15:39 -07:00
assign.go vet: Rearrange checkers to use a registration system. 2014-06-13 15:04:45 +10:00
atomic.go vet: Rearrange checkers to use a registration system. 2014-06-13 15:04:45 +10:00
bool.go go.tools/cmd/vet: detect stupid boolean conditions 2014-07-02 10:39:57 -07:00
buildtag.go go.tools/cmd/vet: improve error message for build tag problems 2013-12-18 16:06:56 -08:00
composite.go vet: Rearrange checkers to use a registration system. 2014-06-13 15:04:45 +10:00
copylock.go vet: Rearrange checkers to use a registration system. 2014-06-13 15:04:45 +10:00
deadcode.go go.tools/cmd/vet: prevent panic on goto without label 2014-06-20 11:08:45 -07:00
doc.go go.tools/cmd/vet: validate calls to t.Log and t.Logf 2014-08-25 12:31:49 -07:00
main.go vet: Rearrange checkers to use a registration system. 2014-06-13 15:04:45 +10:00
method.go vet: Rearrange checkers to use a registration system. 2014-06-13 15:04:45 +10:00
nilfunc.go vet: Rearrange checkers to use a registration system. 2014-06-13 15:04:45 +10:00
print.go go.tools/cmd/vet: validate calls to t.Log and t.Logf 2014-08-25 12:31:49 -07:00
rangeloop.go go.tools/cmd/vet: change message for range check 2014-08-24 17:26:18 -07:00
shadow.go vet: Rearrange checkers to use a registration system. 2014-06-13 15:04:45 +10:00
structtag.go cmd/vet: check for use of json/xml struct tags with unexported fields 2014-06-13 18:44:31 -07:00
types.go cmd/vet: diagnose use of unsafe.Pointer to convert integer to pointer 2014-05-15 15:32:51 -04:00
unsafeptr.go vet: Rearrange checkers to use a registration system. 2014-06-13 15:04:45 +10:00
vet_test.go go.tools/cmd/vet: disable TestVet on Plan 9 2014-02-20 21:43:24 +01:00