mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-02 15:46:33 +00:00
LibCpp: Parse sizeof() expression
This commit is contained in:
parent
8bcf5daf3f
commit
fc503b1368
Notes:
sideshowbarker
2024-07-18 20:41:33 +09:00
Author: https://github.com/itamar8910
Commit: fc503b1368
Pull-request: https://github.com/SerenityOS/serenity/pull/6009
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