@@ -8260,7 +8260,7 @@ ir.cpp:
82608260# 997| Type = [FloatType] float
82618261# 997| Value = [CStyleCast] 1.0
82628262# 997| ValueCategory = prvalue
8263- # 1000| [TopLevelFunction] int ExprStmt (int, int, int)
8263+ # 1000| [TopLevelFunction] int StmtExpr (int, int, int)
82648264# 1000| <params>:
82658265# 1000| getParameter(0): [Parameter] b
82668266# 1000| Type = [IntType] int
@@ -8276,10 +8276,53 @@ ir.cpp:
82768276# 1001| getExpr(): [StmtExpr] (statement expression)
82778277# 1001| Type = [IntType] int
82788278# 1001| ValueCategory = prvalue
8279+ # 1001| getStmt(): [BlockStmt] { ... }
8280+ # 1002| getStmt(0): [DeclStmt] declaration
8281+ # 1002| getDeclarationEntry(0): [VariableDeclarationEntry] definition of w
8282+ # 1002| Type = [IntType] int
8283+ # 1003| getStmt(1): [IfStmt] if (...) ...
8284+ # 1003| getCondition(): [VariableAccess] b
8285+ # 1003| Type = [IntType] int
8286+ # 1003| ValueCategory = prvalue(load)
8287+ # 1003| getThen(): [BlockStmt] { ... }
8288+ # 1004| getStmt(0): [ExprStmt] ExprStmt
8289+ # 1004| getExpr(): [AssignExpr] ... = ...
8290+ # 1004| Type = [IntType] int
8291+ # 1004| ValueCategory = lvalue
8292+ # 1004| getLValue(): [VariableAccess] w
8293+ # 1004| Type = [IntType] int
8294+ # 1004| ValueCategory = lvalue
8295+ # 1004| getRValue(): [VariableAccess] y
8296+ # 1004| Type = [IntType] int
8297+ # 1004| ValueCategory = prvalue(load)
8298+ # 1005| getElse(): [BlockStmt] { ... }
8299+ # 1006| getStmt(0): [ExprStmt] ExprStmt
8300+ # 1006| getExpr(): [AssignExpr] ... = ...
8301+ # 1006| Type = [IntType] int
8302+ # 1006| ValueCategory = lvalue
8303+ # 1006| getLValue(): [VariableAccess] w
8304+ # 1006| Type = [IntType] int
8305+ # 1006| ValueCategory = lvalue
8306+ # 1006| getRValue(): [VariableAccess] z
8307+ # 1006| Type = [IntType] int
8308+ # 1006| ValueCategory = prvalue(load)
8309+ # 1003| getCondition().getFullyConverted(): [CStyleCast] (bool)...
8310+ # 1003| Conversion = [BoolConversion] conversion to bool
8311+ # 1003| Type = [BoolType] bool
8312+ # 1003| ValueCategory = prvalue
8313+ # 1008| getStmt(2): [ExprStmt] ExprStmt
8314+ # 1008| getExpr(): [VariableAccess] w
8315+ # 1008| Type = [IntType] int
8316+ # 1008| ValueCategory = prvalue(load)
82798317# 1011| getStmt(1): [ReturnStmt] return ...
82808318# 1011| getExpr(): [StmtExpr] (statement expression)
82818319# 1011| Type = [IntType] int
82828320# 1011| ValueCategory = prvalue
8321+ # 1011| getStmt(): [BlockStmt] { ... }
8322+ # 1011| getStmt(0): [ExprStmt] ExprStmt
8323+ # 1011| getExpr(): [VariableAccess] x
8324+ # 1011| Type = [IntType] int
8325+ # 1011| ValueCategory = prvalue(load)
82838326# 1015| [TopLevelFunction] void OperatorDelete()
82848327# 1015| <params>:
82858328# 1015| getEntryPoint(): [BlockStmt] { ... }
0 commit comments