diff options
Diffstat (limited to 'AST.h')
-rwxr-xr-x | AST.h | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -182,6 +182,10 @@ struct FunctionDescription FunctionDescription(std::shared_ptr<FunctionType const> _type, Declaration const* _decl): m_description(_type, _decl){} + /// constructor for a constructor's function definition. Used only inside mix. + FunctionDescription(Declaration const* _def): + m_description(nullptr, _def){} + FunctionDescription(): m_description(nullptr, nullptr){} |