@@ -4304,6 +4304,89 @@ destructors_for_temps.cpp:
43044304# 103| Type = [IntType] int
43054305# 103| ValueCategory = prvalue
43064306# 104| getStmt(1): [ReturnStmt] return ...
4307+ # 106| [CopyAssignmentOperator] ClassWithArrayAndDestructor& ClassWithArrayAndDestructor::operator=(ClassWithArrayAndDestructor const&)
4308+ # 106| <params>:
4309+ #-----| getParameter(0): [Parameter] (unnamed parameter 0)
4310+ #-----| Type = [LValueReferenceType] const ClassWithArrayAndDestructor &
4311+ # 106| [Constructor] void ClassWithArrayAndDestructor::ClassWithArrayAndDestructor()
4312+ # 106| <params>:
4313+ # 106| [Destructor] void ClassWithArrayAndDestructor::~ClassWithArrayAndDestructor()
4314+ # 106| <params>:
4315+ # 108| [TopLevelFunction] void temp_test13(bool)
4316+ # 108| <params>:
4317+ # 108| getParameter(0): [Parameter] b
4318+ # 108| Type = [BoolType] bool
4319+ # 108| getEntryPoint(): [BlockStmt] { ... }
4320+ # 109| getStmt(0): [DeclStmt] declaration
4321+ # 109| getDeclarationEntry(0): [VariableDeclarationEntry] definition of t
4322+ # 109| Type = [LValueReferenceType] const int &
4323+ # 109| getVariable().getInitializer(): [Initializer] initializer for t
4324+ # 109| getExpr(): [ConditionalExpr] ... ? ... : ...
4325+ # 109| Type = [IntType] int
4326+ # 109| ValueCategory = lvalue
4327+ # 109| getCondition(): [VariableAccess] b
4328+ # 109| Type = [BoolType] bool
4329+ # 109| ValueCategory = prvalue(load)
4330+ # 109| getThen(): [ArrayExpr] access to array
4331+ # 109| Type = [IntType] int
4332+ # 109| ValueCategory = lvalue
4333+ # 109| getArrayBase(): [ValueFieldAccess] a
4334+ # 109| Type = [ArrayType] int[2]
4335+ # 109| ValueCategory = prvalue
4336+ # 109| getQualifier(): [Literal] 0
4337+ # 109| Type = [Struct] ClassWithArrayAndDestructor
4338+ # 109| Value = [Literal] 0
4339+ # 109| ValueCategory = prvalue
4340+ # 109| getQualifier().getFullyConverted(): [TemporaryObjectExpr] temporary object
4341+ # 109| Type = [Struct] ClassWithArrayAndDestructor
4342+ # 109| ValueCategory = prvalue(load)
4343+ # 109| getArrayOffset(): [Literal] 0
4344+ # 109| Type = [IntType] int
4345+ # 109| Value = [Literal] 0
4346+ # 109| ValueCategory = prvalue
4347+ # 109| getArrayBase().getFullyConverted(): [ArrayToPointerConversion] array to pointer conversion
4348+ # 109| Type = [IntPointerType] int *
4349+ # 109| ValueCategory = prvalue
4350+ # 109| getElse(): [ArrayExpr] access to array
4351+ # 109| Type = [IntType] int
4352+ # 109| ValueCategory = lvalue
4353+ # 109| getArrayBase(): [ValueFieldAccess] a
4354+ # 109| Type = [ArrayType] int[2]
4355+ # 109| ValueCategory = prvalue
4356+ # 109| getQualifier(): [Literal] 0
4357+ # 109| Type = [Struct] ClassWithArrayAndDestructor
4358+ # 109| Value = [Literal] 0
4359+ # 109| ValueCategory = prvalue
4360+ # 109| getQualifier().getFullyConverted(): [TemporaryObjectExpr] temporary object
4361+ # 109| Type = [Struct] ClassWithArrayAndDestructor
4362+ # 109| ValueCategory = prvalue(load)
4363+ # 109| getArrayOffset(): [Literal] 1
4364+ # 109| Type = [IntType] int
4365+ # 109| Value = [Literal] 1
4366+ # 109| ValueCategory = prvalue
4367+ # 109| getArrayBase().getFullyConverted(): [ArrayToPointerConversion] array to pointer conversion
4368+ # 109| Type = [IntPointerType] int *
4369+ # 109| ValueCategory = prvalue
4370+ # 109| getImplicitDestructorCall(0): [DestructorCall] call to ~ClassWithArrayAndDestructor
4371+ # 109| Type = [VoidType] void
4372+ # 109| ValueCategory = prvalue
4373+ # 109| getQualifier(): [ReuseExpr] reuse of temporary object
4374+ # 109| Type = [Struct] ClassWithArrayAndDestructor
4375+ # 109| ValueCategory = xvalue
4376+ # 109| getImplicitDestructorCall(1): [DestructorCall] call to ~ClassWithArrayAndDestructor
4377+ # 109| Type = [VoidType] void
4378+ # 109| ValueCategory = prvalue
4379+ # 109| getQualifier(): [ReuseExpr] reuse of temporary object
4380+ # 109| Type = [Struct] ClassWithArrayAndDestructor
4381+ # 109| ValueCategory = xvalue
4382+ # 109| getExpr().getFullyConverted(): [ReferenceToExpr] (reference to)
4383+ # 109| Type = [LValueReferenceType] const int &
4384+ # 109| ValueCategory = prvalue
4385+ # 109| getExpr(): [CStyleCast] (const int)...
4386+ # 109| Conversion = [GlvalueConversion] glvalue conversion
4387+ # 109| Type = [SpecifiedType] const int
4388+ # 109| ValueCategory = lvalue
4389+ # 110| getStmt(1): [ReturnStmt] return ...
43074390generic.c:
43084391# 1| [TopLevelFunction] void c11_generic_test_with_load(unsigned int, int)
43094392# 1| <params>:
0 commit comments