From 78d8561545fffad4402ccb44ab025c86f149c792 Mon Sep 17 00:00:00 2001 From: Autumn60 Date: Thu, 6 Jun 2024 09:33:13 +0900 Subject: [PATCH] add .cppcheck_suppressions file Signed-off-by: Autumn60 --- .cppcheck_suppressions | 59 +++++++++++++++++++++++++++++++++++++++++ .github/sync-files.yaml | 1 + 2 files changed, 60 insertions(+) create mode 100644 .cppcheck_suppressions diff --git a/.cppcheck_suppressions b/.cppcheck_suppressions new file mode 100644 index 0000000..a712762 --- /dev/null +++ b/.cppcheck_suppressions @@ -0,0 +1,59 @@ +arrayIndexThenCheck +assignBoolToFloat +checkersReport +constParameterPointer +constParameterReference +constStatement +constVariable +constVariablePointer +constVariableReference +containerOutOfBounds +cstyleCast +ctuOneDefinitionRuleViolation +current_deleted_index +duplicateAssignExpression +duplicateBranch +duplicateBreak +duplicateCondition +duplicateExpression +funcArgNamesDifferent +functionConst +functionStatic +invalidPointerCast +knownConditionTrueFalse +missingInclude +missingIncludeSystem +multiCondition +noConstructor +noExplicitConstructor +noValidConfiguration +obstacle_cruise_planner +passedByValue +preprocessorErrorDirective +redundantAssignment +redundantContinue +redundantIfRemove +redundantInitialization +returnByReference +selfAssignment +shadowArgument +shadowFunction +shadowVariable +stlFindInsert +syntaxError +uninitMemberVar +unknownMacro +unmatchedSuppression +unpreciseMathCall +unreadVariable +unsignedLessThanZero +unusedFunction +unusedScopedObject +unusedStructMember +unusedVariable +useInitializationList +useStlAlgorithm +uselessCallsSubstr +uselessOverride +variableScope +virtualCallInConstructor \ No newline at end of file diff --git a/.github/sync-files.yaml b/.github/sync-files.yaml index d2518c9..a07633c 100644 --- a/.github/sync-files.yaml +++ b/.github/sync-files.yaml @@ -26,3 +26,4 @@ files: - source: .github/workflows/cppcheck-all.yaml - source: .github/workflows/cppcheck-differential.yaml + - source: .cppcheck_suppressions