1 // File to suppress cppcheck warnings for files that will not be fixed.
\r
2 // Does not suppress warnings where an additional occurrence of the warning may be of interest.
\r
4 // Coding style is to use assignments in constructor when there are many
\r
5 // members to initialize or the initialization is complex or has comments.
\r
6 useInitializationList
\r
8 // Some non-explicit constructors are used for conversions or are private to lexers
\r
9 noExplicitConstructor
\r
11 // ScintillaDocument is providing an API and there are no consumers of the API inside Scintilla
\r
12 unusedFunction:scintilla/qt/ScintillaEdit/ScintillaDocument.cpp
\r
14 // The performance cost of by-value passing is often small and using a reference decreases
\r
18 // Suppress most lexer warnings since the lexers are maintained by others
\r
19 redundantCondition:scintilla/lexers/LexA68k.cxx
\r
20 useInitializationList:scintilla/lexers/LexAsm.cxx
\r
21 useInitializationList:scintilla/lexers/LexBasic.cxx
\r
22 uninitMemberVar:scintilla/lexers/LexBash.cxx
\r
23 variableScope:scintilla/lexers/LexBash.cxx
\r
24 variableScope:scintilla/lexers/LexBatch.cxx
\r
25 variableScope:scintilla/lexers/LexCmake.cxx
\r
26 variableScope:scintilla/lexers/LexCSS.cxx
\r
27 useInitializationList:scintilla/lexers/LexD.cxx
\r
28 variableScope:scintilla/lexers/LexErlang.cxx
\r
29 variableScope:scintilla/lexers/LexGui4Cli.cxx
\r
30 variableScope:scintilla/lexers/LexInno.cxx
\r
31 variableScope:scintilla/lexers/LexLaTeX.cxx
\r
32 variableScope:scintilla/lexers/LexMetapost.cxx
\r
33 variableScope:scintilla/lexers/LexModula.cxx
\r
34 variableScope:scintilla/lexers/LexNimrod.cxx
\r
35 variableScope:scintilla/lexers/LexNsis.cxx
\r
36 variableScope:scintilla/lexers/LexOpal.cxx
\r
37 variableScope:scintilla/lexers/LexPB.cxx
\r
38 variableScope:scintilla/lexers/LexProgress.cxx
\r
39 variableScope:scintilla/lexers/LexRuby.cxx
\r
40 uninitMemberVar:scintilla/lexers/LexRuby.cxx
\r
41 variableScope:scintilla/lexers/LexSpecman.cxx
\r
42 clarifyCalculation:scintilla/lexers/LexTADS3.cxx
\r
43 invalidscanf:scintilla/lexers/LexTCMD.cxx
\r
44 variableScope:scintilla/lexers/LexTeX.cxx
\r
45 variableScope:scintilla/lexers/LexVHDL.cxx
\r
47 // Suppress everything in catch.hpp as won't be changing
\r
48 *:scintilla/test/unit/catch.hpp
\r
49 // For now, suppress all test source files as, since Catch 2, cppcheck shows many warnings showing
\r
50 // it doesn't understand the REQUIRE macro
\r
51 *:scintilla/test/unit/*.cxx
\r