TestHelper: rename td_ to resolver_
Change-Id: I7fb82fa6c2802747762fca3af1d5e59eb44ffb5a Reviewed-on: https://dawn-review.googlesource.com/c/tint/+/44881 Auto-Submit: Antonio Maiorano <amaiorano@google.com> Reviewed-by: Ben Clayton <bclayton@google.com> Commit-Queue: Ben Clayton <bclayton@google.com>
This commit is contained in:
parent
ac39fb44bb
commit
cb21680714
|
@ -19,7 +19,7 @@
|
|||
namespace tint {
|
||||
namespace resolver {
|
||||
|
||||
TestHelper::TestHelper() : td_(std::make_unique<Resolver>(this)) {}
|
||||
TestHelper::TestHelper() : resolver_(std::make_unique<Resolver>(this)) {}
|
||||
|
||||
TestHelper::~TestHelper() = default;
|
||||
|
||||
|
|
|
@ -38,7 +38,7 @@ class TestHelper : public ProgramBuilder {
|
|||
~TestHelper() override;
|
||||
|
||||
/// @return a pointer to the Resolver
|
||||
Resolver* r() const { return td_.get(); }
|
||||
Resolver* r() const { return resolver_.get(); }
|
||||
|
||||
/// Returns the statement that holds the given expression.
|
||||
/// @param expr the ast::Expression
|
||||
|
@ -68,7 +68,7 @@ class TestHelper : public ProgramBuilder {
|
|||
}
|
||||
|
||||
private:
|
||||
std::unique_ptr<Resolver> td_;
|
||||
std::unique_ptr<Resolver> resolver_;
|
||||
};
|
||||
|
||||
class ResolverTest : public TestHelper, public testing::Test {};
|
||||
|
|
Loading…
Reference in New Issue