Skip to content

Commit fcd0e99

Browse files
committed
C++: Accept test changes.
1 parent 89eaadd commit fcd0e99

File tree

5 files changed

+156
-235
lines changed

5 files changed

+156
-235
lines changed

cpp/ql/test/library-tests/ir/ir/PrintAST.expected

Lines changed: 0 additions & 72 deletions
Original file line numberDiff line numberDiff line change
@@ -1977,12 +1977,6 @@ destructors_for_temps.cpp:
19771977
# 39| getElse(): [ConstructorCall] call to ClassWithDestructor2
19781978
# 39| Type = [VoidType] void
19791979
# 39| ValueCategory = prvalue
1980-
# 39| getImplicitDestructorCall(0): [DestructorCall] call to ~ClassWithDestructor2
1981-
# 39| Type = [VoidType] void
1982-
# 39| ValueCategory = prvalue
1983-
# 39| getQualifier(): [ReuseExpr] reuse of temporary object
1984-
# 39| Type = [Class] ClassWithDestructor2
1985-
# 39| ValueCategory = xvalue
19861980
# 39| getThen().getFullyConverted(): [TemporaryObjectExpr] temporary object
19871981
# 39| Type = [Class] ClassWithDestructor2
19881982
# 39| ValueCategory = prvalue(load)
@@ -2096,24 +2090,6 @@ destructors_for_temps.cpp:
20962090
# 51| getElse(): [ConstructorCall] call to ClassWithDestructor2
20972091
# 51| Type = [VoidType] void
20982092
# 51| ValueCategory = prvalue
2099-
# 51| getImplicitDestructorCall(0): [DestructorCall] call to ~ClassWithDestructor2
2100-
# 51| Type = [VoidType] void
2101-
# 51| ValueCategory = prvalue
2102-
# 51| getQualifier(): [ReuseExpr] reuse of temporary object
2103-
# 51| Type = [Class] ClassWithDestructor2
2104-
# 51| ValueCategory = xvalue
2105-
# 51| getImplicitDestructorCall(1): [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(2): [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
21172093
# 51| getElse().getFullyConverted(): [TemporaryObjectExpr] temporary object
21182094
# 51| Type = [Class] ClassWithDestructor2
21192095
# 51| ValueCategory = prvalue(load)
@@ -2161,24 +2137,6 @@ destructors_for_temps.cpp:
21612137
# 55| getElse(): [ConstructorCall] call to ClassWithDestructor2
21622138
# 55| Type = [VoidType] void
21632139
# 55| ValueCategory = prvalue
2164-
# 55| getImplicitDestructorCall(0): [DestructorCall] call to ~ClassWithDestructor2
2165-
# 55| Type = [VoidType] void
2166-
# 55| ValueCategory = prvalue
2167-
# 55| getQualifier(): [ReuseExpr] reuse of temporary object
2168-
# 55| Type = [Class] ClassWithDestructor2
2169-
# 55| ValueCategory = xvalue
2170-
# 55| getImplicitDestructorCall(1): [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(2): [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
21822140
# 55| getElse().getFullyConverted(): [TemporaryObjectExpr] temporary object
21832141
# 55| Type = [Class] ClassWithDestructor2
21842142
# 55| ValueCategory = prvalue(load)
@@ -2285,12 +2243,6 @@ destructors_for_temps.cpp:
22852243
# 78| getExpr(): [FunctionCall] call to make
22862244
# 78| Type = [Class] ClassWithDestructor2
22872245
# 78| ValueCategory = prvalue
2288-
# 78| getImplicitDestructorCall(0): [DestructorCall] call to ~ClassWithDestructor2
2289-
# 78| Type = [VoidType] void
2290-
# 78| ValueCategory = prvalue
2291-
# 78| getQualifier(): [ReuseExpr] reuse of temporary object
2292-
# 78| Type = [Class] ClassWithDestructor2
2293-
# 78| ValueCategory = xvalue
22942246
# 78| getExpr().getFullyConverted(): [TemporaryObjectExpr] temporary object
22952247
# 78| Type = [Class] ClassWithDestructor2
22962248
# 78| ValueCategory = prvalue
@@ -2316,12 +2268,6 @@ destructors_for_temps.cpp:
23162268
# 83| getExpr(): [FunctionCall] call to make
23172269
# 83| Type = [Class] ClassWithDestructor2
23182270
# 83| ValueCategory = prvalue
2319-
# 83| getImplicitDestructorCall(0): [DestructorCall] call to ~ClassWithDestructor2
2320-
# 83| Type = [VoidType] void
2321-
# 83| ValueCategory = prvalue
2322-
# 83| getQualifier(): [ReuseExpr] reuse of temporary object
2323-
# 83| Type = [Class] ClassWithDestructor2
2324-
# 83| ValueCategory = xvalue
23252271
# 83| getExpr().getFullyConverted(): [TemporaryObjectExpr] temporary object
23262272
# 83| Type = [Class] ClassWithDestructor2
23272273
# 83| ValueCategory = prvalue
@@ -12112,12 +12058,6 @@ ir.cpp:
1211212058
# 1425| getExpr(): [FunctionCall] call to defaultConstruct
1211312059
# 1425| Type = [Struct] String
1211412060
# 1425| ValueCategory = prvalue
12115-
# 1425| getImplicitDestructorCall(0): [DestructorCall] call to ~String
12116-
# 1425| Type = [VoidType] void
12117-
# 1425| ValueCategory = prvalue
12118-
# 1425| getQualifier(): [ReuseExpr] reuse of temporary object
12119-
# 1425| Type = [Struct] String
12120-
# 1425| ValueCategory = xvalue
1212112061
# 1425| getExpr().getFullyConverted(): [TemporaryObjectExpr] temporary object
1212212062
# 1425| Type = [Struct] String
1212312063
# 1425| ValueCategory = prvalue
@@ -12231,12 +12171,6 @@ ir.cpp:
1223112171
# 1437| getExpr(): [FunctionCall] call to defaultConstruct
1223212172
# 1437| Type = [Class] destructor_only
1223312173
# 1437| ValueCategory = prvalue
12234-
# 1437| getImplicitDestructorCall(0): [DestructorCall] call to ~destructor_only
12235-
# 1437| Type = [VoidType] void
12236-
# 1437| ValueCategory = prvalue
12237-
# 1437| getQualifier(): [ReuseExpr] reuse of temporary object
12238-
# 1437| Type = [Class] destructor_only
12239-
# 1437| ValueCategory = xvalue
1224012174
# 1437| getExpr().getFullyConverted(): [TemporaryObjectExpr] temporary object
1224112175
# 1437| Type = [Class] destructor_only
1224212176
# 1437| ValueCategory = prvalue
@@ -18654,12 +18588,6 @@ ir.cpp:
1865418588
# 2307| getArgument(0).getFullyConverted(): [ArrayToPointerConversion] array to pointer conversion
1865518589
# 2307| Type = [PointerType] const char *
1865618590
# 2307| ValueCategory = prvalue
18657-
# 2307| getImplicitDestructorCall(0): [DestructorCall] call to ~String
18658-
# 2307| Type = [VoidType] void
18659-
# 2307| ValueCategory = prvalue
18660-
# 2307| getQualifier(): [ReuseExpr] reuse of temporary object
18661-
# 2307| Type = [Struct] String
18662-
# 2307| ValueCategory = xvalue
1866318591
# 2307| getArgument(0).getFullyConverted(): [TemporaryObjectExpr] temporary object
1866418592
# 2307| Type = [Struct] String
1866518593
# 2307| ValueCategory = lvalue

0 commit comments

Comments
 (0)