Commit 2526a88
File tree
30 files changed
+1102
-599
lines changedFilter options
- c/misra
- src
- codingstandards/c/misra
- rules
- DIR-4-6
- RULE-10-1
- RULE-10-3
- RULE-10-4
- RULE-10-5
- RULE-10-7
- RULE-10-8
- RULE-14-1
- test/rules
- DIR-4-6
- RULE-1-4
- RULE-10-1
- RULE-10-3
- RULE-10-4
- RULE-10-5
- RULE-10-7
- RULE-10-8
- change_notes
- cpp/common/src/codingstandards/cpp
30 files changed
+1102
-599
lines changed+7-7Lines changed: 7 additions & 7 deletions
Original file line number | Diff line number | Diff line change |
---|---|---|
| ||
1 | 1 |
|
2 |
| - |
| 2 | + |
3 | 3 |
|
4 | 4 |
|
5 | 5 |
|
6 |
| - |
7 |
| - |
8 |
| - |
9 |
| - |
10 |
| - |
11 |
| - |
| 6 | + |
| 7 | + |
| 8 | + |
| 9 | + |
| 10 | + |
| 11 | + |
12 | 12 |
|
13 | 13 |
|
14 | 14 |
|
|
c/misra/src/codingstandards/c/misra/EssentialTypes.qll
Copy file name to clipboardExpand all lines: c/misra/src/codingstandards/c/misra/EssentialTypes.qll+24-4Lines changed: 24 additions & 4 deletions
Original file line number | Diff line number | Diff line change |
---|---|---|
| ||
6 | 6 |
|
7 | 7 |
|
8 | 8 |
|
| 9 | + |
| 10 | + |
| 11 | + |
| 12 | + |
9 | 13 |
|
10 | 14 |
|
11 | 15 |
|
12 | 16 |
|
13 | 17 |
|
14 | 18 |
|
15 |
| - |
| 19 | + |
16 | 20 |
|
17 | 21 |
|
18 | 22 |
|
| ||
27 | 31 |
|
28 | 32 |
|
29 | 33 |
|
30 |
| - |
| 34 | + |
| 35 | + |
| 36 | + |
31 | 37 |
|
32 | 38 |
|
33 | 39 |
|
| ||
145 | 151 |
|
146 | 152 |
|
147 | 153 |
|
148 |
| - |
149 |
| - |
| 154 | + |
| 155 | + |
| 156 | + |
| 157 | + |
| 158 | + |
150 | 159 |
|
151 | 160 |
|
152 | 161 |
|
| ||
168 | 177 |
|
169 | 178 |
|
170 | 179 |
|
| 180 | + |
| 181 | + |
| 182 | + |
| 183 | + |
| 184 | + |
| 185 | + |
| 186 | + |
| 187 | + |
| 188 | + |
| 189 | + |
| 190 | + |
171 | 191 |
|
172 | 192 |
|
173 | 193 |
|
|
c/misra/src/rules/DIR-4-6/PlainNumericalTypeUsedOverExplicitTypedef.ql
Copy file name to clipboardExpand all lines: c/misra/src/rules/DIR-4-6/PlainNumericalTypeUsedOverExplicitTypedef.ql+51-7Lines changed: 51 additions & 7 deletions
Original file line number | Diff line number | Diff line change |
---|---|---|
| ||
29 | 29 |
|
30 | 30 |
|
31 | 31 |
|
| 32 | + |
| 33 | + |
32 | 34 |
|
33 | 35 |
|
34 | 36 |
|
| ||
38 | 40 |
|
39 | 41 |
|
40 | 42 |
|
| 43 | + |
| 44 | + |
| 45 | + |
| 46 | + |
| 47 | + |
| 48 | + |
| 49 | + |
| 50 | + |
| 51 | + |
| 52 | + |
| 53 | + |
| 54 | + |
| 55 | + |
| 56 | + |
| 57 | + |
| 58 | + |
| 59 | + |
| 60 | + |
| 61 | + |
| 62 | + |
| 63 | + |
| 64 | + |
| 65 | + |
| 66 | + |
| 67 | + |
| 68 | + |
| 69 | + |
| 70 | + |
| 71 | + |
| 72 | + |
| 73 | + |
| 74 | + |
| 75 | + |
| 76 | + |
| 77 | + |
| 78 | + |
| 79 | + |
| 80 | + |
| 81 | + |
| 82 | + |
| 83 | + |
| 84 | + |
| 85 | + |
| 86 | + |
41 | 87 |
|
42 | 88 |
|
43 | 89 |
|
44 |
| - |
| 90 | + |
45 | 91 |
|
46 |
| - |
47 |
| - |
48 |
| - |
49 |
| - |
50 |
| - |
| 92 | + |
| 93 | + |
| 94 | + |
51 | 95 |
|
52 | 96 |
|
53 | 97 |
|
54 | 98 |
|
55 | 99 |
|
56 |
| - |
| 100 | + |
57 | 101 |
|
58 | 102 |
|
59 | 103 |
|
|
c/misra/src/rules/RULE-10-1/OperandsOfAnInappropriateEssentialType.ql
Copy file name to clipboardExpand all lines: c/misra/src/rules/RULE-10-1/OperandsOfAnInappropriateEssentialType.ql+57-11Lines changed: 57 additions & 11 deletions
Original file line number | Diff line number | Diff line change |
---|---|---|
| ||
16 | 16 |
|
17 | 17 |
|
18 | 18 |
|
| 19 | + |
| 20 | + |
| 21 | + |
| 22 | + |
| 23 | + |
| 24 | + |
| 25 | + |
| 26 | + |
| 27 | + |
19 | 28 |
|
20 | 29 |
|
21 | 30 |
|
| ||
33 | 42 |
|
34 | 43 |
|
35 | 44 |
|
36 |
| - |
| 45 | + |
37 | 46 |
|
| 47 | + |
| 48 | + |
| 49 | + |
38 | 50 |
|
39 | 51 |
|
40 | 52 |
|
| ||
64 | 76 |
|
65 | 77 |
|
66 | 78 |
|
67 |
| - |
68 |
| - |
69 | 79 |
|
70 | 80 |
|
71 | 81 |
|
| ||
80 | 90 |
|
81 | 91 |
|
82 | 92 |
|
| 93 | + |
| 94 | + |
| 95 | + |
| 96 | + |
| 97 | + |
| 98 | + |
| 99 | + |
83 | 100 |
|
84 | 101 |
|
85 | 102 |
|
| ||
107 | 124 |
|
108 | 125 |
|
109 | 126 |
|
110 |
| - |
| 127 | + |
111 | 128 |
|
| 129 | + |
| 130 | + |
| 131 | + |
112 | 132 |
|
113 | 133 |
|
114 | 134 |
|
115 |
| - |
116 |
| - |
| 135 | + |
| 136 | + |
| 137 | + |
| 138 | + |
| 139 | + |
| 140 | + |
| 141 | + |
| 142 | + |
| 143 | + |
| 144 | + |
| 145 | + |
| 146 | + |
117 | 147 |
|
118 | 148 |
|
119 | 149 |
|
| ||
126 | 156 |
|
127 | 157 |
|
128 | 158 |
|
129 |
| - |
| 159 | + |
130 | 160 |
|
131 | 161 |
|
132 | 162 |
|
| ||
147 | 177 |
|
148 | 178 |
|
149 | 179 |
|
150 |
| - |
| 180 | + |
151 | 181 |
|
| 182 | + |
| 183 | + |
| 184 | + |
152 | 185 |
|
153 | 186 |
|
154 | 187 |
|
| ||
171 | 204 |
|
172 | 205 |
|
173 | 206 |
|
174 |
| - |
| 207 | + |
175 | 208 |
|
| 209 | + |
| 210 | + |
| 211 | + |
176 | 212 |
|
177 | 213 |
|
178 | 214 |
|
| ||
197 | 233 |
|
198 | 234 |
|
199 | 235 |
|
200 |
| - |
| 236 | + |
201 | 237 |
|
| 238 | + |
| 239 | + |
| 240 | + |
202 | 241 |
|
203 | 242 |
|
204 | 243 |
|
| ||
215 | 254 |
|
216 | 255 |
|
217 | 256 |
|
218 |
| - |
| 257 | + |
219 | 258 |
|
220 | 259 |
|
221 | 260 |
|
| ||
245 | 284 |
|
246 | 285 |
|
247 | 286 |
|
| 287 | + |
| 288 | + |
| 289 | + |
| 290 | + |
| 291 | + |
| 292 | + |
| 293 | + |
248 | 294 |
|
249 | 295 |
|
250 | 296 |
|
|
c/misra/src/rules/RULE-10-3/AssignmentOfIncompatibleEssentialType.ql
Copy file name to clipboardExpand all lines: c/misra/src/rules/RULE-10-3/AssignmentOfIncompatibleEssentialType.ql+6Lines changed: 6 additions & 0 deletions
Original file line number | Diff line number | Diff line change |
---|---|---|
| ||
48 | 48 |
|
49 | 49 |
|
50 | 50 |
|
| 51 | + |
| 52 | + |
| 53 | + |
| 54 | + |
| 55 | + |
| 56 | + |
51 | 57 |
|
52 | 58 |
|
c/misra/src/rules/RULE-10-4/OperandsWithMismatchedEssentialTypeCategory.ql
Copy file name to clipboardExpand all lines: c/misra/src/rules/RULE-10-4/OperandsWithMismatchedEssentialTypeCategory.ql+5Lines changed: 5 additions & 0 deletions
Original file line number | Diff line number | Diff line change |
---|---|---|
| ||
30 | 30 |
|
31 | 31 |
|
32 | 32 |
|
| 33 | + |
| 34 | + |
| 35 | + |
| 36 | + |
| 37 | + |
33 | 38 |
|
34 | 39 |
|
35 | 40 |
|
|
c/misra/src/rules/RULE-10-5/InappropriateEssentialTypeCast.ql
Copy file name to clipboardExpand all lines: c/misra/src/rules/RULE-10-5/InappropriateEssentialTypeCast.ql+3-3Lines changed: 3 additions & 3 deletions
Original file line number | Diff line number | Diff line change |
---|---|---|
| ||
23 | 23 |
|
24 | 24 |
|
25 | 25 |
|
26 |
| - |
| 26 | + |
27 | 27 |
|
28 | 28 |
|
29 | 29 |
|
30 | 30 |
|
31 | 31 |
|
32 | 32 |
|
33 |
| - |
| 33 | + |
34 | 34 |
|
35 | 35 |
|
36 | 36 |
|
| ||
42 | 42 |
|
43 | 43 |
|
44 | 44 |
|
45 |
| - |
| 45 | + |
46 | 46 |
|
47 | 47 |
|
48 | 48 |
|
|
c/misra/src/rules/RULE-10-7/ImplicitConversionOfCompositeExpression.ql
Copy file name to clipboardExpand all lines: c/misra/src/rules/RULE-10-7/ImplicitConversionOfCompositeExpression.ql+5-1Lines changed: 5 additions & 1 deletion
Original file line number | Diff line number | Diff line change |
---|---|---|
| ||
23 | 23 |
|
24 | 24 |
|
25 | 25 |
|
| 26 | + |
| 27 | + |
| 28 | + |
| 29 | + |
26 | 30 |
|
27 | 31 |
|
28 | 32 |
|
| ||
35 | 39 |
|
36 | 40 |
|
37 | 41 |
|
38 |
| - |
| 42 | + |
39 | 43 |
|
40 | 44 |
|
41 | 45 |
|
|
0 commit comments