commit | d026e13f48d34d327fbe073d57f86438d32a90fe | [log] [tgz] |
---|---|---|
author | dan sinclair <dsinclair@chromium.org> | Tue Apr 18 19:38:25 2023 +0000 |
committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Tue Apr 18 19:38:25 2023 +0000 |
tree | 7d212396091088b20129444e54731a2ff95eb443 | |
parent | b353ebe752fa0ba625e342e8cf92bd777e805a91 [diff] [blame] |
Remove `SymbolTable::NameFor` This CL removes the `NameFor` method from SymbolTable and accesses the symbols name directly. Change-Id: Ic4ad6eecfa78efb946d97aeaecf2d784af2e6f16 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/127301 Reviewed-by: Ben Clayton <bclayton@google.com> Kokoro: Kokoro <noreply+kokoro@google.com> Commit-Queue: Dan Sinclair <dsinclair@chromium.org>
diff --git a/src/tint/ast/bitcast_expression_test.cc b/src/tint/ast/bitcast_expression_test.cc index d288a77..ce4ab1d 100644 --- a/src/tint/ast/bitcast_expression_test.cc +++ b/src/tint/ast/bitcast_expression_test.cc
@@ -25,7 +25,7 @@ TEST_F(BitcastExpressionTest, Create) { auto* expr = Expr("expr"); auto* exp = Bitcast(ty.f32(), expr); - CheckIdentifier(Symbols(), exp->type, "f32"); + CheckIdentifier(exp->type, "f32"); ASSERT_EQ(exp->expr, expr); }