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:
parent
8bcf5daf3f
commit
fc503b1368
4 changed files with 44 additions and 1 deletions
|
@ -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);
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue