Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 2a1ac40

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

File tree

Expand file treeCollapse file tree

1 file changed

+0
-8
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+0
-8
lines changed

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

Copy file name to clipboardExpand all lines: c/misra/src/rules/RULE-18-8/VariableLengthArrayTypesUsed.ql
-8Lines 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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.