diff options
-rw-r--r-- | cppcheck.suppress | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/cppcheck.suppress b/cppcheck.suppress index 7a0b9cc01..35b25eac5 100644 --- a/cppcheck.suppress +++ b/cppcheck.suppress @@ -15,6 +15,9 @@ unusedFunction:scintilla/qt/ScintillaEdit/ScintillaDocument.cpp // code legibility.
passedByValue
+// The three private methods DefWndProc, ScrollText, and ModifyScrollBars are called by superclasses
+unusedPrivateFunction:scintilla/win32/ScintillaWin.cxx
+
// Suppress most lexer warnings since the lexers are maintained by others
redundantCondition:scintilla/lexers/LexA68k.cxx
useInitializationList:scintilla/lexers/LexAsm.cxx
@@ -46,7 +49,6 @@ variableScope:scintilla/lexers/LexVHDL.cxx // Suppress everything in catch.hpp as won't be changing
*:scintilla/test/unit/catch.hpp
-// Spurious errors due to choice of variadic or two argument TEST_CASE macro
-preprocessorErrorDirective:scintilla/test/unit/*.cxx
-syntaxError:scintilla/test/unit/UnitTester.cxx
-syntaxError:scintilla/test/unit/unitTest.cxx
+// For now, suppress all test source files as, since Catch 2, cppcheck shows many warnings showing
+// it doesn't understand the REQUIRE macro
+*:scintilla/test/unit/*.cxx
|