mirror of
https://github.com/revng/revng
synced 2026-06-21 14:07:57 +00:00
Adopt .prototype()
Also adopt `QualifiedType::getFunctionType` where appropriate in order to unwrap typedefs.
This commit is contained in:
@@ -324,7 +324,7 @@ ModelTypesMap initModelTypes(FunctionMetadataCache &Cache,
|
||||
bool PointersOnly) {
|
||||
ModelTypesMap TypeMap;
|
||||
|
||||
const model::Type *Prototype = ModelF->Prototype().getConst();
|
||||
const model::Type *Prototype = ModelF->prototype(Model).getConst();
|
||||
revng_assert(Prototype);
|
||||
|
||||
addArgumentsTypes(F, Prototype, Model, TypeMap, PointersOnly);
|
||||
|
||||
Reference in New Issue
Block a user