Commit df435456 by Ian Lance Taylor

compiler: fix brace formatting

    
    Just happened to notice this one.
    
    Reviewed-on: https://go-review.googlesource.com/c/gofrontend/+/197698

From-SVN: r276186
parent f7a3a382
d81ff42c367cce2110ccf5ddbadb6cc9bdf94e28 d1fa6c34e56eade6fb5b6291f0a727b1a12bf6f1
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.
...@@ -965,12 +965,13 @@ Type::get_backend(Gogo* gogo) ...@@ -965,12 +965,13 @@ Type::get_backend(Gogo* gogo)
if (this->btype_ != NULL) if (this->btype_ != NULL)
return this->btype_; return this->btype_;
if (this->named_type() != NULL && this->named_type()->is_alias()) { if (this->named_type() != NULL && this->named_type()->is_alias())
Btype* bt = this->unalias()->get_backend(gogo); {
if (gogo != NULL && gogo->named_types_are_converted()) Btype* bt = this->unalias()->get_backend(gogo);
this->btype_ = bt; if (gogo != NULL && gogo->named_types_are_converted())
return bt; this->btype_ = bt;
} return bt;
}
if (this->forward_declaration_type() != NULL if (this->forward_declaration_type() != NULL
|| this->named_type() != NULL) || this->named_type() != NULL)
......
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