mirror of
https://github.com/encounter/dawn-cmake.git
synced 2025-12-12 06:45:16 +00:00
Remove Function::name().
This CL removes the function name accessor and changes all usages to use the symbol. Change-Id: I19b92bf1bc557ba14e68ef8cb381487a4ad1f7ee Reviewed-on: https://dawn-review.googlesource.com/c/tint/+/36821 Reviewed-by: Ben Clayton <bclayton@google.com>
This commit is contained in:
committed by
dan sinclair
parent
eb737c25db
commit
4ac6568821
@@ -32,7 +32,7 @@ ast::Function* Transform::CloneWithStatementsAtStart(
|
||||
statements.emplace_back(ctx->Clone(s));
|
||||
}
|
||||
return ctx->mod->create<ast::Function>(
|
||||
ctx->Clone(in->source()), ctx->Clone(in->symbol()), in->name(),
|
||||
ctx->Clone(in->source()), ctx->Clone(in->symbol()), in->name_for_clone(),
|
||||
ctx->Clone(in->params()), ctx->Clone(in->return_type()),
|
||||
ctx->mod->create<ast::BlockStatement>(ctx->Clone(in->body()->source()),
|
||||
statements),
|
||||
|
||||
Reference in New Issue
Block a user