@@ -4179,6 +4179,40 @@ destructors_for_temps.cpp:
41794179# 103| Type = [IntType] int
41804180# 103| ValueCategory = prvalue
41814181# 104| getStmt(1): [ReturnStmt] return ...
4182+ generic.c:
4183+ # 1| [TopLevelFunction] void foo(unsigned int, int)
4184+ # 1| <params>:
4185+ # 1| getParameter(0): [Parameter] x
4186+ # 1| Type = [IntType] unsigned int
4187+ # 1| getParameter(1): [Parameter] y
4188+ # 1| Type = [IntType] int
4189+ # 1| getEntryPoint(): [BlockStmt] { ... }
4190+ # 2| getStmt(0): [DeclStmt] declaration
4191+ # 2| getDeclarationEntry(0): [VariableDeclarationEntry] definition of r
4192+ # 2| Type = [IntType] unsigned int
4193+ # 3| getStmt(1): [ExprStmt] ExprStmt
4194+ # 3| getExpr(): [AssignExpr] ... = ...
4195+ # 3| Type = [IntType] unsigned int
4196+ # 3| ValueCategory = prvalue
4197+ # 3| getLValue(): [VariableAccess] r
4198+ # 3| Type = [IntType] unsigned int
4199+ # 3| ValueCategory = lvalue
4200+ # 3| getRValue(): [AddExpr] ... + ...
4201+ # 3| Type = [IntType] unsigned int
4202+ # 3| ValueCategory = prvalue
4203+ # 3| getLeftOperand(): [VariableAccess] x
4204+ # 3| Type = [IntType] unsigned int
4205+ # 3| ValueCategory = lvalue
4206+ # 3| getRightOperand(): [Literal] 1
4207+ # 3| Type = [IntType] int
4208+ # 3| Value = [Literal] 1
4209+ # 3| ValueCategory = prvalue
4210+ # 3| getRightOperand().getFullyConverted(): [CStyleCast] (unsigned int)...
4211+ # 3| Conversion = [IntegralConversion] integral conversion
4212+ # 3| Type = [IntType] unsigned int
4213+ # 3| Value = [CStyleCast] 1
4214+ # 3| ValueCategory = prvalue
4215+ # 4| getStmt(2): [ReturnStmt] return ...
41824216ir.c:
41834217# 5| [TopLevelFunction] int getX(MyCoords*)
41844218# 5| <params>:
0 commit comments