aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorPhilip Herron <philip.herron@embecosm.com>2021-11-16 13:06:33 +0000
committerPhilip Herron <philip.herron@embecosm.com>2021-11-16 14:03:58 +0000
commit766f989251a87673d80831521fac002e0263f122 (patch)
treed88b76796f7c0e4ffe2fc5ccf184a69a47585bcf /gcc
parentdcd758595f646a480947265ccc9833fdd3976b75 (diff)
downloadgcc-766f989251a87673d80831521fac002e0263f122.zip
gcc-766f989251a87673d80831521fac002e0263f122.tar.gz
gcc-766f989251a87673d80831521fac002e0263f122.tar.bz2
Remove useless comments from HIR::MethodCallExpr
Diffstat (limited to 'gcc')
-rw-r--r--gcc/rust/hir/tree/rust-hir-expr.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/gcc/rust/hir/tree/rust-hir-expr.h b/gcc/rust/hir/tree/rust-hir-expr.h
index 575d1f6..37ec15d 100644
--- a/gcc/rust/hir/tree/rust-hir-expr.h
+++ b/gcc/rust/hir/tree/rust-hir-expr.h
@@ -1635,7 +1635,6 @@ class MethodCallExpr : public ExprWithoutBlock
{
std::unique_ptr<Expr> receiver;
PathExprSegment method_name;
- // inlined form of CallParams
std::vector<std::unique_ptr<Expr> > params;
Location locus;
@@ -1643,10 +1642,6 @@ class MethodCallExpr : public ExprWithoutBlock
public:
std::string as_string () const override;
- /*inline std::vector<std::unique_ptr<Expr>> get_params() const {
- return params;
- }*/
-
MethodCallExpr (Analysis::NodeMapping mappings,
std::unique_ptr<Expr> call_receiver,
PathExprSegment method_path,