mirror of
https://github.com/encounter/dawn-cmake.git
synced 2025-12-14 23:56:16 +00:00
ast: Remove to_str() and type_name()
This is no longer used. Fixed: tint:1225 Change-Id: I0cfe9955687a2b7ded3e645c573f3bffbc2f1f84 Reviewed-on: https://dawn-review.googlesource.com/c/tint/+/66380 Kokoro: Kokoro <noreply+kokoro@google.com> Reviewed-by: David Neto <dneto@google.com> Reviewed-by: James Price <jrprice@google.com> Commit-Queue: Ben Clayton <bclayton@google.com>
This commit is contained in:
committed by
Tint LUCI CQ
parent
a5b3f07ec7
commit
d1ee47a1cd
@@ -51,16 +51,12 @@ class FakeStmt : public Castable<FakeStmt, ast::Statement> {
|
||||
public:
|
||||
FakeStmt(ProgramID program_id, Source source) : Base(program_id, source) {}
|
||||
FakeStmt* Clone(CloneContext*) const override { return nullptr; }
|
||||
void to_str(const sem::Info&, std::ostream& out, size_t) const override {
|
||||
out << "Fake";
|
||||
}
|
||||
};
|
||||
|
||||
class FakeExpr : public Castable<FakeExpr, ast::Expression> {
|
||||
public:
|
||||
FakeExpr(ProgramID program_id, Source source) : Base(program_id, source) {}
|
||||
FakeExpr* Clone(CloneContext*) const override { return nullptr; }
|
||||
void to_str(const sem::Info&, std::ostream&, size_t) const override {}
|
||||
};
|
||||
|
||||
TEST_F(ResolverValidationTest, WorkgroupMemoryUsedInVertexStage) {
|
||||
|
||||
Reference in New Issue
Block a user