C++: Print handler parameters in PrintAST

This commit is contained in:
Jeroen Ketema
2024-10-10 20:00:55 +02:00
parent d0f73acc25
commit f1a350c96a
3 changed files with 36 additions and 0 deletions

View File

@@ -870,6 +870,8 @@ Throw.cpp:
# 8| Type = [BoolType] bool
# 8| ValueCategory = prvalue
# 12| getChild(1): [Handler] <handler>
# 12| getParameter(): [Parameter] e
# 12| Type = [PointerType] E *
# 12| getBlock(): [CatchBlock] { ... }
# 13| getStmt(0): [ExprStmt] ExprStmt
# 13| getExpr(): [ReThrowExpr] re-throw exception