diff --git a/src/resolver/resolver_test_helper.cc b/src/resolver/resolver_test_helper.cc index ef3ff64f25..17ffa5c0df 100644 --- a/src/resolver/resolver_test_helper.cc +++ b/src/resolver/resolver_test_helper.cc @@ -19,7 +19,7 @@ namespace tint { namespace resolver { -TestHelper::TestHelper() : td_(std::make_unique(this)) {} +TestHelper::TestHelper() : resolver_(std::make_unique(this)) {} TestHelper::~TestHelper() = default; diff --git a/src/resolver/resolver_test_helper.h b/src/resolver/resolver_test_helper.h index ad60ab9ad7..c06b0a38c0 100644 --- a/src/resolver/resolver_test_helper.h +++ b/src/resolver/resolver_test_helper.h @@ -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 td_; + std::unique_ptr resolver_; }; class ResolverTest : public TestHelper, public testing::Test {};