@@ -1986,6 +1986,12 @@ destructors_for_temps.cpp:
1986
1986
# 39| getExpr().getFullyConverted(): [TemporaryObjectExpr] temporary object
1987
1987
# 39| Type = [Class] ClassWithDestructor2
1988
1988
# 39| ValueCategory = prvalue
1989
+ # 39| getImplicitDestructorCall(0): [DestructorCall] call to ~ClassWithDestructor2
1990
+ # 39| Type = [VoidType] void
1991
+ # 39| ValueCategory = prvalue
1992
+ # 39| getQualifier(): [ReuseExpr] reuse of temporary object
1993
+ # 39| Type = [Class] ClassWithDestructor2
1994
+ # 39| ValueCategory = xvalue
1989
1995
# 40| getStmt(1): [ReturnStmt] return ...
1990
1996
# 42| [TopLevelFunction] void temp_test6(bool)
1991
1997
# 42| <params>:
@@ -2096,6 +2102,24 @@ destructors_for_temps.cpp:
2096
2102
# 51| getExpr().getFullyConverted(): [TemporaryObjectExpr] temporary object
2097
2103
# 51| Type = [Class] ClassWithDestructor2
2098
2104
# 51| ValueCategory = prvalue
2105
+ # 51| getImplicitDestructorCall(0): [DestructorCall] call to ~ClassWithDestructor2
2106
+ # 51| Type = [VoidType] void
2107
+ # 51| ValueCategory = prvalue
2108
+ # 51| getQualifier(): [ReuseExpr] reuse of temporary object
2109
+ # 51| Type = [Class] ClassWithDestructor2
2110
+ # 51| ValueCategory = xvalue
2111
+ # 51| getImplicitDestructorCall(1): [DestructorCall] call to ~ClassWithDestructor2
2112
+ # 51| Type = [VoidType] void
2113
+ # 51| ValueCategory = prvalue
2114
+ # 51| getQualifier(): [ReuseExpr] reuse of temporary object
2115
+ # 51| Type = [Class] ClassWithDestructor2
2116
+ # 51| ValueCategory = xvalue
2117
+ # 51| getImplicitDestructorCall(2): [DestructorCall] call to ~ClassWithDestructor2
2118
+ # 51| Type = [VoidType] void
2119
+ # 51| ValueCategory = prvalue
2120
+ # 51| getQualifier(): [ReuseExpr] reuse of temporary object
2121
+ # 51| Type = [Class] ClassWithDestructor2
2122
+ # 51| ValueCategory = xvalue
2099
2123
# 52| getStmt(2): [ReturnStmt] return ...
2100
2124
# 52| getImplicitDestructorCall(0): [DestructorCall] call to ~ClassWithDestructor2
2101
2125
# 52| Type = [VoidType] void
@@ -2143,6 +2167,24 @@ destructors_for_temps.cpp:
2143
2167
# 55| getExpr().getFullyConverted(): [TemporaryObjectExpr] temporary object
2144
2168
# 55| Type = [Class] ClassWithDestructor2
2145
2169
# 55| ValueCategory = prvalue
2170
+ # 55| getImplicitDestructorCall(0): [DestructorCall] call to ~ClassWithDestructor2
2171
+ # 55| Type = [VoidType] void
2172
+ # 55| ValueCategory = prvalue
2173
+ # 55| getQualifier(): [ReuseExpr] reuse of temporary object
2174
+ # 55| Type = [Class] ClassWithDestructor2
2175
+ # 55| ValueCategory = xvalue
2176
+ # 55| getImplicitDestructorCall(1): [DestructorCall] call to ~ClassWithDestructor2
2177
+ # 55| Type = [VoidType] void
2178
+ # 55| ValueCategory = prvalue
2179
+ # 55| getQualifier(): [ReuseExpr] reuse of temporary object
2180
+ # 55| Type = [Class] ClassWithDestructor2
2181
+ # 55| ValueCategory = xvalue
2182
+ # 55| getImplicitDestructorCall(2): [DestructorCall] call to ~ClassWithDestructor2
2183
+ # 55| Type = [VoidType] void
2184
+ # 55| ValueCategory = prvalue
2185
+ # 55| getQualifier(): [ReuseExpr] reuse of temporary object
2186
+ # 55| Type = [Class] ClassWithDestructor2
2187
+ # 55| ValueCategory = xvalue
2146
2188
# 56| getStmt(1): [ReturnStmt] return ...
2147
2189
# 58| [TopLevelFunction] void temp_test8_simple(bool)
2148
2190
# 58| <params>:
@@ -2246,6 +2288,12 @@ destructors_for_temps.cpp:
2246
2288
# 78| getExpr().getFullyConverted(): [TemporaryObjectExpr] temporary object
2247
2289
# 78| Type = [Class] ClassWithDestructor2
2248
2290
# 78| ValueCategory = prvalue
2291
+ # 78| getImplicitDestructorCall(0): [DestructorCall] call to ~ClassWithDestructor2
2292
+ # 78| Type = [VoidType] void
2293
+ # 78| ValueCategory = prvalue
2294
+ # 78| getQualifier(): [ReuseExpr] reuse of temporary object
2295
+ # 78| Type = [Class] ClassWithDestructor2
2296
+ # 78| ValueCategory = xvalue
2249
2297
# 79| getStmt(1): [ReturnStmt] return ...
2250
2298
# 81| [TopLevelFunction] void temp_test10(int)
2251
2299
# 81| <params>:
@@ -2271,6 +2319,12 @@ destructors_for_temps.cpp:
2271
2319
# 83| getExpr().getFullyConverted(): [TemporaryObjectExpr] temporary object
2272
2320
# 83| Type = [Class] ClassWithDestructor2
2273
2321
# 83| ValueCategory = prvalue
2322
+ # 83| getImplicitDestructorCall(0): [DestructorCall] call to ~ClassWithDestructor2
2323
+ # 83| Type = [VoidType] void
2324
+ # 83| ValueCategory = prvalue
2325
+ # 83| getQualifier(): [ReuseExpr] reuse of temporary object
2326
+ # 83| Type = [Class] ClassWithDestructor2
2327
+ # 83| ValueCategory = xvalue
2274
2328
# 85| getStmt(1): [ReturnStmt] return ...
2275
2329
ir.c:
2276
2330
# 5| [TopLevelFunction] int getX(MyCoords*)
@@ -12061,6 +12115,12 @@ ir.cpp:
12061
12115
# 1425| getExpr().getFullyConverted(): [TemporaryObjectExpr] temporary object
12062
12116
# 1425| Type = [Struct] String
12063
12117
# 1425| ValueCategory = prvalue
12118
+ # 1425| getImplicitDestructorCall(0): [DestructorCall] call to ~String
12119
+ # 1425| Type = [VoidType] void
12120
+ # 1425| ValueCategory = prvalue
12121
+ # 1425| getQualifier(): [ReuseExpr] reuse of temporary object
12122
+ # 1425| Type = [Struct] String
12123
+ # 1425| ValueCategory = xvalue
12064
12124
# 1426| getStmt(9): [ReturnStmt] return ...
12065
12125
# 1426| getImplicitDestructorCall(0): [DestructorCall] call to ~String
12066
12126
# 1426| Type = [VoidType] void
@@ -12174,6 +12234,12 @@ ir.cpp:
12174
12234
# 1437| getExpr().getFullyConverted(): [TemporaryObjectExpr] temporary object
12175
12235
# 1437| Type = [Class] destructor_only
12176
12236
# 1437| ValueCategory = prvalue
12237
+ # 1437| getImplicitDestructorCall(0): [DestructorCall] call to ~destructor_only
12238
+ # 1437| Type = [VoidType] void
12239
+ # 1437| ValueCategory = prvalue
12240
+ # 1437| getQualifier(): [ReuseExpr] reuse of temporary object
12241
+ # 1437| Type = [Class] destructor_only
12242
+ # 1437| ValueCategory = xvalue
12177
12243
# 1438| getStmt(8): [ReturnStmt] return ...
12178
12244
# 1438| getImplicitDestructorCall(0): [DestructorCall] call to ~destructor_only
12179
12245
# 1438| Type = [VoidType] void
@@ -18597,6 +18663,12 @@ ir.cpp:
18597
18663
# 2307| getExpr(): [TemporaryObjectExpr] temporary object
18598
18664
# 2307| Type = [ClassTemplateInstantiation,Struct] vector<String>
18599
18665
# 2307| ValueCategory = xvalue
18666
+ # 2307| getImplicitDestructorCall(0): [DestructorCall] call to ~String
18667
+ # 2307| Type = [VoidType] void
18668
+ # 2307| ValueCategory = prvalue
18669
+ # 2307| getQualifier(): [ReuseExpr] reuse of temporary object
18670
+ # 2307| Type = [Struct] String
18671
+ # 2307| ValueCategory = xvalue
18600
18672
# 2307| getBeginEndDeclaration(): [DeclStmt] declaration
18601
18673
# 2307| getDeclarationEntry(0): [VariableDeclarationEntry] declaration of (__begin)
18602
18674
# 2307| Type = [NestedTypedefType,UsingAliasTypedefType] iterator
0 commit comments