aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorNeil <nyamatongwe@gmail.com>2019-01-03 09:26:42 +1100
committerNeil <nyamatongwe@gmail.com>2019-01-03 09:26:42 +1100
commit06c22cfa87130bc7fc57e547a3aa47cda948b085 (patch)
treeba09d51fc248847ae172334196c1946348b52686
parent0b4aa4e5307bbb76147d9b7c5b1feb062a4ca054 (diff)
downloadscintilla-mirror-06c22cfa87130bc7fc57e547a3aa47cda948b085.tar.gz
Backport: Update suppressions for Cppcheck 1.86.
Backport of changeset 7190:24b78f37c441.
-rw-r--r--cppcheck.suppress7
1 files changed, 7 insertions, 0 deletions
diff --git a/cppcheck.suppress b/cppcheck.suppress
index b89562469..883e79430 100644
--- a/cppcheck.suppress
+++ b/cppcheck.suppress
@@ -10,6 +10,9 @@ useInitializationList
// produces same result on empty collections
useStlAlgorithm
+// cppcheck 1.86 seems to be misunderstanding flow control in the large switch statement
+knownConditionTrueFalse:scintilla/src/Editor.cxx
+
// Some non-explicit constructors are used for conversions or are private to lexers
noExplicitConstructor
@@ -26,6 +29,7 @@ passedByValue
// Suppress most lexer warnings since the lexers are maintained by others
redundantCondition:scintilla/lexers/LexA68k.cxx
useInitializationList:scintilla/lexers/LexAsm.cxx
+shadowVar:scintilla/lexers/LexAU3.cxx
useInitializationList:scintilla/lexers/LexBasic.cxx
uninitMemberVar:scintilla/lexers/LexBash.cxx
variableScope:scintilla/lexers/LexBash.cxx
@@ -46,7 +50,9 @@ variableScope:scintilla/lexers/LexNimrod.cxx
variableScope:scintilla/lexers/LexNsis.cxx
variableScope:scintilla/lexers/LexOpal.cxx
variableScope:scintilla/lexers/LexPB.cxx
+shadowVar:scintilla/lexers/LexPowerPro.cxx
variableScope:scintilla/lexers/LexProgress.cxx
+redundantAssignment:scintilla/lexers/LexRegistry.cxx
variableScope:scintilla/lexers/LexRuby.cxx
uninitMemberVar:scintilla/lexers/LexRuby.cxx
variableScope:scintilla/lexers/LexSpecman.cxx
@@ -55,6 +61,7 @@ invalidscanf:scintilla/lexers/LexTCMD.cxx
knownConditionTrueFalse:scintilla/lexers/LexTCMD.cxx
variableScope:scintilla/lexers/LexTeX.cxx
knownConditionTrueFalse:scintilla/lexers/LexVerilog.cxx
+shadowVar:scintilla/lexers/LexVHDL.cxx
variableScope:scintilla/lexers/LexVHDL.cxx
unreadVariable:scintilla/lexers/LexVisualProlog.cxx