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 // cppcheck does not understand private methods can be called from static methods
\r
12 unusedPrivateFunction:scintilla/win32/PlatWin.cxx
\r
14 // ScintillaDocument is providing an API and there are no consumers of the API inside Scintilla
\r
15 unusedFunction:scintilla/qt/ScintillaEdit/ScintillaDocument.cpp
\r
17 // The performance cost of by-value passing is often small and using a reference decreases
\r
21 // Suppress most lexer warnings since the lexers are maintained by others
\r
22 redundantCondition:scintilla/lexers/LexA68k.cxx
\r
23 useInitializationList:scintilla/lexers/LexAsm.cxx
\r
24 useInitializationList:scintilla/lexers/LexBasic.cxx
\r
25 uninitMemberVar:scintilla/lexers/LexBash.cxx
\r
26 variableScope:scintilla/lexers/LexBash.cxx
\r
27 variableScope:scintilla/lexers/LexBatch.cxx
\r
28 variableScope:scintilla/lexers/LexCmake.cxx
\r
29 variableScope:scintilla/lexers/LexCSS.cxx
\r
30 useInitializationList:scintilla/lexers/LexD.cxx
\r
31 variableScope:scintilla/lexers/LexErlang.cxx
\r
32 variableScope:scintilla/lexers/LexGui4Cli.cxx
\r
33 variableScope:scintilla/lexers/LexInno.cxx
\r
34 variableScope:scintilla/lexers/LexLaTeX.cxx
\r
35 variableScope:scintilla/lexers/LexMetapost.cxx
\r
36 variableScope:scintilla/lexers/LexModula.cxx
\r
37 variableScope:scintilla/lexers/LexNimrod.cxx
\r
38 variableScope:scintilla/lexers/LexNsis.cxx
\r
39 variableScope:scintilla/lexers/LexOpal.cxx
\r
40 variableScope:scintilla/lexers/LexPB.cxx
\r
41 variableScope:scintilla/lexers/LexProgress.cxx
\r
42 variableScope:scintilla/lexers/LexRuby.cxx
\r
43 uninitMemberVar:scintilla/lexers/LexRuby.cxx
\r
44 variableScope:scintilla/lexers/LexSpecman.cxx
\r
45 clarifyCalculation:scintilla/lexers/LexTADS3.cxx
\r
46 invalidscanf:scintilla/lexers/LexTCMD.cxx
\r
47 variableScope:scintilla/lexers/LexTeX.cxx
\r
48 variableScope:scintilla/lexers/LexVHDL.cxx
\r
50 // Suppress everything in catch.hpp as won't be changing
\r
51 *:scintilla/test/unit/catch.hpp
\r
52 // Spurious errors due to choice of variadic or two argument TEST_CASE macro
\r
53 preprocessorErrorDirective:scintilla/test/unit/*.cxx
\r
54 syntaxError:scintilla/test/unit/UnitTester.cxx
\r
55 syntaxError:scintilla/test/unit/unitTest.cxx
\r