diff options
author | Neil <nyamatongwe@gmail.com> | 2024-09-24 11:54:27 +1000 |
---|---|---|
committer | Neil <nyamatongwe@gmail.com> | 2024-09-24 11:54:27 +1000 |
commit | c4f161912f4afff81b0697f52f78ad7f0620ac25 (patch) | |
tree | af4334d62b637374f1992f3f42f1683d2c7d233d | |
parent | 0d12d965c3783d88642aba17d960ef959eaf45bc (diff) | |
download | scintilla-mirror-c4f161912f4afff81b0697f52f78ad7f0620ac25.tar.gz |
Update suppressions for cppcheck 2.15.
-rw-r--r-- | cppcheck.suppress | 18 |
1 files changed, 6 insertions, 12 deletions
diff --git a/cppcheck.suppress b/cppcheck.suppress index 8bccbe7aa..7344a7ae3 100644 --- a/cppcheck.suppress +++ b/cppcheck.suppress @@ -1,6 +1,9 @@ // File to suppress cppcheck warnings for files that will not be fixed.
// Does not suppress warnings where an additional occurrence of the warning may be of interest.
-// Configured for cppcheck 2.14
+// Configured for cppcheck 2.15
+
+// Just a report of how many checkers are run
+checkersReport
// This just warns that cppcheck isn't exhaustive and it still appears in exhaustive mode
normalCheckLevelMaxBranches
@@ -50,19 +53,10 @@ constParameterPointer:scintilla/win32/ScintillaWin.cxx knownConditionTrueFalse:scintilla/src/Editor.cxx
knownConditionTrueFalse:scintilla/src/EditView.cxx
-// cppcheck seems to believe that unique_ptr<T *[]>::get returns void* instead of T**
-arithOperationsOnVoidPointer:scintilla/src/PerLine.cxx
-arithOperationsOnVoidPointer:scintilla/src/PositionCache.cxx
-
// G_DEFINE_TYPE is too complex to pass to cppcheck
unknownMacro:scintilla/gtk/PlatGTK.cxx
-
-// maskSmooth set depending on preprocessor allowing Wayland definition
-badBitmaskCheck:scintilla/gtk/ScintillaGTK.cxx
-
-// Changing events to const pointers changes signature and would require casts when hooking up
-constParameterPointer:scintilla/gtk/ScintillaGTK.cxx
-constParameterCallback:scintilla/gtk/ScintillaGTK.cxx
+// G_END_DECLS
+unknownMacro:scintilla/gtk/scintilla-marshal.h
// Difficult to test accessibility so don't change
constParameterPointer:scintilla/gtk/ScintillaGTKAccessible.cxx
|