mirror of
https://github.com/golang/go
synced 2024-11-06 14:36:22 -07:00
e13a4d9586
When translating C types, cache the in-progress type under its parent names, so that anonymous structs can also be translated for multiple typedefs, without clashing. Standalone types are not affected by this change. Also updated the test for issue 9026 because the C struct name generation algorithm has changed. Fixes #31891 Change-Id: I00cc64852a2617ce33da13f74caec886af05b9f2 Reviewed-on: https://go-review.googlesource.com/c/go/+/181857 Run-TryBot: Tobias Klauser <tobias.klauser@gmail.com> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Ian Lance Taylor <iant@golang.org> |
||
---|---|---|
.. | ||
gcc68255 | ||
issue8756 | ||
issue8828 | ||
issue9026 | ||
issue9400 | ||
issue9510a | ||
issue9510b | ||
issue20266 | ||
issue23555a | ||
issue23555b | ||
issue24161arg | ||
issue24161e0 | ||
issue24161e1 | ||
issue24161e2 | ||
issue24161res | ||
issue26213 | ||
issue26430 | ||
issue26743 | ||
issue27054 | ||
issue27340 | ||
issue29563 | ||
issue30527 | ||
cgo_linux_test.go | ||
cgo_test.go | ||
gcc68255.go | ||
issue8756.go | ||
issue8828.go | ||
issue9026.go | ||
issue9400_linux.go | ||
issue9510.go | ||
issue20266.go | ||
issue23555.go | ||
issue24161_darwin_test.go | ||
issue26430.go | ||
issue26743.go | ||
issue27340.go | ||
issue29563.go | ||
issue30527.go | ||
test26213.go |