mirror of
https://github.com/encounter/dawn-cmake.git
synced 2025-12-12 14:46:08 +00:00
Rename type::Struct to type::StructType
This is to avoid name conflicts once we move all classes from namespace `type` to `sem`. Bug: tint:724 Change-Id: I23cdec636cb5bcf0bbba03ee7bb7c44252ddade7 Reviewed-on: https://dawn-review.googlesource.com/c/tint/+/48361 Commit-Queue: Antonio Maiorano <amaiorano@google.com> Kokoro: Kokoro <noreply+kokoro@google.com> Reviewed-by: Ben Clayton <bclayton@google.com>
This commit is contained in:
committed by
Commit Bot service account
parent
cf4057be01
commit
3aa226138e
@@ -85,10 +85,10 @@ void Module::to_str(const sem::Info& sem,
|
||||
if (auto* alias = ty->As<type::Alias>()) {
|
||||
out << alias->symbol().to_str() << " -> " << alias->type()->type_name()
|
||||
<< std::endl;
|
||||
if (auto* str = alias->type()->As<type::Struct>()) {
|
||||
if (auto* str = alias->type()->As<type::StructType>()) {
|
||||
str->impl()->to_str(sem, out, indent);
|
||||
}
|
||||
} else if (auto* str = ty->As<type::Struct>()) {
|
||||
} else if (auto* str = ty->As<type::StructType>()) {
|
||||
out << str->symbol().to_str() << " ";
|
||||
str->impl()->to_str(sem, out, indent);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user