diff options
author | Neil <nyamatongwe@gmail.com> | 2018-10-16 11:54:04 +1100 |
---|---|---|
committer | Neil <nyamatongwe@gmail.com> | 2018-10-16 11:54:04 +1100 |
commit | 3d88daf1a73864e22d9bb0b548bcc894ab2f09c3 (patch) | |
tree | 01266eda05a40c851fefacf6f54b512a89e28ae7 | |
parent | 41336bc98cac31d71e16bdfec71f1b40148305e5 (diff) | |
download | scintilla-mirror-3d88daf1a73864e22d9bb0b548bcc894ab2f09c3.tar.gz |
Suppress warnings from cppcheck 1.85.
The useStlAlgorithm suggestions may be worth investigation but they are not
obvious so should not be in the default messages for now.
-rw-r--r-- | cppcheck.suppress | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/cppcheck.suppress b/cppcheck.suppress index bbcc0b04e..b89562469 100644 --- a/cppcheck.suppress +++ b/cppcheck.suppress @@ -5,9 +5,17 @@ // members to initialize or the initialization is complex or has comments.
useInitializationList
+// These may be interesting but its not clear without examining each instance closely
+// Would have to ensure that any_of/all_of has same early/late exits as current code and
+// produces same result on empty collections
+useStlAlgorithm
+
// Some non-explicit constructors are used for conversions or are private to lexers
noExplicitConstructor
+// Document is checking for a change by called methods and cppcheck isn't considering escape
+knownConditionTrueFalse:scintilla/src/Document.cxx
+
// ScintillaDocument is providing an API and there are no consumers of the API inside Scintilla
unusedFunction:scintilla/qt/ScintillaEdit/ScintillaDocument.cpp
@@ -33,6 +41,7 @@ variableScope:scintilla/lexers/LexLaTeX.cxx copyCtorAndEqOperator:scintilla/lexers/LexLaTeX.cxx
variableScope:scintilla/lexers/LexMetapost.cxx
variableScope:scintilla/lexers/LexModula.cxx
+variableScope:scintilla/lexers/LexMSSQL.cxx
variableScope:scintilla/lexers/LexNimrod.cxx
variableScope:scintilla/lexers/LexNsis.cxx
variableScope:scintilla/lexers/LexOpal.cxx
@@ -43,6 +52,7 @@ uninitMemberVar:scintilla/lexers/LexRuby.cxx variableScope:scintilla/lexers/LexSpecman.cxx
clarifyCalculation:scintilla/lexers/LexTADS3.cxx
invalidscanf:scintilla/lexers/LexTCMD.cxx
+knownConditionTrueFalse:scintilla/lexers/LexTCMD.cxx
variableScope:scintilla/lexers/LexTeX.cxx
knownConditionTrueFalse:scintilla/lexers/LexVerilog.cxx
variableScope:scintilla/lexers/LexVHDL.cxx
|