]> Cypherpunks.ru repositories - gostls13.git/commit
[dev.regabi] cmd/compile: cleanup //go:generate directives
authorMatthew Dempsky <mdempsky@google.com>
Mon, 28 Dec 2020 23:40:19 +0000 (15:40 -0800)
committerMatthew Dempsky <mdempsky@google.com>
Tue, 29 Dec 2020 02:28:24 +0000 (02:28 +0000)
commit3f370b75fb2f31754132271b2879929daa5f88fd
treef60b47532855b62b06ab1018b36cda078bf0d1a9
parent07569dac4e7e03715b4171a46c220cd5d4d6295b
[dev.regabi] cmd/compile: cleanup //go:generate directives

During recent refactoring, we moved mkbuiltin.go to package typecheck,
but accidentally duplicated its //go:generate directive into a bunch
of other files/directories. This CL cleans up the unnecessary
duplicates.

Also, update all of the stringer invocations to use an explicit file
name, and regenerate their files.

Updates #43369.

Change-Id: I4e493c1fff103d742de0a839d7a3375659270b50
Reviewed-on: https://go-review.googlesource.com/c/go/+/280635
Trust: Matthew Dempsky <mdempsky@google.com>
Trust: Meng Zhuo <mzh@golangcn.org>
Run-TryBot: Matthew Dempsky <mdempsky@google.com>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: Meng Zhuo <mzh@golangcn.org>
src/cmd/compile/internal/gc/main.go
src/cmd/compile/internal/ir/class_string.go
src/cmd/compile/internal/ir/name.go
src/cmd/compile/internal/ir/node.go
src/cmd/compile/internal/ir/op_string.go
src/cmd/compile/internal/noder/import.go
src/cmd/compile/internal/ssagen/abi.go
src/cmd/compile/internal/syntax/operator_string.go
src/cmd/compile/internal/syntax/token_string.go
src/cmd/compile/internal/syntax/tokens.go