LibCpp: Parse sizeof() expression

This commit is contained in:
Itamar 2021-04-02 10:49:12 +03:00 committed by Andreas Kling
commit fc503b1368
Notes: sideshowbarker 2024-07-18 20:41:33 +09:00
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);
}
}