You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: c/misra/src/rules/RULE-20-8/ControllingExpressionIfDirective.ql
+6-11
Original file line number
Diff line number
Diff line change
@@ -14,40 +14,35 @@
14
14
15
15
import cpp
16
16
import codingstandards.c.misra
17
+
import codingstandards.cpp.PreprocessorDirective
17
18
18
19
/* A controlling expression is evaluated if it is not excluded (guarded by another controlling expression that is not taken). This translates to it either being taken or not taken. */
- Fix issue #7 - improve query logic to only match on exact standard library names (e.g., now excludes sys/header.h type headers from the results as those are not C standard libraries).
* Gets the number of uses of variable `v` in an opaque assignment, where an opaqua assignment for example a cast from one type to the other and `v` is assumed to be a member of the resulting type.
0 commit comments