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 {
949949 DestructorCall getDestructorCall ( ) { result = this .getChild ( 1 ) }
950950
951951 /**
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.
953953 */
954954 Destructor getDestructor ( ) { result = this .getDestructorCall ( ) .getTarget ( ) }
955955
@@ -997,10 +997,10 @@ class DeleteOrDeleteArrayExpr extends Expr, TDeleteOrDeleteArrayExpr {
997997 }
998998
999999 /**
1000- * Gets the object/ array being deleted.
1000+ * Gets the object or array being deleted.
10011001 */
10021002 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
10041004 // otherwise it is the third child.
10051005 result = this .getChild ( 3 ) or result = this .getDestructorCall ( ) .getQualifier ( )
10061006 }
You can’t perform that action at this time.
0 commit comments