File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
cpp/ql/lib/semmle/code/cpp/exprs Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -949,7 +949,7 @@ class DeleteOrDeleteArrayExpr extends Expr, TDeleteOrDeleteArrayExpr {
949
949
DestructorCall getDestructorCall ( ) { result = this .getChild ( 1 ) }
950
950
951
951
/**
952
- * Gets the destructor to be called to destroy the object/ array, if any.
952
+ * Gets the destructor to be called to destroy the object or array, if any.
953
953
*/
954
954
Destructor getDestructor ( ) { result = this .getDestructorCall ( ) .getTarget ( ) }
955
955
@@ -997,10 +997,10 @@ class DeleteOrDeleteArrayExpr extends Expr, TDeleteOrDeleteArrayExpr {
997
997
}
998
998
999
999
/**
1000
- * Gets the object/ array being deleted.
1000
+ * Gets the object or array being deleted.
1001
1001
*/
1002
1002
Expr getExpr ( ) {
1003
- // If there is a destuctor call, the object being deleted is the qualifier
1003
+ // If there is a destructor call, the object being deleted is the qualifier
1004
1004
// otherwise it is the third child.
1005
1005
result = this .getChild ( 3 ) or result = this .getDestructorCall ( ) .getQualifier ( )
1006
1006
}
You can’t perform that action at this time.
0 commit comments