diff options
author | Neil <nyamatongwe@gmail.com> | 2019-10-30 09:38:23 +1100 |
---|---|---|
committer | Neil <nyamatongwe@gmail.com> | 2019-10-30 09:38:23 +1100 |
commit | f42c64cf9a0e5e244c3bb4956b5377ef64f5a180 (patch) | |
tree | 6c9f001443117cc8db763a7ba55eab7be6577eb7 /cppcheck.suppress | |
parent | f15eb0cfb1843b8d30caeef0e20978ef40f1570e (diff) | |
download | scintilla-mirror-f42c64cf9a0e5e244c3bb4956b5377ef64f5a180.tar.gz |
Reduce unwanted warnings from cppcheck.
Diffstat (limited to 'cppcheck.suppress')
-rw-r--r-- | cppcheck.suppress | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/cppcheck.suppress b/cppcheck.suppress index 8b8b189e2..fd9135edd 100644 --- a/cppcheck.suppress +++ b/cppcheck.suppress @@ -25,6 +25,9 @@ shiftTooManyBitsSigned:scintilla/src/MarginView.cxx // ScintillaDocument is providing an API and there are no consumers of the API inside Scintilla
unusedFunction:scintilla/qt/ScintillaEdit/ScintillaDocument.cpp
+// moc_ files show #error as they are not built with standard context
+preprocessorErrorDirective:scintilla/qt/*.cpp
+
// moc_ files are not understood by cppcheck
noValidConfiguration
@@ -46,11 +49,11 @@ uninitMemberVar:scintilla/lexers/LexBash.cxx variableScope:scintilla/lexers/LexBash.cxx
variableScope:scintilla/lexers/LexBatch.cxx
constParameter:scintilla/lexers/LexBullant.cxx
-constStatement:scintilla/lexers/LexCaml.cxx
variableScope:scintilla/lexers/LexCmake.cxx
constParameter:scintilla/lexers/LexCLW.cxx
constParameter:scintilla/lexers/LexCOBOL.cxx
constParameter:scintilla/lexers/LexCoffeeScript.cxx
+constParameter:scintilla/lexers/LexCPP.cxx
variableScope:scintilla/lexers/LexCSS.cxx
constParameter:scintilla/lexers/LexDataflex.cxx
variableScope:scintilla/lexers/LexDataflex.cxx
@@ -186,6 +189,9 @@ constVariable:scintilla/lexers/LexVHDL.cxx // bp.itBracket not actually redundant as needed by return statements
redundantAssignment:scintilla/lexers/LexCPP.cxx
+// Appears spurious for allowTermination
+knownConditionTrueFalse:scintilla/lexers/LexHTML.cxx
+
// Suppress everything in catch.hpp as won't be changing
*:scintilla/test/unit/catch.hpp
// For now, suppress all test source files as, since Catch 2, cppcheck shows many warnings showing
|