From 2190a8f4802f9c456aca37f6221d1a3a2c87b1b9 Mon Sep 17 00:00:00 2001 From: Ben Clayton Date: Mon, 7 Dec 2020 21:11:47 +0000 Subject: [PATCH] ast: Remove ReturnStatement set_value() Unused. Bug: tint:390 Change-Id: If2832da7181e168f8a3bb8c986d8ee2d469b25b2 Reviewed-on: https://dawn-review.googlesource.com/c/tint/+/35011 Commit-Queue: Ben Clayton Reviewed-by: dan sinclair --- src/ast/return_statement.h | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/ast/return_statement.h b/src/ast/return_statement.h index 547411ace6..8b00e2a000 100644 --- a/src/ast/return_statement.h +++ b/src/ast/return_statement.h @@ -38,9 +38,6 @@ class ReturnStatement : public Castable { ReturnStatement(ReturnStatement&&); ~ReturnStatement() override; - /// Sets the value - /// @param value the value - void set_value(Expression* value) { value_ = value; } /// @returns the value Expression* value() const { return value_; } /// @returns true if the return has a value