tools/go/analysis
Alan Donovan 59602fdee8 go/analysis: several little fixes
internal/checker
- don't display "[name.category]" in diagnostic
  output. Most users don't care which analyzer reported the message.
  The -json output retains this information.
- print better log messages for analyze -debug=f.
- print (non-JSON) text output to standard error, like a compiler would.

passes/pkgfact
- fix a nil deref panic when encountering non-renaming imports.
- require names to have underscores before and after (_x_)
  as this avoids a huge number of spurious matches in (e.g.) the
  syscall package.
- don't export empty facts.

Change-Id: I86c003b96521334e371f9d5fcea1323cd779d7f0
Reviewed-on: https://go-review.googlesource.com/c/139657
Reviewed-by: Michael Matloob <matloob@golang.org>
Run-TryBot: Michael Matloob <matloob@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
2018-10-04 16:37:42 +00:00
..
analysistest go/analysis/analysistest: unset GO111MODULE and GOPROXY 2018-10-04 16:37:18 +00:00
cmd/analyze go/analysis/internal/checker: analysis driver based on go/packages 2018-09-26 01:25:07 +00:00
internal/checker go/analysis: several little fixes 2018-10-04 16:37:42 +00:00
multichecker go/analysis: add command-line help 2018-09-28 16:51:45 +00:00
passes go/analysis: several little fixes 2018-10-04 16:37:42 +00:00
singlechecker go/analysis: add command-line help 2018-09-28 16:51:45 +00:00
analysis.go go/analysis: add command-line help 2018-09-28 16:51:45 +00:00
validate.go go/analysis: revert UsesFacts to FactTypes 2018-09-27 16:40:32 +00:00