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 | ab2105ce4a7838df7d4d45410fd8aa46973893dc (patch) | |
| tree | dcc02218548eca706c029701c6ec11c420e903cf | |
| parent | bb1bdfa2f811ecc80f885d9fe024e16f46947a9a (diff) | |
| download | scintilla-mirror-ab2105ce4a7838df7d4d45410fd8aa46973893dc.tar.gz | |
Suppress 'noValidConfiguration' problems with Qt moc_* files.
Remove suppressions that are no longer needed with cppcheck 1.86 for lexers.
| -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
 | 
