1
0
mirror of https://github.com/golang/go synced 2024-11-18 10:24:42 -07:00
go/misc/cgo/test
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
..
gcc68255 misc/cgo/test: simplify for module mode 2022-11-04 20:47:59 +00:00
issue8756 misc/cgo/test: simplify for module mode 2022-11-04 20:47:59 +00:00
issue8828 misc/cgo/test: simplify for module mode 2022-11-04 20:47:59 +00:00
issue9026 misc/cgo/test: simplify for module mode 2022-11-04 20:47:59 +00:00
issue9400 misc/cgo/test: simplify for module mode 2022-11-04 20:47:59 +00:00
issue9510a misc/cgo/test: simplify for module mode 2022-11-04 20:47:59 +00:00
issue9510b misc/cgo/test: simplify for module mode 2022-11-04 20:47:59 +00:00
issue20266 misc/cgo/test: simplify for module mode 2022-11-04 20:47:59 +00:00
issue23555a misc/cgo/test: simplify for module mode 2022-11-04 20:47:59 +00:00
issue23555b misc/cgo/test: simplify for module mode 2022-11-04 20:47:59 +00:00
issue24161arg misc/cgo/test: simplify for module mode 2022-11-04 20:47:59 +00:00
issue24161e0 misc/cgo/test: simplify for module mode 2022-11-04 20:47:59 +00:00
issue24161e1 misc/cgo/test: simplify for module mode 2022-11-04 20:47:59 +00:00
issue24161e2 misc/cgo/test: simplify for module mode 2022-11-04 20:47:59 +00:00
issue24161res misc/cgo/test: simplify for module mode 2022-11-04 20:47:59 +00:00
issue26213 misc/cgo/test: simplify for module mode 2022-11-04 20:47:59 +00:00
issue26430 misc/cgo/test: simplify for module mode 2022-11-04 20:47:59 +00:00
issue26743 misc/cgo/test: simplify for module mode 2022-11-04 20:47:59 +00:00
issue27054 misc/cgo/test: simplify for module mode 2022-11-04 20:47:59 +00:00
issue27340 misc/cgo/test: simplify for module mode 2022-11-04 20:47:59 +00:00
issue29563 misc/cgo/test: simplify for module mode 2022-11-04 20:47:59 +00:00
issue30527 misc/cgo/test: simplify for module mode 2022-11-04 20:47:59 +00:00
issue41761a misc/cgo/test: simplify for module mode 2022-11-04 20:47:59 +00:00
issue43639 misc/cgo/test: simplify for module mode 2022-11-04 20:47:59 +00:00
issue52611a misc/cgo/test: simplify for module mode 2022-11-04 20:47:59 +00:00
issue52611b misc/cgo/test: simplify for module mode 2022-11-04 20:47:59 +00:00
backdoor.go
buildid_linux.go
callback_c_gc.c
callback_c_gccgo.c
callback_c.c misc/cgo/test: remove timing dependency from TestParallelSleep 2022-04-21 18:43:55 +00:00
callback.go runtime: unify asmcgocall and systemstack traceback setup 2021-02-19 00:02:06 +00:00
cgo_linux_test.go misc/cgo/test: skip Test9400 on Alpine 2022-11-07 21:15:29 +00:00
cgo_stubs_android_test.go
cgo_test.go misc/cgo/test: simplify for module mode 2022-11-04 20:47:59 +00:00
cgo_thread_lock.go all: gofmt more (but vendor, testdata, and top-level test directories) 2021-08-13 20:45:17 +00:00
cgo_unix_test.go all: gofmt more (but vendor, testdata, and top-level test directories) 2021-08-13 20:45:17 +00:00
cthread_unix.c
cthread_windows.c
gcc68255.go misc/cgo/test: simplify for module mode 2022-11-04 20:47:59 +00:00
issue1435.go all: disable tests that fail on Alpine 2022-08-02 17:23:42 +00:00
issue4029.c cmd/link: support cgo internal/linking on darwin/arm64 2020-10-20 02:25:52 +00:00
issue4029.go all: gofmt more (but vendor, testdata, and top-level test directories) 2021-08-13 20:45:17 +00:00
issue4029w.go all: gofmt more (but vendor, testdata, and top-level test directories) 2021-08-13 20:45:17 +00:00
issue4273.c
issue4273b.c
issue4339.c
issue4339.h
issue5548_c.c
issue5740a.c
issue5740b.c
issue6833_c.c
issue6907export_c.c
issue6997_linux.c
issue6997_linux.go all: gofmt more (but vendor, testdata, and top-level test directories) 2021-08-13 20:45:17 +00:00
issue7234_test.go
issue8148.c misc/cgo/test: do not redeclare exported Go functions 2021-04-23 21:42:52 +00:00
issue8148.go misc/cgo/test: do not redeclare exported Go functions 2021-04-23 21:42:52 +00:00
issue8331.h
issue8517_windows.c
issue8517_windows.go
issue8517.go all: gofmt more (but vendor, testdata, and top-level test directories) 2021-08-13 20:45:17 +00:00
issue8694.go all: gofmt more (but vendor, testdata, and top-level test directories) 2021-08-13 20:45:17 +00:00
issue8756.go misc/cgo/test: simplify for module mode 2022-11-04 20:47:59 +00:00
issue8811.c
issue8828.go misc/cgo/test: simplify for module mode 2022-11-04 20:47:59 +00:00
issue9026.go misc/cgo/test: simplify for module mode 2022-11-04 20:47:59 +00:00
issue9400_linux.go misc/cgo/test: simplify for module mode 2022-11-04 20:47:59 +00:00
issue9510.go misc/cgo/test: simplify for module mode 2022-11-04 20:47:59 +00:00
issue18146.go all: gofmt more (but vendor, testdata, and top-level test directories) 2021-08-13 20:45:17 +00:00
issue20266.go misc/cgo/test: simplify for module mode 2022-11-04 20:47:59 +00:00
issue20910.c
issue21897.go all: gofmt more (but vendor, testdata, and top-level test directories) 2021-08-13 20:45:17 +00:00
issue21897b.go all: gofmt more (but vendor, testdata, and top-level test directories) 2021-08-13 20:45:17 +00:00
issue23555.go misc/cgo/test: simplify for module mode 2022-11-04 20:47:59 +00:00
issue24161_darwin_test.go misc/cgo/test: simplify for module mode 2022-11-04 20:47:59 +00:00
issue26430.go misc/cgo/test: simplify for module mode 2022-11-04 20:47:59 +00:00
issue26743.go misc/cgo/test: simplify for module mode 2022-11-04 20:47:59 +00:00
issue27340.go misc/cgo/test: simplify for module mode 2022-11-04 20:47:59 +00:00
issue29563.go misc/cgo/test: simplify for module mode 2022-11-04 20:47:59 +00:00
issue30527.go misc/cgo/test: simplify for module mode 2022-11-04 20:47:59 +00:00
issue31891.c
issue41761.go misc/cgo/test: simplify for module mode 2022-11-04 20:47:59 +00:00
issue42018_windows.go cmd/cgo: add go:notinheap annotation to Windows handle types 2021-09-22 18:10:24 +00:00
issue42018.go cmd/cgo: add go:notinheap annotation to Windows handle types 2021-09-22 18:10:24 +00:00
issue42495.go cmd/cgo: fix initialization of empty argument types 2020-11-13 15:15:15 +00:00
issue43639.go misc/cgo/test: simplify for module mode 2022-11-04 20:47:59 +00:00
issue52611.go misc/cgo/test: simplify for module mode 2022-11-04 20:47:59 +00:00
setgid2_linux.go misc/cgo/test: use fewer threads in TestSetgidStress in long mode 2022-07-27 20:21:13 +00:00
setgid_linux.go all: simplify the spelling of Linux 2021-04-13 13:56:21 +00:00
sigaltstack.go all: gofmt more (but vendor, testdata, and top-level test directories) 2021-08-13 20:45:17 +00:00
sigprocmask.c
sigprocmask.go all: gofmt more (but vendor, testdata, and top-level test directories) 2021-08-13 20:45:17 +00:00
test26213.go misc/cgo/test: simplify for module mode 2022-11-04 20:47:59 +00:00
test_unix.go all: gofmt more (but vendor, testdata, and top-level test directories) 2021-08-13 20:45:17 +00:00
test_windows.go
test.go cmd/cgo: walk {FuncType,TypeSpec}.TypeParams fields 2022-11-30 21:45:10 +00:00
testx.c misc/cgo/test: do not redeclare exported Go functions 2021-04-23 21:42:52 +00:00
testx.go misc/cgo/test: remove timing dependency from TestParallelSleep 2022-04-21 18:43:55 +00:00
typeparam.go cmd/cgo: update to handle ast.IndexListExpr 2021-10-07 18:02:14 +00:00