mirror of
https://github.com/encounter/dawn-cmake.git
synced 2025-12-14 23:56:16 +00:00
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:
committed by
Commit Bot service account
parent
bd018d254d
commit
c35176eadf
@@ -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>();
|
||||
}
|
||||
|
||||
|
||||
@@ -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_;
|
||||
|
||||
Reference in New Issue
Block a user