tools/go/analysis/passes/lostcancel
Shengyu Zhang 9529901698 lostcancel: do not analyze cancel variable which defined outside current function scope
See golang/go#31856.

Change-Id: I229a7f4a48e7806df62941f801302b6da8a0c12b
GitHub-Last-Rev: 33f85236bb79e325112866ee555950a4479ad7a7
GitHub-Pull-Request: golang/tools#95
Reviewed-on: https://go-review.googlesource.com/c/tools/+/175617
Reviewed-by: Alan Donovan <adonovan@google.com>
Run-TryBot: Alan Donovan <adonovan@google.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
2019-05-08 02:57:53 +00:00
..
cmd/lostcancel go/analysis: fix package doc copy-paste typo 2019-01-07 15:52:54 +00:00
testdata/src lostcancel: do not analyze cancel variable which defined outside current function scope 2019-05-08 02:57:53 +00:00
lostcancel.go lostcancel: do not analyze cancel variable which defined outside current function scope 2019-05-08 02:57:53 +00:00
lostcancel_test.go cmd/vet: lostcancel: suppress the check in the main.main function 2018-11-09 18:25:37 +00:00