aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorNeil <nyamatongwe@gmail.com>2023-09-25 09:03:53 +1000
committerNeil <nyamatongwe@gmail.com>2023-09-25 09:03:53 +1000
commit0e2590c5c6823bb0f049c1a0441bc444ede0a40c (patch)
treece7c550bb2ebe08346dfbea4ffd7f8822c2b4010
parentc1176a38383a6e014a3bc3a58eb2f7f7f1f9a9e9 (diff)
downloadscintilla-mirror-0e2590c5c6823bb0f049c1a0441bc444ede0a40c.tar.gz
Update cppcheck to 2.12.
-rw-r--r--cppcheck.suppress7
1 files changed, 4 insertions, 3 deletions
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