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 a3711e1 commit 417b9c9Copy full SHA for 417b9c9
cpp/ql/lib/semmle/code/cpp/controlflow/internal/CFG.qll
@@ -332,16 +332,7 @@ private Node getControlOrderChildSparse(Node n, int i) {
332
n = any(ConditionDeclExpr cd | i = 0 and result = cd.getInitializingExpr())
333
or
334
n =
335
- any(DeleteExpr del |
336
- i = 0 and result = del.getExpr()
337
- or
338
- i = 1 and result = del.getDestructorCall()
339
340
- i = 2 and result = del.getDeallocatorCall()
341
- )
342
343
- n =
344
- any(DeleteArrayExpr del |
+ any(DeleteOrDeleteArrayExpr del |
345
i = 0 and result = del.getExpr()
346
347
i = 1 and result = del.getDestructorCall()
0 commit comments