]> Cypherpunks repositories - gostls13.git/commit
cmd/go: add support for vet-specific export data
authorRuss Cox <rsc@golang.org>
Fri, 20 Apr 2018 16:16:36 +0000 (12:16 -0400)
committerRuss Cox <rsc@golang.org>
Tue, 12 Jun 2018 01:28:04 +0000 (01:28 +0000)
commit2630085afed763777021ab87d095ff3b7039e2b5
tree9542e7b9abd498c78defac6163b0c66745b21e4c
parentf861f66d1db9f1abcdf91fc54d0d84bd3f9e9310
cmd/go: add support for vet-specific export data

This CL makes it possible for vet to write down notes about one package
and then access those notes later, when analyzing other code importing
that package. This is much like what the compiler does with its own export
data for type-checking, so we call it "vet-export" data or vetx data.

The next CL in the stack makes vet actually use this functionality.

Change-Id: Ic70043ab407dfbfdb3f30eaea7c0e3c8197009cf
Reviewed-on: https://go-review.googlesource.com/108558
Run-TryBot: Russ Cox <rsc@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Bryan C. Mills <bcmills@google.com>
src/cmd/go/internal/cache/cache.go
src/cmd/go/internal/vet/vetflag.go
src/cmd/go/internal/work/action.go
src/cmd/go/internal/work/buildid.go
src/cmd/go/internal/work/exec.go