From 0e2590c5c6823bb0f049c1a0441bc444ede0a40c Mon Sep 17 00:00:00 2001 From: Neil Date: Mon, 25 Sep 2023 09:03:53 +1000 Subject: Update cppcheck to 2.12. --- cppcheck.suppress | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'cppcheck.suppress') diff --git a/cppcheck.suppress b/cppcheck.suppress index d14019943..092de64ee 100644 --- a/cppcheck.suppress +++ b/cppcheck.suppress @@ -24,11 +24,15 @@ checkLevelNormal:scintilla/src/Editor.cxx // Redundant code: Found unused cast of expression 'leadByte' constStatement:scintilla/src/Document.cxx +// ILexer5* is not pointing at logically const +constParameterPointer:scintilla/src/Document.cxx + // Some non-explicit constructors are used for conversions or are private to lexers noExplicitConstructor // MarginView access to all bits is safe and is better defined in later versions of C++ shiftTooManyBitsSigned:scintilla/src/MarginView.cxx +integerOverflow:scintilla/src/MarginView.cxx // DLL entry points are unused inside Scintilla unusedFunction:scintilla/win32/ScintillaDLL.cxx @@ -50,9 +54,6 @@ knownConditionTrueFalse:scintilla/src/EditView.cxx arithOperationsOnVoidPointer:scintilla/src/PerLine.cxx arithOperationsOnVoidPointer:scintilla/src/PositionCache.cxx -// Cppcheck wrongly assumes string_view::remove_prefix can not empty the view -knownConditionTrueFalse:scintilla/src/CallTip.cxx - // G_DEFINE_TYPE is too complex to pass to cppcheck unknownMacro:scintilla/gtk/PlatGTK.cxx -- cgit v1.2.3