go/go/analysis
Rohan Challa c12078ef08 go/analysis/passes/unreachable: add suggested-fix to remove dead code
This change adds suggested fixes to the unreachable analysis pass by giving the user a fix to remove the code.

Change-Id: If0add84e6977f12a1cef6e92120a1b4571b95a11
Reviewed-on: https://go-review.googlesource.com/c/tools/+/223664
Run-TryBot: Rohan Challa <rohan@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Rebecca Stambler <rstambler@golang.org>
2020-03-27 18:58:09 +00:00
..
analysistest go/analysis/analysistest: expand testing to handle suggested fixes 2020-03-26 19:47:25 +00:00
doc all: fix more typos 2019-09-11 15:13:14 +00:00
internal internal/lsp: add support for type error analyzers 2020-03-27 17:27:16 +00:00
multichecker Revert "go/packages: temporarily disable some tests running on go tip with -race" 2019-10-28 14:32:39 +00:00
passes go/analysis/passes/unreachable: add suggested-fix to remove dead code 2020-03-27 18:58:09 +00:00
singlechecker go/analysis/singlechecker: append a newline after "Flags:" 2020-03-12 17:39:32 +00:00
unitchecker go/analysis/unitchecker: add erroras analysis to align with go vet 2019-11-11 15:48:04 +00:00
analysis.go internal/lsp: add support for type error analyzers 2020-03-27 17:27:16 +00:00
diagnostic.go go/analysis, internal/lsp: add support for related information 2019-10-21 19:00:55 +00:00
doc.go all: fix some staticcheck errors 2020-01-29 04:53:41 +00:00
validate.go go/analysis: remove requirement for unique Analyzer names 2019-10-16 18:38:41 +00:00