Files
Alessandro Di Federico 5417f8d880 model-schema.yml: move Type fields at the end
It's preferable to have one-line fields at the beginning in the YAML
representation.
2026-04-23 13:40:43 +02:00

29 lines
698 B
C++

#pragma once
//
// This file is distributed under the MIT License. See LICENSE.md for details.
//
#include "revng/ADT/RecursiveCoroutine.h"
#include "revng/Model/Type.h"
#include "revng/Model/Generated/Early/Argument.h"
namespace model {
class VerifyHelper;
}
class model::Argument : public model::generated::Argument {
public:
using generated::Argument::Argument;
Argument(uint64_t Index, UpcastableType &&Type) :
model::generated::Argument(Index, {}, {}, std::move(Type)) {}
public:
bool verify() const debug_function;
bool verify(bool Assert) const debug_function;
RecursiveCoroutine<bool> verify(VerifyHelper &VH) const;
};
#include "revng/Model/Generated/Late/Argument.h"