diff options
| author | Matthew Dempsky <mdempsky@google.com> | 2020-12-23 03:33:03 -0800 |
|---|---|---|
| committer | Matthew Dempsky <mdempsky@google.com> | 2020-12-23 12:01:07 +0000 |
| commit | 53f082b0ee81f14d1b1a1c997e2f8e9164af37bc (patch) | |
| tree | 5c83cb0ef494caf07d97e57d35f9a77d5a5d9491 /src/cmd/compile/internal/noder/noder.go | |
| parent | 31267f82e16249a1d9065099c615a936dc32688b (diff) | |
| download | go-53f082b0ee81f14d1b1a1c997e2f8e9164af37bc.tar.xz | |
[dev.regabi] cmd/compile: cleanup export code further
This CL rips off a number of toolstash bandages:
- Fixes position information for string concatenation.
- Adds position information for struct literal fields.
- Removes unnecessary exprsOrNil calls or replaces them with plain
expr calls when possible.
- Reorders conversion expressions to put type first, which matches
source order and also the order the importer needs for calling the
ConvExpr constructor.
Change-Id: I44cdc6035540d9ecefd9c1bcd92b8711d6ed813c
Reviewed-on: https://go-review.googlesource.com/c/go/+/279957
Trust: Matthew Dempsky <mdempsky@google.com>
Run-TryBot: Matthew Dempsky <mdempsky@google.com>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: Cuong Manh Le <cuong.manhle.vn@gmail.com>
Diffstat (limited to 'src/cmd/compile/internal/noder/noder.go')
0 files changed, 0 insertions, 0 deletions
