@@ -1781,6 +1781,12 @@ destructors_for_temps.cpp:
1781
1781
# 15| getQualifier(): [ConstructorCall] call to ClassWithDestructor2
1782
1782
# 15| Type = [VoidType] void
1783
1783
# 15| ValueCategory = prvalue
1784
+ # 15| getImplicitDestructorCall(0): [DestructorCall] call to ~ClassWithDestructor2
1785
+ # 15| Type = [VoidType] void
1786
+ # 15| ValueCategory = prvalue
1787
+ # 15| getQualifier(): [ReuseExpr] reuse of temporary object
1788
+ # 15| Type = [Class] ClassWithDestructor2
1789
+ # 15| ValueCategory = xvalue
1784
1790
# 15| getQualifier().getFullyConverted(): [TemporaryObjectExpr] temporary object
1785
1791
# 15| Type = [Class] ClassWithDestructor2
1786
1792
# 15| ValueCategory = prvalue(load)
@@ -1804,6 +1810,12 @@ destructors_for_temps.cpp:
1804
1810
# 16| getQualifier().getFullyConverted(): [TemporaryObjectExpr] temporary object
1805
1811
# 16| Type = [Class] ClassWithDestructor2
1806
1812
# 16| ValueCategory = prvalue(load)
1813
+ # 16| getImplicitDestructorCall(0): [DestructorCall] call to ~ClassWithDestructor2
1814
+ # 16| Type = [VoidType] void
1815
+ # 16| ValueCategory = prvalue
1816
+ # 16| getQualifier(): [ReuseExpr] reuse of temporary object
1817
+ # 16| Type = [Class] ClassWithDestructor2
1818
+ # 16| ValueCategory = xvalue
1807
1819
# 17| getStmt(2): [ReturnStmt] return ...
1808
1820
# 17| getExpr(): [FunctionCall] call to get_x
1809
1821
# 17| Type = [PlainCharType] char
@@ -18145,6 +18157,12 @@ ir.cpp:
18145
18157
# 2293| getArgument(0).getFullyConverted(): [ArrayToPointerConversion] array to pointer conversion
18146
18158
# 2293| Type = [PointerType] const char *
18147
18159
# 2293| ValueCategory = prvalue
18160
+ # 2293| getImplicitDestructorCall(0): [DestructorCall] call to ~String
18161
+ # 2293| Type = [VoidType] void
18162
+ # 2293| ValueCategory = prvalue
18163
+ # 2293| getQualifier(): [ReuseExpr] reuse of temporary object
18164
+ # 2293| Type = [Struct] String
18165
+ # 2293| ValueCategory = xvalue
18148
18166
# 2293| getArgument(0).getFullyConverted(): [TemporaryObjectExpr] temporary object
18149
18167
# 2293| Type = [Struct] String
18150
18168
# 2293| ValueCategory = lvalue
0 commit comments