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 tint {
|
||||||
namespace resolver {
|
namespace resolver {
|
||||||
|
|
||||||
TestHelper::TestHelper() : td_(std::make_unique<Resolver>(this)) {}
|
TestHelper::TestHelper() : resolver_(std::make_unique<Resolver>(this)) {}
|
||||||
|
|
||||||
TestHelper::~TestHelper() = default;
|
TestHelper::~TestHelper() = default;
|
||||||
|
|
||||||
|
|
|
@ -38,7 +38,7 @@ class TestHelper : public ProgramBuilder {
|
||||||
~TestHelper() override;
|
~TestHelper() override;
|
||||||
|
|
||||||
/// @return a pointer to the Resolver
|
/// @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.
|
/// Returns the statement that holds the given expression.
|
||||||
/// @param expr the ast::Expression
|
/// @param expr the ast::Expression
|
||||||
|
@ -68,7 +68,7 @@ class TestHelper : public ProgramBuilder {
|
||||||
}
|
}
|
||||||
|
|
||||||
private:
|
private:
|
||||||
std::unique_ptr<Resolver> td_;
|
std::unique_ptr<Resolver> resolver_;
|
||||||
};
|
};
|
||||||
|
|
||||||
class ResolverTest : public TestHelper, public testing::Test {};
|
class ResolverTest : public TestHelper, public testing::Test {};
|
||||||
|
|
Loading…
Reference in New Issue