mirror of
https://github.com/revng/revng
synced 2026-06-21 14:07:57 +00:00
QualifiedType RawFunctionType.StackArgumentsType
The `StackArgumentsType` field of `RawFunctionType` was the only cross-reference between `model::Type`s that did not use `model::QualifiedType` but a naked `TupleTreeReference`. Switching it to `QualifiedType` make all cross-references across `model::Type`s homogeneous.
This commit is contained in:
@@ -1106,6 +1106,12 @@ verifyImpl(VerifyHelper &VH, const RawFunctionType *T) {
|
||||
if (Preserved == Register::Invalid)
|
||||
rc_return VH.fail();
|
||||
|
||||
if (not T->StackArgumentsType.Qualifiers.empty())
|
||||
rc_return VH.fail();
|
||||
if (T->StackArgumentsType.UnqualifiedType.isValid()
|
||||
and not rc_recur T->StackArgumentsType.UnqualifiedType.get()->verify(VH))
|
||||
rc_return VH.fail();
|
||||
|
||||
rc_return VH.maybeFail(T->CustomName.verify(VH));
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user