Remove the context object.

This CL strips the context object out of Tint.

Change-Id: Id0dcb9c557b217c03a8d9ac08fc9fe1c799f3fdc
Reviewed-on: https://dawn-review.googlesource.com/c/tint/+/34742
Commit-Queue: dan sinclair <dsinclair@chromium.org>
Reviewed-by: Ben Clayton <bclayton@google.com>
Reviewed-by: Ryan Harrison <rharrison@chromium.org>
This commit is contained in:
dan sinclair
2020-12-07 16:03:54 +00:00
committed by Commit Bot service account
parent bd018d254d
commit c35176eadf
67 changed files with 18 additions and 223 deletions

View File

@@ -19,7 +19,7 @@
namespace tint {
ValidatorTestHelper::ValidatorTestHelper() {
td_ = std::make_unique<TypeDeterminer>(&ctx_, &mod_);
td_ = std::make_unique<TypeDeterminer>(&mod_);
v_ = std::make_unique<ValidatorImpl>();
}

View File

@@ -52,7 +52,6 @@ class ValidatorTestHelper {
private:
std::unique_ptr<ValidatorImpl> v_;
Context ctx_;
ast::Module mod_;
std::unique_ptr<TypeDeterminer> td_;
ast::type::Void void_type_;