mirror of
https://github.com/mirror/scintilla.git
synced 2025-10-14 02:43:26 +08:00
Update suppressions for cppcheck 2.15.
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user