From cb2168071403992087a9c3323c53aa7087246228 Mon Sep 17 00:00:00 2001 From: Antonio Maiorano Date: Tue, 16 Mar 2021 16:31:33 +0000 Subject: [PATCH] TestHelper: rename td_ to resolver_ Change-Id: I7fb82fa6c2802747762fca3af1d5e59eb44ffb5a Reviewed-on: https://dawn-review.googlesource.com/c/tint/+/44881 Auto-Submit: Antonio Maiorano Reviewed-by: Ben Clayton Commit-Queue: Ben Clayton --- src/resolver/resolver_test_helper.cc | 2 +- src/resolver/resolver_test_helper.h | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) 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 {};