Skip to content

Commit

Permalink
checkers.cpp: Update file using tools/get_checkers.py
Browse files Browse the repository at this point in the history
  • Loading branch information
danmar committed Aug 31, 2024
1 parent e6b0081 commit e628391
Showing 1 changed file with 35 additions and 1 deletion.
36 changes: 35 additions & 1 deletion lib/checkers.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,7 @@ namespace checkers {
{"CheckOther::clarifyStatement","warning"},
{"CheckOther::checkSuspiciousSemicolon","warning,inconclusive"},
{"CheckOther::warningOldStylePointerCast","style,c++"},
{"CheckOther::suspiciousFloatingPointCast","style"},
{"CheckOther::invalidPointerCast","portability"},
{"CheckOther::checkRedundantAssignment","style"},
{"CheckOther::redundantBitwiseOperationInSwitch","warning"},
Expand All @@ -113,7 +114,7 @@ namespace checkers {
{"CheckOther::checkRedundantPointerOp","style"},
{"CheckOther::checkInterlockedDecrement","windows-platform"},
{"CheckOther::checkUnusedLabel","style,warning"},
{"CheckOther::checkEvaluationOrder","C/C++03"},
{"CheckOther::checkEvaluationOrder",""},
{"CheckOther::checkAccessOfMovedVariable","c++11,warning"},
{"CheckOther::checkFuncArgNamesDifferent","style,warning,inconclusive"},
{"CheckOther::checkShadowVariables","style"},
Expand Down Expand Up @@ -209,6 +210,8 @@ namespace checkers {

const std::map<std::string, std::string> premiumCheckers{
{"Autosar: A0-1-3",""},
{"Autosar: A0-1-4",""},
{"Autosar: A0-1-5",""},
{"Autosar: A0-1-6",""},
{"Autosar: A0-4-2",""},
{"Autosar: A0-4-4",""},
Expand All @@ -234,6 +237,7 @@ namespace checkers {
{"Autosar: A2-13-3",""},
{"Autosar: A2-13-5",""},
{"Autosar: A2-5-2",""},
{"Autosar: A2-7-1",""},
{"Autosar: A20-8-2","warning"},
{"Autosar: A20-8-3","warning"},
{"Autosar: A20-8-4",""},
Expand All @@ -251,6 +255,7 @@ namespace checkers {
{"Autosar: A3-1-3",""},
{"Autosar: A3-1-4",""},
{"Autosar: A3-3-1",""},
{"Autosar: A3-9-1",""},
{"Autosar: A4-10-1",""},
{"Autosar: A4-7-1",""},
{"Autosar: A5-0-2",""},
Expand All @@ -263,14 +268,20 @@ namespace checkers {
{"Autosar: A5-1-7",""},
{"Autosar: A5-16-1",""},
{"Autosar: A5-2-1",""},
{"Autosar: A5-2-3",""},
{"Autosar: A5-2-4",""},
{"Autosar: A5-3-3",""},
{"Autosar: A6-5-3",""},
{"Autosar: A7-1-4",""},
{"Autosar: A7-1-6",""},
{"Autosar: A7-1-7",""},
{"Autosar: A7-2-1",""},
{"Autosar: A7-2-2",""},
{"Autosar: A7-6-1",""},
{"Autosar: A8-4-1",""},
{"Autosar: A8-5-3",""},
{"Autosar: A9-3-1",""},
{"Cert C++: CON50-CPP",""},
{"Cert C++: CON51-CPP",""},
{"Cert C++: CON52-CPP",""},
{"Cert C++: CON53-CPP",""},
Expand Down Expand Up @@ -310,6 +321,7 @@ namespace checkers {
{"Cert C++: EXP57-CPP",""},
{"Cert C++: EXP58-CPP",""},
{"Cert C++: EXP59-CPP",""},
{"Cert C++: EXP60-CPP",""},
{"Cert C++: FIO51-CPP",""},
{"Cert C++: INT50-CPP",""},
{"Cert C++: MEM52-CPP",""},
Expand Down Expand Up @@ -360,6 +372,12 @@ namespace checkers {
{"Cert C: ERR30-C",""},
{"Cert C: ERR32-C",""},
{"Cert C: ERR33-C",""},
{"Cert C: EXP03-C",""},
{"Cert C: EXP05-C",""},
{"Cert C: EXP09-C",""},
{"Cert C: EXP13-C",""},
{"Cert C: EXP15-C",""},
{"Cert C: EXP19-C",""},
{"Cert C: EXP32-C",""},
{"Cert C: EXP35-C",""},
{"Cert C: EXP36-C",""},
Expand Down Expand Up @@ -671,6 +689,7 @@ namespace checkers {
{"Misra C++ 2023: 4.1.1",""},
{"Misra C++ 2023: 4.1.2",""},
{"Misra C++ 2023: 5.0.1",""},
{"Misra C++ 2023: 5.10.1",""},
{"Misra C++ 2023: 5.13.1",""},
{"Misra C++ 2023: 5.13.2",""},
{"Misra C++ 2023: 5.13.3",""},
Expand Down Expand Up @@ -747,7 +766,12 @@ namespace checkers {
{"Misra C: 10.6",""},
{"Misra C: 10.7",""},
{"Misra C: 10.8",""},
{"Misra C: 11.1",""},
{"Misra C: 11.10",""},
{"Misra C: 11.2",""},
{"Misra C: 11.3",""},
{"Misra C: 11.4",""},
{"Misra C: 11.8",""},
{"Misra C: 12.3",""},
{"Misra C: 12.6",""},
{"Misra C: 13.1",""},
Expand Down Expand Up @@ -798,12 +822,17 @@ namespace checkers {
{"Misra C: 23.6",""},
{"Misra C: 23.7",""},
{"Misra C: 23.8",""},
{"Misra C: 5.1",""},
{"Misra C: 5.2",""},
{"Misra C: 6.1",""},
{"Misra C: 6.3",""},
{"Misra C: 7.4","style"},
{"Misra C: 7.5",""},
{"Misra C: 7.6",""},
{"Misra C: 8.1",""},
{"Misra C: 8.10",""},
{"Misra C: 8.15",""},
{"Misra C: 8.15",""},
{"Misra C: 8.16",""},
{"Misra C: 8.17",""},
{"Misra C: 8.3",""},
Expand All @@ -813,6 +842,11 @@ namespace checkers {
{"Misra C: 8.8",""},
{"Misra C: 9.6",""},
{"Misra C: 9.7",""},
{"Misra C: Dir 4.3",""},
{"Misra C: Dir 4.4",""},
{"Misra C: Dir 4.5",""},
{"Misra C: Dir 4.6",""},
{"Misra C: Dir 4.9",""},
{"PremiumCheckBufferOverrun::addressOfPointerArithmetic","warning"},
{"PremiumCheckBufferOverrun::negativeBufferSizeCheckedNonZero","warning"},
{"PremiumCheckBufferOverrun::negativeBufferSizeCheckedNonZero","warning"},
Expand Down

0 comments on commit e628391

Please sign in to comment.