Skip to content

Commit d47e269

Browse files
committed
C++: Update test results after extractor changes
1 parent fd49871 commit d47e269

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

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

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1781,6 +1781,12 @@ destructors_for_temps.cpp:
17811781
# 15| getQualifier(): [ConstructorCall] call to ClassWithDestructor2
17821782
# 15| Type = [VoidType] void
17831783
# 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
17841790
# 15| getQualifier().getFullyConverted(): [TemporaryObjectExpr] temporary object
17851791
# 15| Type = [Class] ClassWithDestructor2
17861792
# 15| ValueCategory = prvalue(load)
@@ -1804,6 +1810,12 @@ destructors_for_temps.cpp:
18041810
# 16| getQualifier().getFullyConverted(): [TemporaryObjectExpr] temporary object
18051811
# 16| Type = [Class] ClassWithDestructor2
18061812
# 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
18071819
# 17| getStmt(2): [ReturnStmt] return ...
18081820
# 17| getExpr(): [FunctionCall] call to get_x
18091821
# 17| Type = [PlainCharType] char
@@ -18145,6 +18157,12 @@ ir.cpp:
1814518157
# 2293| getArgument(0).getFullyConverted(): [ArrayToPointerConversion] array to pointer conversion
1814618158
# 2293| Type = [PointerType] const char *
1814718159
# 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
1814818166
# 2293| getArgument(0).getFullyConverted(): [TemporaryObjectExpr] temporary object
1814918167
# 2293| Type = [Struct] String
1815018168
# 2293| ValueCategory = lvalue

0 commit comments

Comments
 (0)