diff options
Diffstat (limited to 'gcc/go/gofrontend/expressions.h')
-rw-r--r-- | gcc/go/gofrontend/expressions.h | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/gcc/go/gofrontend/expressions.h b/gcc/go/gofrontend/expressions.h index 2038646..1dc408d 100644 --- a/gcc/go/gofrontend/expressions.h +++ b/gcc/go/gofrontend/expressions.h @@ -903,10 +903,6 @@ class Var_expression : public Expression named_object() const { return this->variable_; } - // Return the name of the variable. - const std::string& - name() const; - protected: Expression* do_lower(Gogo*, Named_object*, int); @@ -1314,10 +1310,6 @@ class Func_expression : public Expression named_object() const { return this->function_; } - // Return the name of the function. - const std::string& - name() const; - // Return the closure for this function. This will return NULL if // the function has no closure, which is the normal case. Expression* |