Commit 1a16d277 by Ian Lance Taylor

compiler: Verify pointer type's underlying type.

    
    Fixes golang/go#11547.
    
    Reviewed-on: https://go-review.googlesource.com/13031

From-SVN: r226598
parent d69eea11
df080adb06f0e423820f3f6b9604b0c1093ff20a 6fb7c3509a4eda7d2403900981b53029d6727037
The first line of this file holds the git revision number of the last The first line of this file holds the git revision number of the last
merge done from the gofrontend repository. merge done from the gofrontend repository.
...@@ -2033,6 +2033,10 @@ class Pointer_type : public Type ...@@ -2033,6 +2033,10 @@ class Pointer_type : public Type
do_traverse(Traverse*); do_traverse(Traverse*);
bool bool
do_verify()
{ return this->to_type_->verify(); }
bool
do_has_pointer() const do_has_pointer() const
{ return true; } { return true; }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment