aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--cppcheck.suppress8
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