Skip to content

Commit 28e1e3a

Browse files
committed
C++: remove skeleton for IR destructors on expressions
1 parent 331f308 commit 28e1e3a

File tree

1 file changed

+0
-13
lines changed

1 file changed

+0
-13
lines changed

cpp/ql/lib/semmle/code/cpp/ir/implementation/raw/internal/TranslatedExpr.qll

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -97,19 +97,6 @@ abstract class TranslatedExpr extends TranslatedElement {
9797
)
9898
}
9999

100-
final override predicate hasAnImplicitDestructorCall() {
101-
exists(expr.getAnImplicitDestructorCall())
102-
}
103-
104-
final override int getFirstDestructorCallIndex() {
105-
not this.handlesDestructorsExplicitly() and
106-
(
107-
result = max(int childId | exists(this.getChildInternal(childId))) + 1
108-
or
109-
not exists(this.getChildInternal(_)) and result = 0
110-
)
111-
}
112-
113100
final override Locatable getAst() { result = expr }
114101

115102
final override Declaration getFunction() { result = getEnclosingDeclaration(expr) }

0 commit comments

Comments
 (0)