File tree
727 files changed
+8440
-1422
lines changed- c
- cert
- src/rules/INT30-C
- test/rules
- INT30-C
- MSC30-C
- common
- src/codingstandards/c
- test/rules
- amixedusemacroargumentsubjecttoexpansion
- atofatoiatolandatollused
- bitfieldshallhaveanappropriatetype
- constlikereturnvalue
- functionlikemacrosdefined
- gotoreferencealabelinsurroundingblock
- gotostatementcondition
- gotostatementshouldnotbeused
- invalidatedenvstringpointers
- invalidatedenvstringpointerswarn
- lowercaselstartsinliteralsuffix
- macroparameterfollowinghash
- namedbitfieldswithsignedintegertype
- nonterminatedescapesequences
- nonuniqueenumerationconstant
- resultofanassignmentoperatorshouldnotbeused
- unsignedoperationwithconstantoperandswraps
- useofnonzerooctalliteral
- misra
- src/rules
- DIR-4-9
- RULE-13-2
- RULE-13-4
- RULE-15-1
- RULE-15-3
- RULE-15-6
- RULE-20-11
- RULE-20-12
- RULE-21-7
- RULE-4-1
- RULE-6-1
- RULE-6-2
- RULE-7-3
- RULE-8-12
- test/rules
- DIR-4-2
- DIR-4-4
- DIR-4-5
- DIR-4-9
- RULE-13-2
- RULE-13-4
- RULE-15-1
- RULE-15-3
- RULE-20-11
- RULE-20-12
- RULE-21-7
- RULE-4-1
- RULE-6-1
- RULE-6-2
- RULE-7-1
- RULE-7-3
- cpp
- RULE-8-12
- change_notes
- cpp
- autosar
- src/rules
- A12-1-1
- A12-8-5
- A14-8-2
- A15-1-2
- A15-4-2
- A18-1-2
- A18-5-4
- A18-9-2
- A2-13-1
- A2-7-1
- A4-10-1
- A5-10-1
- A5-2-4
- A6-6-1
- A7-2-2
- A7-3-1
- A7-4-1
- A7-5-2
- A8-5-4
- M10-1-3
- M12-1-1
- M14-6-1
- M15-1-3
- M18-2-1
- M18-7-1
- M2-13-2
- M2-13-3
- M2-7-1
- M27-0-1
- M5-2-12
- M5-2-6
- M5-3-2
- M5-3-3
- M6-3-1
- M7-3-1
- M7-3-2
- M7-5-1
- M8-0-1
- M8-3-1
- M9-6-4
- test/rules
- A12-1-1
- A12-8-5
- A14-8-2
- A15-1-2
- A15-4-2
- A18-1-2
- A18-5-4
- A18-9-2
- A2-13-1
- A2-7-1
- A4-10-1
- A5-10-1
- A5-2-4
- A6-6-1
- A7-2-2
- A7-3-1
- A7-4-1
- A7-5-2
- A8-5-4
- M0-1-10.1
- M10-1-3
- M12-1-1
- M14-6-1
- M15-1-3
- M18-2-1
- M18-7-1
- M2-13-2
- M2-13-3
- M2-7-1
- M27-0-1
- M5-2-12
- M5-2-6
- M5-3-2
- M5-3-3
- M6-3-1
- M7-3-1
- M7-3-2
- M7-5-1
- M8-0-1
- M8-3-1
- M9-6-4
- common
- src/codingstandards/cpp
- exclusions/cpp
- rules
- addressofoperatoroverloaded
- amixedusemacroargumentsubjecttoexpansion
- arraypassedasfunctionargumentdecaytoapointer
- asmdeclarationused
- atofatoiatolandatollused
- backslashcharactermisuse
- bitfieldshallhaveanappropriatetype
- builtinunaryoperatorappliedtounsignedexpression
- castsbetweenapointertofunctionandanyothertype
- charactersequenceusedwithinacstylecomment
- commaoperatorused
- constlikereturnvalue
- copyandmoveassignmentsshallhandleselfassignment
- csignalfunctionsused
- csignaltypesused
- cstdiofunctionsused
- cstdiomacrosused
- cstdiotypesused
- definitionnotconsideredforunqualifiedlookup
- dereferenceofnullpointer
- emptythrowonlywithinacatchhandler
- enumerationnotdefinedwithanexplicitunderlyingtype
- exceptionobjecthavepointertype
- forwardingreferencesandforwardnotusedtogether
- functionlikemacrosdefined
- functionscallthemselveseitherdirectlyorindirectly
- functiontemplatesexplicitlyspecialized
- globalnamespacedeclarations
- globalsizedoperatordeletenotdefined
- globalunsizedoperatordeletenotdefined
- gotoreferencealabelinsurroundingblock
- gotostatementshouldnotbeused
- handleallexceptionsduringstartup
- ifelseterminationconstruct
- initializeallvirtualbaseclasses
- initializerlistconstructoristheonlyconstructor
- linesplicingusedincomments
- loopcompoundcondition
- lowercaselstartsinliteralsuffix
- macrooffsetofused
- macroparameterfollowinghash
- macroparameternotenclosedinparentheses
- multipleglobalormemberdeclarators
- multiplelocaldeclarators
- namedbitfieldswithsignedintegertype
- namenotreferredusingaqualifiedidorthis
- namenotreferredusingaqualifiedidorthisaudit
- noexceptfunctionshouldnotpropagatetothecaller
- nonglobalfunctionmain
- nonterminatedescapesequences
- nonuniqueenumerationconstant
- notdistinctidentifier
- nullptrnottheonlyformofthenullpointerconstant
- objectsdynamictypeusedfromconstructorordestructor
- overridingshallspecifydifferentdefaultarguments
- potentiallyvirtualpointeronlycomparestonullptr
- predicatefunctionobjectsshouldnotbemutable
- preprocessingdirectivewithinmacroargument
- reinterpretcastused
- resultofanassignmentoperatorshouldnotbeused
- returnreferenceorpointertoautomaticlocalvariable
- switchcasepositioncondition
- switchcompoundcondition
- switchnotwellformed
- typeomitted
- unsignedintegerliteralsnotappropriatelysuffixed
- unsignedoperationwithconstantoperandswraps
- useofnonzerooctalliteral
- vectorshouldnotbespecializedwithbool
- virtualandnonvirtualclassinthehierarchy
- test
- includes/standard-library
- library/codingstandards/cpp/mainlikefunctions/typedefint
- rules
- addressofoperatoroverloaded
- amixedusemacroargumentsubjecttoexpansion
- arraypassedasfunctionargumentdecaytoapointer
- asmdeclarationused
- atofatoiatolandatollused
- backslashcharactermisuse
- bitfieldshallhaveanappropriatetype
- builtinunaryoperatorappliedtounsignedexpression
- castsbetweenapointertofunctionandanyothertype
- charactersequenceusedwithinacstylecomment
- constlikereturnvalue
- copyandmoveassignmentsshallhandleselfassignment
- csignalfunctionsused
- csignaltypesused
- cstdiofunctionsused
- cstdiomacrosused
- cstdiotypesused
- definitionnotconsideredforunqualifiedlookup
- emptythrowonlywithinacatchhandler
- enumerationnotdefinedwithanexplicitunderlyingtype
- exceptionobjecthavepointertype
- forwardingreferencesandforwardnotusedtogether
- functionlikemacrosdefined
- functionscallthemselveseitherdirectlyorindirectly
- functiontemplatesexplicitlyspecialized
- globalnamespacedeclarations
- globalsizedoperatordeletenotdefined
- globalunsizedoperatordeletenotdefined
- gotoreferencealabelinsurroundingblock
- gotostatementcondition
- gotostatementshouldnotbeused
- initializeallvirtualbaseclasses
- initializerlistconstructoristheonlyconstructor
- invalidatedenvstringpointers
- invalidatedenvstringpointerswarn
- linesplicingusedincomments
- loopcompoundcondition
- lowercaselstartsinliteralsuffix
- macrooffsetofused
- macroparameterfollowinghash
- multipleglobalormemberdeclarators
- multiplelocaldeclarators
- namedbitfieldswithsignedintegertype
- namenotreferredusingaqualifiedidorthis
- namenotreferredusingaqualifiedidorthisaudit
- noexceptfunctionshouldnotpropagatetothecaller
- nonglobalfunctionmain
- nonterminatedescapesequences
- nonuniqueenumerationconstant
- nullptrnottheonlyformofthenullpointerconstant
- objectsdynamictypeusedfromconstructorordestructor
- overridingshallspecifydifferentdefaultarguments
- potentiallyvirtualpointeronlycomparestonullptr
- reinterpretcastused
- resultofanassignmentoperatorshouldnotbeused
- returnreferenceorpointertoautomaticlocalvariable
- switchcompoundcondition
- unsignedintegerliteralsnotappropriatelysuffixed
- unsignedoperationwithconstantoperandswraps
- useofnonzerooctalliteral
- vectorshouldnotbespecializedwithbool
- virtualandnonvirtualclassinthehierarchy
- misra
- src/rules
- DIR-15-8-1
- RULE-10-0-1
- RULE-10-2-1
- RULE-10-4-1
- RULE-11-6-3
- RULE-12-2-2
- RULE-12-2-3
- RULE-13-1-2
- RULE-13-3-2
- RULE-13-3-4
- RULE-15-1-1
- RULE-15-1-2
- RULE-15-1-5
- RULE-16-5-2
- RULE-17-8-1
- RULE-18-1-1
- RULE-18-1-2
- RULE-18-5-1
- RULE-19-0-2
- RULE-19-3-2
- RULE-19-3-3
- RULE-21-10-3
- RULE-21-2-1
- RULE-21-2-4
- RULE-21-6-4
- RULE-26-3-1
- RULE-28-6-2
- RULE-30-0-1
- RULE-5-13-1
- RULE-5-13-2
- RULE-5-13-3
- RULE-5-13-4
- RULE-5-13-5
- RULE-5-7-1
- RULE-5-7-3
- RULE-6-0-3
- RULE-6-0-4
- RULE-6-4-2
- RULE-6-4-3
- RULE-6-8-2
- RULE-7-11-1
- RULE-7-11-2
- RULE-8-18-2
- RULE-8-19-1
- RULE-8-2-10
- RULE-8-2-4
- RULE-8-2-5
- RULE-8-20-1
- RULE-8-3-1
- RULE-9-3-1
- RULE-9-6-1
- RULE-9-6-2
- test/rules
- DIR-15-8-1
- RULE-10-0-1
- RULE-10-2-1
- RULE-10-4-1
- RULE-11-6-3
- RULE-12-2-2
- RULE-12-2-3
- RULE-13-1-2
- RULE-13-3-2
- RULE-13-3-4
- RULE-15-1-1
- RULE-15-1-2
- RULE-15-1-5
- RULE-16-5-2
- RULE-17-8-1
- RULE-18-1-1
- RULE-18-1-2
- RULE-18-5-1
- RULE-19-0-2
- RULE-19-3-2
- RULE-19-3-3
- RULE-21-10-3
- RULE-21-2-1
- RULE-21-2-4
- RULE-21-6-4
- RULE-26-3-1
- RULE-28-6-2
- RULE-30-0-1
- RULE-5-13-1
- RULE-5-13-2
- RULE-5-13-3
- RULE-5-13-4
- RULE-5-13-5
- RULE-5-7-1
- RULE-5-7-3
- RULE-6-0-3
- RULE-6-0-4
- RULE-6-4-2
- RULE-6-4-3
- RULE-6-8-2
- RULE-7-11-1
- RULE-7-11-2
- RULE-8-18-2
- RULE-8-19-1
- RULE-8-2-10
- RULE-8-2-4
- RULE-8-2-5
- RULE-8-20-1
- RULE-8-3-1
- RULE-9-3-1
- RULE-9-6-1
- RULE-9-6-2
- rule_packages
- c
- cpp
- scripts/generate_rules
- templates
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
727 files changed
+8440
-1422
lines changedLines changed: 7 additions & 20 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
15 | 15 |
| |
16 | 16 |
| |
17 | 17 |
| |
18 |
| - | |
19 |
| - | |
20 |
| - | |
| 18 | + | |
21 | 19 |
| |
22 |
| - | |
23 |
| - | |
24 |
| - | |
25 |
| - | |
26 |
| - | |
27 |
| - | |
28 |
| - | |
29 |
| - | |
30 |
| - | |
31 |
| - | |
32 |
| - | |
33 |
| - | |
34 |
| - | |
35 |
| - | |
36 |
| - | |
37 |
| - | |
38 |
| - | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + |
Lines changed: 0 additions & 4 deletions
This file was deleted.
Lines changed: 0 additions & 1 deletion
This file was deleted.
Lines changed: 1 addition & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
| 1 | + |
Lines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1 |
| - | |
| 1 | + |
Lines changed: 0 additions & 4 deletions
This file was deleted.
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1 |
| - | |
2 |
| - | |
| 1 | + | |
| 2 | + |
Lines changed: 4 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + |
Lines changed: 26 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 | + |
Lines changed: 4 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + |
Lines changed: 4 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + |
Lines changed: 13 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 | + |
Lines changed: 4 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + |
Lines changed: 4 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + |
Lines 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 | + |
Lines changed: 16 additions & 16 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1 | 1 |
| |
2 |
| - | |
3 |
| - | |
4 |
| - | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
5 | 5 |
| |
6 |
| - | |
7 |
| - | |
8 |
| - | |
9 |
| - | |
10 |
| - | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
11 | 11 |
| |
12 |
| - | |
13 |
| - | |
14 |
| - | |
15 |
| - | |
16 |
| - | |
17 |
| - | |
18 |
| - | |
19 |
| - | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
20 | 20 |
|
Lines changed: 3 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
1 | 3 |
| |
| 4 | + | |
2 | 5 |
| |
3 | 6 |
| |
4 | 7 |
| |
|
Lines changed: 2 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
| 1 | + | |
| 2 | + |
Lines changed: 4 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + |
Lines changed: 42 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 | + |
Lines changed: 3 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + |
Lines changed: 4 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + |
Lines changed: 2 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
1 | 3 |
| |
2 | 4 |
| |
3 | 5 |
| |
|
Lines changed: 4 additions & 3 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1 |
| - | |
2 |
| - | |
3 |
| - | |
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + |
Lines changed: 25 additions & 13 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1 |
| - | |
2 |
| - | |
3 |
| - | |
4 |
| - | |
5 |
| - | |
| 1 | + | |
| 2 | + | |
| 3 | + | |
6 | 4 |
| |
7 |
| - | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
8 | 12 |
| |
9 | 13 |
| |
10 |
| - | |
11 |
| - | |
12 |
| - | |
13 |
| - | |
14 |
| - | |
15 |
| - | |
16 |
| - | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
17 | 24 |
| |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + |
Lines changed: 1 addition & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
| 1 | + |
Lines changed: 4 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + |
Lines changed: 11 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + |
Lines changed: 6 additions & 6 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1 |
| - | |
2 |
| - | |
3 |
| - | |
4 |
| - | |
5 |
| - | |
6 |
| - | |
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + |
Lines changed: 2 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
1 | 3 |
| |
2 | 4 |
| |
3 | 5 |
| |
|
Lines changed: 2 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1 |
| - | |
2 |
| - | |
| 1 | + | |
| 2 | + |
Lines changed: 2 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
1 | 3 |
| |
2 | 4 |
| |
3 | 5 |
| |
|
Lines changed: 16 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 | + |
Lines changed: 4 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + |
0 commit comments