mirror of
https://github.com/golang/go.git
synced 2025-12-08 06:10:04 +00:00
[dev.regabi] cmd/compile: unexport ir.FmtNode
It's only used inside package ir now. [git-generate] cd src/cmd/compile/internal/ir rf 'mv FmtNode fmtNode' sed -i 's/FmtNode/fmtNode/g' mknode.go go generate Change-Id: Ib8f6c6984905a4d4cfca1b23972a39c5ea30ff42 Reviewed-on: https://go-review.googlesource.com/c/go/+/279451 Trust: Cuong Manh Le <cuong.manhle.vn@gmail.com> Run-TryBot: Cuong Manh Le <cuong.manhle.vn@gmail.com> TryBot-Result: Go Bot <gobot@golang.org> Reviewed-by: Matthew Dempsky <mdempsky@google.com>
This commit is contained in:
parent
f5816624cd
commit
9958b7ed3e
3 changed files with 59 additions and 59 deletions
|
|
@ -128,7 +128,7 @@ func (o Op) Format(s fmt.State, verb rune) {
|
|||
// %L Go syntax followed by " (type T)" if type is known.
|
||||
// %+v Debug syntax, as in Dump.
|
||||
//
|
||||
func FmtNode(n Node, s fmt.State, verb rune) {
|
||||
func fmtNode(n Node, s fmt.State, verb rune) {
|
||||
// %+v prints Dump.
|
||||
// Otherwise we print Go syntax.
|
||||
if s.Flag('+') && verb == 'v' {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue