Minor changes

This commit is contained in:
Alessandro Di Federico
2026-06-16 10:27:34 +02:00
parent 1ce725fac6
commit a35da01bdd
+2
View File
@@ -23,6 +23,8 @@ model::TypeDefinition::trySize(VerifyHelper &VH) const {
Result = rc_recur E->UnderlyingType()->trySize(VH);
} else if (auto *T = llvm::dyn_cast<model::TypedefDefinition>(this)) {
// TODO: in case of a recursive type (not via a pointer), we'll get an
// assertion, instead of a clean failure
Result = rc_recur T->UnderlyingType()->trySize(VH);
} else if (auto *S = llvm::dyn_cast<model::StructDefinition>(this)) {