cmd/compile: rename gc.exportname to types.IsExported

gofmt -r 'exportname(s) -> types.IsExported(s)'

Passes toolstash-check.

Change-Id: I6b428bd039c135be66d8b81c325d4e08bae69f24
Reviewed-on: https://go-review.googlesource.com/105938
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
Run-TryBot: Matthew Dempsky <mdempsky@google.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
This commit is contained in:
Matthew Dempsky 2018-04-09 15:22:01 -07:00
parent c5dd254393
commit 71bac7efe4
11 changed files with 44 additions and 42 deletions

View file

@ -183,7 +183,7 @@ func addptabs() {
if n.Op != ONAME {
continue
}
if !exportname(s.Name) {
if !types.IsExported(s.Name) {
continue
}
if s.Pkg.Name != "main" {