[tools] go/analysis/suite/{fix,vet}: publish analyzer suites

0 views
Skip to first unread message

Mark Freeman (Gerrit)

unread,
4:56 PM (1 hour ago) 4:56 PM
to Alan Donovan, goph...@pubsubhelper.golang.org, golang-...@googlegroups.com, golang...@luci-project-accounts.iam.gserviceaccount.com, golang-co...@googlegroups.com

Mark Freeman submitted the change

Change information

Commit message:
go/analysis/suite/{fix,vet}: publish analyzer suites

This change publishes the default suites of analyzers used
by cmd/fix and cmd/vet so that users can more easily define
their own tools using variants of these suites (as demonstrated
by vet_std_test).

Once vendored into GOROOT, the cmd/{fix,vet} tools will
be updated to use these constants.

Fixes golang/go#35487
Change-Id: I7f957d552c0265e73eb47b3a700ed299f496012c
Reviewed-by: Mark Freeman <markf...@google.com>
Files:
  • A go/analysis/suite/fix/fix.go
  • A go/analysis/suite/vet/vet.go
  • M go/analysis/unitchecker/unitchecker_test.go
  • M go/analysis/unitchecker/vet_std_test.go
Change size: M
Delta: 4 files changed, 157 insertions(+), 73 deletions(-)
Branch: refs/heads/master
Submit Requirements:
Open in Gerrit
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
Gerrit-MessageType: merged
Gerrit-Project: tools
Gerrit-Branch: master
Gerrit-Change-Id: I7f957d552c0265e73eb47b3a700ed299f496012c
Gerrit-Change-Number: 780780
Gerrit-PatchSet: 3
Gerrit-Owner: Alan Donovan <adon...@google.com>
Gerrit-Reviewer: Alan Donovan <adon...@google.com>
Gerrit-Reviewer: Mark Freeman <markf...@google.com>
open
diffy
satisfied_requirement
Reply all
Reply to author
Forward
0 new messages