]> Cypherpunks.ru repositories - gostls13.git/commit
cmd/vet: bring in sigchanyzer to report unbuffered channels to signal.Notify
authorEmmanuel T Odeke <emmanuel@orijtech.com>
Sun, 7 Mar 2021 07:57:33 +0000 (23:57 -0800)
committerEmmanuel Odeke <emmanuel@orijtech.com>
Mon, 8 Mar 2021 23:13:52 +0000 (23:13 +0000)
commitb6def6a34e049d5d2cc9225d991c4b84427467ec
treef0ce77398588bc4ac54b09ec642f4f0c35f9b0be
parenta08adda12c2af7f597dad9d280282c7e70d4a2dc
cmd/vet: bring in sigchanyzer to report unbuffered channels to signal.Notify

Brings in the static analyzer "sigchanyzer", that we created at
Orijtech, Inc, and already submitted in CL 274352, as

    golang.org/x/tools/go/analysis/passes/sigchanyzer

and add it to cmd/vet as one of the passes.

Fixes #9399

Change-Id: I83708b8ea5ca8ede5ee31efab55cbce7419434ab
Reviewed-on: https://go-review.googlesource.com/c/go/+/299532
Run-TryBot: Emmanuel Odeke <emmanuel@orijtech.com>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: Cuong Manh Le <cuong.manhle.vn@gmail.com>
Reviewed-by: Bryan C. Mills <bcmills@google.com>
Reviewed-by: Ian Lance Taylor <iant@golang.org>
Trust: Cuong Manh Le <cuong.manhle.vn@gmail.com>
Trust: Bryan C. Mills <bcmills@google.com>
src/cmd/vendor/golang.org/x/tools/go/analysis/passes/sigchanyzer/sigchanyzer.go [new file with mode: 0644]
src/cmd/vendor/modules.txt
src/cmd/vet/main.go