File tree Expand file tree Collapse file tree 1 file changed +7
-1
lines changed
cpp/ql/test/library-tests/ir/ir Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -2030,7 +2030,13 @@ destructors_for_temps.cpp:
2030
2030
# 45| getQualifier().getFullyConverted(): [TemporaryObjectExpr] temporary object
2031
2031
# 45| Type = [Class] ClassWithDestructor2
2032
2032
# 45| ValueCategory = prvalue(load)
2033
- # 47| getImplicitDestructorCall(0): [DestructorCall] call to ~ClassWithDestructor2
2033
+ # 45| getImplicitDestructorCall(0): [DestructorCall] call to ~ClassWithDestructor2
2034
+ # 45| Type = [VoidType] void
2035
+ # 45| ValueCategory = prvalue
2036
+ # 45| getQualifier(): [ReuseExpr] reuse of temporary object
2037
+ # 45| Type = [Class] ClassWithDestructor2
2038
+ # 45| ValueCategory = xvalue
2039
+ # 47| getImplicitDestructorCall(1): [DestructorCall] call to ~ClassWithDestructor2
2034
2040
# 47| Type = [VoidType] void
2035
2041
# 47| ValueCategory = prvalue
2036
2042
# 47| getQualifier(): [VariableAccess] c
You can’t perform that action at this time.
0 commit comments