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

Issue 5528053: code review 5528053: spec: pointer comparison for pointers to 0-sized variables (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
13 years, 5 months ago by gri
Modified:
13 years, 5 months ago
Reviewers:
CC:
r, rsc, iant, golang-dev
Visibility:
Public.

Description

spec: pointer comparison for pointers to 0-sized variables - define "0-sized" - add clarifying sentence to pointer comparison - removed notion "location" which was used only in pointer comparisons and which was never defined Fixes issue 2620.

Patch Set 1 #

Patch Set 2 : diff -r 78944b6b971c https://go.googlecode.com/hg/ #

Patch Set 3 : diff -r 78944b6b971c https://go.googlecode.com/hg/ #

Patch Set 4 : diff -r 78944b6b971c https://go.googlecode.com/hg/ #

Total comments: 4

Patch Set 5 : diff -r 78944b6b971c https://go.googlecode.com/hg/ #

Patch Set 6 : diff -r ed79209c77ce https://go.googlecode.com/hg/ #

Unified diffs Side-by-side diffs Delta from patch set Stats (+8 lines, -3 lines) Patch
M doc/go_spec.html View 1 2 3 4 4 chunks +8 lines, -3 lines 0 comments Download

Messages

Total messages: 8
gri
Hello golang-dev@googlegroups.com, I'd like you to review this change to https://go.googlecode.com/hg/
13 years, 5 months ago (2012-01-09 22:13:05 UTC) #1
r
http://codereview.appspot.com/5528053/diff/5002/doc/go_spec.html File doc/go_spec.html (right): http://codereview.appspot.com/5528053/diff/5002/doc/go_spec.html#newcode2960 doc/go_spec.html:2960: Pointers to distinct <a href="#Size_and_alignment_guarantees">0-sized</a> variables may or may ...
13 years, 5 months ago (2012-01-09 22:24:37 UTC) #2
gri
PTAL http://codereview.appspot.com/5528053/diff/5002/doc/go_spec.html File doc/go_spec.html (right): http://codereview.appspot.com/5528053/diff/5002/doc/go_spec.html#newcode2960 doc/go_spec.html:2960: Pointers to distinct <a href="#Size_and_alignment_guarantees">0-sized</a> variables may or ...
13 years, 5 months ago (2012-01-09 22:29:58 UTC) #3
r
LGTM but wait for others.
13 years, 5 months ago (2012-01-09 22:34:49 UTC) #4
rsc
LGTM If "variable" is the right name, then lgtm. It said "location" before because if ...
13 years, 5 months ago (2012-01-09 22:43:00 UTC) #5
gri
On Mon, Jan 9, 2012 at 2:43 PM, <rsc@golang.org> wrote: > LGTM > > If ...
13 years, 5 months ago (2012-01-09 22:47:52 UTC) #6
iant
LGTM
13 years, 5 months ago (2012-01-10 00:35:37 UTC) #7
gri
13 years, 5 months ago (2012-01-10 00:54:27 UTC) #8
*** Submitted as http://code.google.com/p/go/source/detail?r=9fac7377fc7e ***

spec: pointer comparison for pointers to 0-sized variables

- define "0-sized"
- add clarifying sentence to pointer comparison
- removed notion "location" which was used only in pointer comparisons
  and which was never defined

Fixes issue 2620.

R=r, rsc, iant
CC=golang-dev
http://codereview.appspot.com/5528053
Sign in to reply to this message.

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