Commit b18a89e
authored
File tree
13 files changed
+716
-2
lines changedFilter options
- c/misra
- src/rules
- RULE-6-1
- RULE-6-2
- test/rules
- RULE-6-1
- RULE-6-2
- cpp/common/src/codingstandards/cpp/exclusions/c
- rule_packages/c
13 files changed
+716
-2
lines changedc/misra/src/rules/RULE-6-1/BitFieldsShallOnlyBeDeclaredWithAnAppropriateType.ql
Copy file name to clipboard+33Lines changed: 33 additions & 0 deletions
Original file line number | Diff line number | Diff line change |
---|---|---|
| ||
| 1 | + |
| 2 | + |
| 3 | + |
| 4 | + |
| 5 | + |
| 6 | + |
| 7 | + |
| 8 | + |
| 9 | + |
| 10 | + |
| 11 | + |
| 12 | + |
| 13 | + |
| 14 | + |
| 15 | + |
| 16 | + |
| 17 | + |
| 18 | + |
| 19 | + |
| 20 | + |
| 21 | + |
| 22 | + |
| 23 | + |
| 24 | + |
| 25 | + |
| 26 | + |
| 27 | + |
| 28 | + |
| 29 | + |
| 30 | + |
| 31 | + |
| 32 | + |
| 33 | + |
c/misra/src/rules/RULE-6-2/SingleBitNamedBitFieldsOfASignedType.ql
Copy file name to clipboard+34Lines changed: 34 additions & 0 deletions
Original file line number | Diff line number | Diff line change |
---|---|---|
| ||
| 1 | + |
| 2 | + |
| 3 | + |
| 4 | + |
| 5 | + |
| 6 | + |
| 7 | + |
| 8 | + |
| 9 | + |
| 10 | + |
| 11 | + |
| 12 | + |
| 13 | + |
| 14 | + |
| 15 | + |
| 16 | + |
| 17 | + |
| 18 | + |
| 19 | + |
| 20 | + |
| 21 | + |
| 22 | + |
| 23 | + |
| 24 | + |
| 25 | + |
| 26 | + |
| 27 | + |
| 28 | + |
| 29 | + |
| 30 | + |
| 31 | + |
| 32 | + |
| 33 | + |
| 34 | + |
c/misra/test/rules/RULE-6-1/BitFieldsShallOnlyBeDeclaredWithAnAppropriateType.expected
Copy file name to clipboard+4Lines changed: 4 additions & 0 deletions
Original file line number | Diff line number | Diff line change |
---|---|---|
| ||
| 1 | + |
| 2 | + |
| 3 | + |
| 4 | + |
c/misra/test/rules/RULE-6-1/BitFieldsShallOnlyBeDeclaredWithAnAppropriateType.qlref
Copy file name to clipboard+1Lines changed: 1 addition & 0 deletions
Original file line number | Diff line number | Diff line change |
---|---|---|
| ||
| 1 | + |
c/misra/test/rules/RULE-6-1/test.c
Copy file name to clipboard+15Lines changed: 15 additions & 0 deletions
Original file line number | Diff line number | Diff line change |
---|---|---|
| ||
| 1 | + |
| 2 | + |
| 3 | + |
| 4 | + |
| 5 | + |
| 6 | + |
| 7 | + |
| 8 | + |
| 9 | + |
| 10 | + |
| 11 | + |
| 12 | + |
| 13 | + |
| 14 | + |
| 15 | + |
c/misra/test/rules/RULE-6-2/SingleBitNamedBitFieldsOfASignedType.expected
Copy file name to clipboard+4Lines changed: 4 additions & 0 deletions
Original file line number | Diff line number | Diff line change |
---|---|---|
| ||
| 1 | + |
| 2 | + |
| 3 | + |
| 4 | + |
c/misra/test/rules/RULE-6-2/SingleBitNamedBitFieldsOfASignedType.qlref
Copy file name to clipboard+1Lines changed: 1 addition & 0 deletions
Original file line number | Diff line number | Diff line change |
---|---|---|
| ||
| 1 | + |
c/misra/test/rules/RULE-6-2/test.c
Copy file name to clipboard+17Lines changed: 17 additions & 0 deletions
Original file line number | Diff line number | Diff line change |
---|---|---|
| ||
| 1 | + |
| 2 | + |
| 3 | + |
| 4 | + |
| 5 | + |
| 6 | + |
| 7 | + |
| 8 | + |
| 9 | + |
| 10 | + |
| 11 | + |
| 12 | + |
| 13 | + |
| 14 | + |
| 15 | + |
| 16 | + |
| 17 | + |
cpp/common/src/codingstandards/cpp/exclusions/c/BitfieldTypes.qll
Copy file name to clipboard+44Lines changed: 44 additions & 0 deletions
Original file line number | Diff line number | Diff line change |
---|---|---|
| ||
| 1 | + |
| 2 | + |
| 3 | + |
| 4 | + |
| 5 | + |
| 6 | + |
| 7 | + |
| 8 | + |
| 9 | + |
| 10 | + |
| 11 | + |
| 12 | + |
| 13 | + |
| 14 | + |
| 15 | + |
| 16 | + |
| 17 | + |
| 18 | + |
| 19 | + |
| 20 | + |
| 21 | + |
| 22 | + |
| 23 | + |
| 24 | + |
| 25 | + |
| 26 | + |
| 27 | + |
| 28 | + |
| 29 | + |
| 30 | + |
| 31 | + |
| 32 | + |
| 33 | + |
| 34 | + |
| 35 | + |
| 36 | + |
| 37 | + |
| 38 | + |
| 39 | + |
| 40 | + |
| 41 | + |
| 42 | + |
| 43 | + |
| 44 | + |
cpp/common/src/codingstandards/cpp/exclusions/c/RuleMetadata.qll
Copy file name to clipboardExpand all lines: cpp/common/src/codingstandards/cpp/exclusions/c/RuleMetadata.qll+3Lines changed: 3 additions & 0 deletions
Original file line number | Diff line number | Diff line change |
---|---|---|
| ||
3 | 3 |
|
4 | 4 |
|
5 | 5 |
|
| 6 | + |
6 | 7 |
|
7 | 8 |
|
8 | 9 |
|
| ||
47 | 48 |
|
48 | 49 |
|
49 | 50 |
|
| 51 | + |
50 | 52 |
|
51 | 53 |
|
52 | 54 |
|
| ||
91 | 93 |
|
92 | 94 |
|
93 | 95 |
|
| 96 | + |
94 | 97 |
|
95 | 98 |
|
96 | 99 |
|
|
0 commit comments