Refactored: Reuse existing code
[TortoiseGit.git] / ext / scintilla / cppcheck.suppress
blob10bf9dbf3854b7e9f3e486b07ee6512ec61b777a
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
3 // Does not suppress false positives from cppcheck.\r
4 \r
5 // Coding style is to use assignments in constructor when there are many\r
6 // members to initialize or the initialization is complex or has comments.\r
7 useInitializationList\r
8 \r
9 // Suppress most lexer warnings since the lexers are maintained by others\r
10 useInitializationList:scintilla/lexers/LexAsm.cxx\r
11 useInitializationList:scintilla/lexers/LexBasic.cxx\r
12 noCopyConstructor:scintilla/lexers/LexBash.cxx\r
13 variableScope:scintilla/lexers/LexBash.cxx\r
14 variableScope:scintilla/lexers/LexCmake.cxx\r
15 variableScope:scintilla/lexers/LexCSS.cxx\r
16 useInitializationList:scintilla/lexers/LexD.cxx\r
17 variableScope:scintilla/lexers/LexErlang.cxx\r
18 variableScope:scintilla/lexers/LexGui4Cli.cxx\r
19 variableScope:scintilla/lexers/LexInno.cxx\r
20 variableScope:scintilla/lexers/LexLaTeX.cxx\r
21 variableScope:scintilla/lexers/LexMetapost.cxx\r
22 variableScope:scintilla/lexers/LexModula.cxx\r
23 variableScope:scintilla/lexers/LexNimrod.cxx\r
24 variableScope:scintilla/lexers/LexNsis.cxx\r
25 variableScope:scintilla/lexers/LexOpal.cxx\r
26 variableScope:scintilla/lexers/LexOthers.cxx\r
27 variableScope:scintilla/lexers/LexPB.cxx\r
28 noCopyConstructor:scintilla/lexers/LexPerl.cxx\r
29 variableScope:scintilla/lexers/LexRuby.cxx\r
30 uninitMemberVar:scintilla/lexers/LexRuby.cxx\r
31 variableScope:scintilla/lexers/LexSpecman.cxx\r
32 unreadVariable:scintilla/lexers/LexSpice.cxx\r
33 invalidscanf:scintilla/lexers/LexTCMD.cxx\r
34 variableScope:scintilla/lexers/LexTeX.cxx\r
35 variableScope:scintilla/lexers/LexVHDL.cxx\r
37 // Suppress C-style pointer casting for Qt code as won't be changing\r
38 cstyleCast:scintilla/qt/ScintillaEdit/ScintillaDocument.cpp\r
40 // Suppress everything in catch.hpp as won't be changing\r
41 *:scintilla/test/unit/catch.hpp\r