зеркало из https://github.com/github/codeql.git
Merge pull request #15991 from jketema/destructors17
C++: Handle destruction of temporaries in expressions with a `thow` at the root
This commit is contained in:
Коммит
ec071cde51
|
@ -2030,7 +2030,13 @@ destructors_for_temps.cpp:
|
||||||
# 45| getQualifier().getFullyConverted(): [TemporaryObjectExpr] temporary object
|
# 45| getQualifier().getFullyConverted(): [TemporaryObjectExpr] temporary object
|
||||||
# 45| Type = [Class] ClassWithDestructor2
|
# 45| Type = [Class] ClassWithDestructor2
|
||||||
# 45| ValueCategory = prvalue(load)
|
# 45| ValueCategory = prvalue(load)
|
||||||
# 47| getImplicitDestructorCall(0): [DestructorCall] call to ~ClassWithDestructor2
|
# 45| getImplicitDestructorCall(0): [DestructorCall] call to ~ClassWithDestructor2
|
||||||
|
# 45| Type = [VoidType] void
|
||||||
|
# 45| ValueCategory = prvalue
|
||||||
|
# 45| getQualifier(): [ReuseExpr] reuse of temporary object
|
||||||
|
# 45| Type = [Class] ClassWithDestructor2
|
||||||
|
# 45| ValueCategory = xvalue
|
||||||
|
# 47| getImplicitDestructorCall(1): [DestructorCall] call to ~ClassWithDestructor2
|
||||||
# 47| Type = [VoidType] void
|
# 47| Type = [VoidType] void
|
||||||
# 47| ValueCategory = prvalue
|
# 47| ValueCategory = prvalue
|
||||||
# 47| getQualifier(): [VariableAccess] c
|
# 47| getQualifier(): [VariableAccess] c
|
||||||
|
|
Загрузка…
Ссылка в новой задаче