type::Type: fix weird formatting
Change-Id: I12c6836316f30b0924c2bb5a62ee6c168749fa30 Reviewed-on: https://dawn-review.googlesource.com/c/tint/+/46871 Kokoro: Kokoro <noreply+kokoro@google.com> Reviewed-by: Antonio Maiorano <amaiorano@google.com> Commit-Queue: Antonio Maiorano <amaiorano@google.com> Auto-Submit: Ben Clayton <bclayton@google.com>
This commit is contained in:
parent
1b8d9f227b
commit
dac5418819
|
@ -56,9 +56,9 @@ Type* Type::UnwrapIfNeeded() {
|
||||||
auto* where = this;
|
auto* where = this;
|
||||||
while (true) {
|
while (true) {
|
||||||
if (auto* alias = where->As<type::Alias>()) {
|
if (auto* alias = where->As<type::Alias>()) {
|
||||||
where = alias->type();
|
where = alias->type();
|
||||||
} else if (auto* access = where->As<type::AccessControl>()) {
|
} else if (auto* access = where->As<type::AccessControl>()) {
|
||||||
where = access->type();
|
where = access->type();
|
||||||
} else {
|
} else {
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue