Files
iverilog/vhdlpp/cppcheck.sup
T

55 lines
1.6 KiB
Plaintext
Raw Normal View History

2026-01-05 18:53:31 -08:00
// cppcheck is wrong
// text is used in strchr()/strrchr() which take a char* not a const char*
constParameterPointer:lexor.lex:698
// Yes, the assetion should always trigger
incorrectStringBooleanError:expression_stream.cc:153
incorrectStringBooleanError:expression_stream.cc:158
// cppcheck is wrong this cannot be a const
constVariableReference:library.cc:255
2026-02-24 23:53:02 -08:00
// We check memory allocation with valgrind
unsafeClassCanLeak:libmisc/StringHeap.h:79
2026-01-13 01:20:10 -08:00
// We only use a StringHeap or a StringHepLex
duplInheritedMember:libmisc/StringHeap.h:99
duplInheritedMember:libmisc/StringHeap.h:100
duplInheritedMember:libmisc/StringHeap.cc:160
duplInheritedMember:libmisc/StringHeap.cc:182
2026-01-05 18:53:31 -08:00
// Skip the use STL messages
useStlAlgorithm
2025-12-08 20:39:47 -08:00
// Errors/limitations in the generated yacc and lex files
cstyleCast:lexor.cc
constVariablePointer:lexor.cc
2026-05-21 05:19:53 -07:00
duplicateBreak:lexor.cc
2026-01-05 18:53:31 -08:00
redundantInitialization:lexor.cc
2025-12-08 20:39:47 -08:00
unusedFunction:lexor.cc
unusedStructMember:lexor.cc
2026-01-05 18:53:31 -08:00
uselessAssignmentPtrArg:lexor.cc
duplicateBreak:lexor.lex
redundantInitialization:lexor.lex
uselessAssignmentPtrArg:lexor.lex
2025-12-08 20:39:47 -08:00
constParameterPointer:parse.cc
2026-05-21 05:19:53 -07:00
invalidPrintfArgType_sint:parse.cc
2026-01-05 18:53:31 -08:00
knownConditionTrueFalse:parse.cc
2026-05-21 05:19:53 -07:00
unsignedPositive:parse.cc
2026-01-05 18:53:31 -08:00
// Unused functions
unusedFunction:LineInfo.h
unusedFunction:StringHeap.cc
unusedFunction:architec.h
unusedFunction:expression.cc
unusedFunction:expression.h
unusedFunction:parse_types.h
unusedFunction:scope.cc
unusedFunction:sequential.cc
unusedFunction:sequential.h
unusedFunction:std_types.cc
unusedFunction:subprogram.cc
unusedFunction:subprogram.h
unusedFunction:vhdlint.cc
unusedFunction:vtype.cc