mirror of
https://github.com/encounter/dawn-cmake.git
synced 2025-12-09 05:27:49 +00:00
Have TypesBuilder::void_() return ast::Void
Bug: tint:724 Change-Id: Ie4876c06f9b67601a9601b77bdcaeec94145938e Reviewed-on: https://dawn-review.googlesource.com/c/tint/+/51661 Auto-Submit: Ben Clayton <bclayton@google.com> Commit-Queue: Ben Clayton <bclayton@chromium.org> Reviewed-by: Antonio Maiorano <amaiorano@google.com>
This commit is contained in:
committed by
Tint LUCI CQ
parent
c03d3bdc94
commit
cc98b4f9aa
@@ -391,14 +391,12 @@ class ProgramBuilder {
|
||||
}
|
||||
|
||||
/// @returns a void type
|
||||
typ::Void void_() const {
|
||||
return {builder->create<ast::Void>(), builder->create<sem::Void>()};
|
||||
}
|
||||
typ::Void void_() const { return {builder->create<ast::Void>()}; }
|
||||
|
||||
/// @param source the Source of the node
|
||||
/// @returns a void type
|
||||
typ::Void void_(const Source& source) const {
|
||||
return {builder->create<ast::Void>(source), builder->create<sem::Void>()};
|
||||
return {builder->create<ast::Void>(source)};
|
||||
}
|
||||
|
||||
/// @param type vector subtype
|
||||
|
||||
Reference in New Issue
Block a user