We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 331f308 commit 28e1e3aCopy full SHA for 28e1e3a
cpp/ql/lib/semmle/code/cpp/ir/implementation/raw/internal/TranslatedExpr.qll
@@ -97,19 +97,6 @@ abstract class TranslatedExpr extends TranslatedElement {
97
)
98
}
99
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
113
final override Locatable getAst() { result = expr }
114
115
final override Declaration getFunction() { result = getEnclosingDeclaration(expr) }
0 commit comments