Skip to content

Commit 2a1ac40

Browse files
committed
Declarations7: fix unused leftover predicate RULE-18-8
1 parent 712d76e commit 2a1ac40

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

c/misra/src/rules/RULE-18-8/VariableLengthArrayTypesUsed.ql

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -14,14 +14,6 @@
1414
import cpp
1515
import codingstandards.c.misra
1616

17-
predicate partOfConstantExpr(MacroInvocation i) {
18-
exists(Expr e |
19-
e.isConstant() and
20-
not i.getExpr() = e and
21-
i.getExpr().getParent+() = e
22-
)
23-
}
24-
2517
/**
2618
* A variable length array (VLA)
2719
* ie an array where the size

0 commit comments

Comments
 (0)