mirror of
https://github.com/encounter/dawn-cmake.git
synced 2025-12-17 00:47:13 +00:00
Rename 'constructed types' to 'type declarartions'
Change-Id: I0c79be17a10a542df602447e555c1344621d2dce Reviewed-on: https://dawn-review.googlesource.com/c/tint/+/53803 Kokoro: Kokoro <noreply+kokoro@google.com> Reviewed-by: Antonio Maiorano <amaiorano@google.com>
This commit is contained in:
@@ -351,7 +351,7 @@ struct DataType<alias<T, ID>> {
|
||||
auto name = b.Symbols().Register("alias_" + std::to_string(ID));
|
||||
if (!b.AST().LookupType(name)) {
|
||||
auto* type = DataType<T>::AST(b);
|
||||
b.AST().AddConstructedType(b.ty.alias(name, type));
|
||||
b.AST().AddTypeDecl(b.ty.alias(name, type));
|
||||
}
|
||||
return b.create<ast::TypeName>(name);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user