1
0
mirror of https://github.com/golang/go synced 2024-11-06 02:26:17 -07:00
go/cmd/vet
Alan Donovan 542ffc7e75 tools: switch to standard go/types at tip
A few files have been forked and tagged "go1.5,!go1.6" to work around
minor API changes between the two types packages:
- constant.Value.String() in oracle/describe.go and its tests;
- constant.ToInt must now be called before constant.Int64Val.
- types.Config{Importer: importer.Default()} in a number of places
- go/types/typeutil/import_test.go uses lowercase names to avoid 'import "C"'.

Files in go/types/typesutil, missing from my previous CL, have been
tagged !go1.5; these files will be deleted in February.

All affected packages were tested using 1.4.1, 1.5, and ~1.6 (tip).

Change-Id: Iec7fd370e1434508149b378438fb37f65b8d2ba8
Reviewed-on: https://go-review.googlesource.com/18207
Reviewed-by: Robert Griesemer <gri@golang.org>
2016-01-06 22:15:26 +00:00
..
testdata tools/cmd/vet: check only first rune of example suffix 2015-09-21 00:24:47 +00:00
whitelist cmd/vet: add color.CMYK to the whitelist of frozen structs. 2015-02-17 02:58:17 +00:00
asmdecl.go cmd/vet: add arm64 asmdecl support 2015-04-22 01:25:24 +00: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 cmd/vet: remove dependency on go/ast/astutil 2015-04-08 15:52:25 +00:00
buildtag.go go.tools/cmd/vet: improve error message for build tag problems 2013-12-18 16:06:56 -08:00
composite.go go.tools: use golang.org/x/... import paths 2014-11-10 08:50:40 +11:00
copylock.go tools: switch to standard go/types at tip 2016-01-06 22:15:26 +00:00
deadcode.go go.tools/cmd/vet: prevent panic on goto without label 2014-06-20 11:08:45 -07:00
doc.go tools/cmd/vet: Sort checks list alphabetically. 2015-09-15 17:18:38 +00:00
example.go tools: switch to standard go/types at tip 2016-01-06 22:15:26 +00:00
main.go tools: switch to standard go/types at tip 2016-01-06 22:15:26 +00:00
method.go vet: Rearrange checkers to use a registration system. 2014-06-13 15:04:45 +10:00
nilfunc.go tools: switch to standard go/types at tip 2016-01-06 22:15:26 +00:00
print.go tools: switch to standard go/types at tip 2016-01-06 22:15:26 +00:00
rangeloop.go go.tools/cmd/vet: change message for range check 2014-08-24 17:26:18 -07:00
shadow.go tools: switch to standard go/types at tip 2016-01-06 22:15:26 +00:00
shift.go tools: switch to standard go/types at tip 2016-01-06 22:15:26 +00:00
structtag.go cmd/vet: allow spaces in struct tag values. 2015-02-06 02:26:15 +00:00
types.go tools: switch to standard go/types at tip 2016-01-06 22:15:26 +00:00
unsafeptr.go tools: switch to standard go/types at tip 2016-01-06 22:15:26 +00:00
unused.go tools: switch to standard go/types at tip 2016-01-06 22:15:26 +00:00
vet_test.go tools/cmd/vet: Create vet checks for examples. 2015-09-15 07:54:34 +00:00