diff options
author | Neil <nyamatongwe@gmail.com> | 2019-01-23 08:33:43 +1100 |
---|---|---|
committer | Neil <nyamatongwe@gmail.com> | 2019-01-23 08:33:43 +1100 |
commit | 0eb472cabe01f68cab7e7a07a004f45dc8c53780 (patch) | |
tree | 945cc7b48eb77ffcf377d402c93bf3449525f971 | |
parent | 458304eb583a64fcdec5f5d9270417a1c5c628c8 (diff) | |
download | scintilla-mirror-0eb472cabe01f68cab7e7a07a004f45dc8c53780.tar.gz |
Backport: Suppress 'noValidConfiguration' problems with Qt moc_* files.
Remove suppressions that are no longer needed with cppcheck 1.86 for lexers.
Backport of changeset 7236:f7c14d3fec75.
-rw-r--r-- | cppcheck.suppress | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/cppcheck.suppress b/cppcheck.suppress index 883e79430..417a09424 100644 --- a/cppcheck.suppress +++ b/cppcheck.suppress @@ -22,27 +22,26 @@ 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
+// moc_ files are not understood by cppcheck
+noValidConfiguration
+
// The performance cost of by-value passing is often small and using a reference decreases
// code legibility.
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
variableScope:scintilla/lexers/LexBatch.cxx
variableScope:scintilla/lexers/LexCmake.cxx
variableScope:scintilla/lexers/LexCSS.cxx
-useInitializationList:scintilla/lexers/LexD.cxx
unreadVariable:scintilla/lexers/LexDMAP.cxx
variableScope:scintilla/lexers/LexErlang.cxx
variableScope:scintilla/lexers/LexGui4Cli.cxx
variableScope:scintilla/lexers/LexInno.cxx
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
@@ -63,7 +62,6 @@ 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
// Suppress everything in catch.hpp as won't be changing
*:scintilla/test/unit/catch.hpp
|