1
0
mirror of https://github.com/golang/go synced 2024-11-22 14:15:05 -07:00
go/misc
Matthew Dempsky 8c0256b398 cmd/cgo: walk {FuncType,TypeSpec}.TypeParams fields
This CL updates the cgo tool to walk the TypeParams fields for
function types and type declarations, so that C.xxx identifiers can
appear within type parameter lists.

Fixes #52542.

Change-Id: Id02a88d529d50fe59b0a834f415c2575204ffd1f
Reviewed-on: https://go-review.googlesource.com/c/go/+/453977
Run-TryBot: Matthew Dempsky <mdempsky@google.com>
Reviewed-by: Ian Lance Taylor <iant@google.com>
Auto-Submit: Matthew Dempsky <mdempsky@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
2022-11-30 21:45:10 +00:00
..
android misc: use strings.Builder 2022-09-06 15:44:25 +00:00
arm
cgo cmd/cgo: walk {FuncType,TypeSpec}.TypeParams fields 2022-11-30 21:45:10 +00:00
chrome/gophertool
ios all: gofmt main repo 2022-04-11 16:34:30 +00:00
linkcheck
reboot cmd/go: omit VCS stamping during bootstrap 2022-09-22 18:55:06 +00:00
swig
wasm misc/wasm: update deprecated substr usage 2022-09-27 17:15:12 +00:00
editors
go.mod