golang/src/go/printer/testdata
Alan Donovan e201ff2b98 go/ast: add Unparen(Expr) helper
Fixes #60061

Change-Id: If1bc03f9367620c9ea8702bfd4648020d5ab52ea
Reviewed-on: https://go-review.googlesource.com/c/go/+/495315
Reviewed-by: Matthew Dempsky <mdempsky@google.com>
Reviewed-by: Robert Griesemer <gri@google.com>
Auto-Submit: Alan Donovan <adonovan@google.com>
Run-TryBot: Alan Donovan <adonovan@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
2023-07-20 20:19:51 +00:00
..
alignment.golden go/printer: consider empty lines in table layout computation 2018-08-14 20:40:15 +00:00
alignment.input go/printer: consider empty lines in table layout computation 2018-08-14 20:40:15 +00:00
comments.golden go/printer: if comment gets formatted away, don't squash 2022-05-25 23:11:14 +00:00
comments.input go/printer: if comment gets formatted away, don't squash 2022-05-25 23:11:14 +00:00
comments.x go/printer: format doc comments 2022-04-11 16:31:50 +00:00
comments2.golden go/printer: format doc comments 2022-04-11 16:31:50 +00:00
comments2.input
complit.input go/ast: hide unexported fields in composite literals 2018-05-01 19:53:32 +00:00
complit.x go/ast: hide unexported fields in composite literals 2018-05-01 19:53:32 +00:00
declarations.golden go/*,cmd/gofmt: guard AST changes with the typeparams build tag 2021-04-13 22:24:31 +00:00
declarations.input go/*,cmd/gofmt: guard AST changes with the typeparams build tag 2021-04-13 22:24:31 +00:00
doc.golden go/printer: format doc comments 2022-04-11 16:31:50 +00:00
doc.input go/printer: format doc comments 2022-04-11 16:31:50 +00:00
empty.golden
empty.input
expressions.golden go/printer: allow one-method interfaces to be printed on a single line 2017-10-03 16:41:54 +00:00
expressions.input go/printer: allow one-method interfaces to be printed on a single line 2017-10-03 16:41:54 +00:00
expressions.raw go/printer: allow one-method interfaces to be printed on a single line 2017-10-03 16:41:54 +00:00
generics.golden go/printer: fix printing for possibly ambiguous type constraints 2022-05-06 16:18:34 +00:00
generics.input go/printer: fix printing for possibly ambiguous type constraints 2022-05-06 16:18:34 +00:00
go2numbers.golden cmd/gofmt, go/format, go/printer: move number normalization to printer 2020-05-01 21:54:06 +00:00
go2numbers.input cmd/gofmt, go/format, go/printer: move number normalization to printer 2020-05-01 21:54:06 +00:00
go2numbers.norm go/printer: remove exported StdFormat flag 2020-07-17 02:15:01 +00:00
gobuild1.golden go/printer: canonicalize //go:build and // +build lines while formatting 2021-02-20 03:54:46 +00:00
gobuild1.input go/printer: canonicalize //go:build and // +build lines while formatting 2021-02-20 03:54:46 +00:00
gobuild2.golden go/printer: canonicalize //go:build and // +build lines while formatting 2021-02-20 03:54:46 +00:00
gobuild2.input go/printer: canonicalize //go:build and // +build lines while formatting 2021-02-20 03:54:46 +00:00
gobuild3.golden go/printer: canonicalize //go:build and // +build lines while formatting 2021-02-20 03:54:46 +00:00
gobuild3.input go/printer: canonicalize //go:build and // +build lines while formatting 2021-02-20 03:54:46 +00:00
gobuild4.golden go/printer: canonicalize //go:build and // +build lines while formatting 2021-02-20 03:54:46 +00:00
gobuild4.input go/printer: canonicalize //go:build and // +build lines while formatting 2021-02-20 03:54:46 +00:00
gobuild5.golden go/printer: canonicalize //go:build and // +build lines while formatting 2021-02-20 03:54:46 +00:00
gobuild5.input go/printer: canonicalize //go:build and // +build lines while formatting 2021-02-20 03:54:46 +00:00
gobuild6.golden go/printer: canonicalize //go:build and // +build lines while formatting 2021-02-20 03:54:46 +00:00
gobuild6.input go/printer: canonicalize //go:build and // +build lines while formatting 2021-02-20 03:54:46 +00:00
gobuild7.golden go/printer: canonicalize //go:build and // +build lines while formatting 2021-02-20 03:54:46 +00:00
gobuild7.input go/printer: canonicalize //go:build and // +build lines while formatting 2021-02-20 03:54:46 +00:00
linebreaks.golden go/printer, gofmt: handle raw string literals containing newlines better 2018-04-11 22:03:18 +00:00
linebreaks.input go/printer, gofmt: handle raw string literals containing newlines better 2018-04-11 22:03:18 +00:00
parser.go go/ast: add Unparen(Expr) helper 2023-07-20 20:19:51 +00:00
slow.golden
slow.input
statements.golden
statements.input