diff options
author | Neil <nyamatongwe@gmail.com> | 2018-03-26 15:30:09 +1100 |
---|---|---|
committer | Neil <nyamatongwe@gmail.com> | 2018-03-26 15:30:09 +1100 |
commit | ccfaed3e4d322b1aebedbe5e42f315434af94459 (patch) | |
tree | 6d24ffd97126a5011e1fcb5bb3b7f64690a1eaa8 /cppcheck.suppress | |
parent | e0cfc0864c3ce887cac4214c5e6c5f539bea3e40 (diff) | |
download | scintilla-mirror-ccfaed3e4d322b1aebedbe5e42f315434af94459.tar.gz |
Suppress new warnings because of Catch 2.0.1.
Suppress unused private function warnings in ScintillaWin as they are used.
Diffstat (limited to 'cppcheck.suppress')
-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
|