From ab2105ce4a7838df7d4d45410fd8aa46973893dc Mon Sep 17 00:00:00 2001 From: Neil Date: Wed, 23 Jan 2019 08:33:43 +1100 Subject: Suppress 'noValidConfiguration' problems with Qt moc_* files. Remove suppressions that are no longer needed with cppcheck 1.86 for lexers. --- cppcheck.suppress | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'cppcheck.suppress') 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 -- cgit v1.2.3