1
0
mirror of https://github.com/golang/go synced 2024-11-13 20:10:32 -07:00
go/src/cmd
Josh Bleecher Snyder 8b68fafd1f cmd/compile: simplify walkprint
Superficial simplifications: reduce variable scope,
eliminate pointless temporaries, use a switch statement.

Passes toolstash-check.

Change-Id: I6450493a0583a6ce8ec0461b66954cf1445a754f
Reviewed-on: https://go-review.googlesource.com/55095
Run-TryBot: Josh Bleecher Snyder <josharian@gmail.com>
Reviewed-by: Daniel Martí <mvdan@mvdan.cc>
Reviewed-by: Marvin Stenger <marvin.stenger94@gmail.com>
Reviewed-by: Matthew Dempsky <mdempsky@google.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
2017-08-15 21:53:43 +00:00
..
addr2line
api
asm cmd/internal/obj/arm64: fix assemble stxr/stxrw/stxrb/stxrh bug 2017-08-15 14:05:29 +00:00
cgo cmd/cgo: use first error position instead of last one 2017-08-14 05:29:11 +00:00
compile cmd/compile: simplify walkprint 2017-08-15 21:53:43 +00:00
cover
dist cmd/dist: add doc file to fix go doc dist 2017-08-11 18:00:53 +00:00
doc cmd/doc: print Go syntax when printing struct.field docs 2017-07-06 21:57:52 +00:00
fix
go cmd/go: correctly quote environment variables in -x output 2017-08-15 00:13:56 +00:00
gofmt
internal cmd/internal/obj/arm64: improve arm64 wrapper prologue 2017-08-15 14:01:54 +00:00
link cmd/link: skip TestSizes on Plan 9 2017-08-15 10:10:42 +00:00
nm
objdump
pack
pprof
trace cmd/trace: don't shift trace slices to 0 2017-08-11 17:53:17 +00:00
vendor Revert "cmd/vendor/github.com/google/pprof: refresh from upstream" 2017-06-20 19:46:11 +00:00
vet cmd/vet: fix a couple of minor word choices in README 2017-08-14 04:15:59 +00:00