1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-26 07:37:35 +00:00

LibCpp: Parse sizeof() expression

This commit is contained in:
Itamar 2021-04-02 10:49:12 +03:00 committed by Andreas Kling
parent 8bcf5daf3f
commit fc503b1368
4 changed files with 44 additions and 1 deletions

View file

@ -530,4 +530,11 @@ void CppCastExpression::dump(size_t indent) const
m_expression->dump(indent + 1);
}
void SizeofExpression::dump(size_t indent) const
{
ASTNode::dump(indent);
if(m_type)
m_type->dump(indent+1);
}
}