Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(799)

Issue 103080043: code review 103080043: cmd/cgo: for typedef of untagged struct, use typedef na... (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
9 years, 10 months ago by iant
Modified:
9 years, 10 months ago
Reviewers:
cookieo9, rsc
CC:
rsc, cookieo9, golang-codereviews
Visibility:
Public.

Description

cmd/cgo: for typedef of untagged struct, use typedef name in C code Fixes issue 8148.

Patch Set 1 #

Total comments: 2

Patch Set 2 : diff -r 318b56ffe04b https://code.google.com/p/go #

Patch Set 3 : diff -r ccf7893cc2f0 https://code.google.com/p/go #

Patch Set 4 : diff -r 12c9a9ff50d8 https://code.google.com/p/go #

Unified diffs Side-by-side diffs Delta from patch set Stats (+36 lines, -0 lines) Patch
A misc/cgo/test/issue8148.go View 1 1 chunk +31 lines, -0 lines 0 comments Download
M src/cmd/cgo/gcc.go View 1 2 1 chunk +5 lines, -0 lines 0 comments Download

Messages

Total messages: 14
iant
Hello rsc (cc: golang-codereviews@googlegroups.com), I'd like you to review this change to https://code.google.com/p/go
9 years, 10 months ago (2014-06-04 03:53:03 UTC) #1
rsc
Can we do this only if the struct is unnamed? I am worried about some ...
9 years, 10 months ago (2014-06-04 03:59:36 UTC) #2
cookieo9
On 2014/06/04 03:53:03, iant wrote: > Hello rsc (cc: mailto:golang-codereviews@googlegroups.com), > > I'd like you ...
9 years, 10 months ago (2014-06-04 04:11:49 UTC) #3
iant
On Tue, Jun 3, 2014 at 8:59 PM, Russ Cox <rsc@golang.org> wrote: > Can we ...
9 years, 10 months ago (2014-06-04 13:15:08 UTC) #4
iant
On Tue, Jun 3, 2014 at 9:11 PM, <cookieo9@gmail.com> wrote: > > Although this does ...
9 years, 10 months ago (2014-06-04 13:16:42 UTC) #5
cookieo9
On 2014/06/04 13:16:42, iant wrote: > On Tue, Jun 3, 2014 at 9:11 PM, <mailto:cookieo9@gmail.com> ...
9 years, 10 months ago (2014-06-04 14:12:17 UTC) #6
cookieo9
https://codereview.appspot.com/103080043/diff/1/misc/cgo/test/issue8148.go File misc/cgo/test/issue8148.go (right): https://codereview.appspot.com/103080043/diff/1/misc/cgo/test/issue8148.go#newcode12 misc/cgo/test/issue8148.go:12: typedef struct { int i; } T; The original ...
9 years, 10 months ago (2014-06-04 14:12:31 UTC) #7
cookieo9
On 2014/06/04 14:12:31, cookieo9 wrote: > https://codereview.appspot.com/103080043/diff/1/misc/cgo/test/issue8148.go > File misc/cgo/test/issue8148.go (right): > > https://codereview.appspot.com/103080043/diff/1/misc/cgo/test/issue8148.go#newcode12 > ...
9 years, 10 months ago (2014-06-04 14:14:18 UTC) #8
iant
Thanks. https://codereview.appspot.com/103080043/diff/1/misc/cgo/test/issue8148.go File misc/cgo/test/issue8148.go (right): https://codereview.appspot.com/103080043/diff/1/misc/cgo/test/issue8148.go#newcode12 misc/cgo/test/issue8148.go:12: typedef struct { int i; } T; On ...
9 years, 10 months ago (2014-06-04 14:26:08 UTC) #9
cookieo9
On 2014/06/04 14:26:08, iant wrote: > Thanks. > > https://codereview.appspot.com/103080043/diff/1/misc/cgo/test/issue8148.go > File misc/cgo/test/issue8148.go (right): > ...
9 years, 10 months ago (2014-06-04 14:46:04 UTC) #10
rsc
LGTM
9 years, 10 months ago (2014-06-05 16:40:09 UTC) #11
iant
I realized this might crash when using -godefs or -cdefs, so I tweaked it.
9 years, 10 months ago (2014-06-05 17:34:56 UTC) #12
rsc
LGTM
9 years, 10 months ago (2014-06-05 17:35:22 UTC) #13
iant
9 years, 10 months ago (2014-06-05 17:42:07 UTC) #14
*** Submitted as https://code.google.com/p/go/source/detail?r=5e058e21b67d ***

cmd/cgo: for typedef of untagged struct, use typedef name in C code

Fixes issue 8148.

LGTM=cookieo9, rsc
R=rsc, cookieo9
CC=golang-codereviews
https://codereview.appspot.com/103080043
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b