tools/go/analysis
Michael Matloob db798565ff go/analysis/passes/test: remove some false positives
Alternative build systems like blaze don't always provide a way to determine
the relationship between a package and the package it's testing. This means
that sometimes the check for misspelled Example function names over-reports
because it doesn't find the object being exemplified. Don't report errors
unless a object can't be found in any of the imports. This means that there
won't be any false positives though of course this comes at the cost of
false positives.

Change-Id: I7435eeb2333b6dd72e06bb6383fff2ac17bee845
Reviewed-on: https://go-review.googlesource.com/c/tools/+/168404
Run-TryBot: Michael Matloob <matloob@golang.org>
Reviewed-by: Ian Cottrell <iancottrell@google.com>
2019-03-21 21:05:29 +00:00
..
analysistest go/analysis/analysistest: change error message checked in expectation 2019-02-12 19:41:11 +00:00
cmd/vet Revert "cmd/vet: add deepequalerrors" 2019-03-05 01:09:23 +00:00
internal go/analysis: allow overriding V flag without code patches 2019-02-20 15:01:58 +00:00
multichecker go/analysis/unitchecker: a main function for vet-lite tools 2018-11-15 16:00:22 +00:00
passes go/analysis/passes/test: remove some false positives 2019-03-21 21:05:29 +00:00
singlechecker go/analysis/singlechecker: use Stderr in flag.Usage 2019-02-14 16:35:53 +00:00
unitchecker go/analysis/unitchecker: rewrite test in terms of packagestest 2019-02-13 22:38:15 +00:00
analysis.go go/{analysis,packages}: add TypesSizes 2019-01-17 19:41:23 +00:00
doc.go go/analysis: fix typos and update documentation 2019-01-11 18:03:38 +00:00
validate.go go/analysis: validate: report duplicates among analyzers (roots) 2018-10-11 19:55:00 +00:00