cmd/internal/obj: various code cleanups
Mostly replacing C-Style loops with range expressions, but also other simplifications like the introduction of writeBool and unindenting some code. Passes toolstash -cmp on std cmd. Change-Id: I799bccd4e5d411428dcf122b8588a564a9217e7c Reviewed-on: https://go-review.googlesource.com/104936 Run-TryBot: Daniel Martí <mvdan@mvdan.cc> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by:Marvin Stenger <marvin.stenger94@gmail.com> Reviewed-by:
Ilya Tocar <ilya.tocar@intel.com>
Showing
Please
register
or
sign in
to comment