aboutsummaryrefslogtreecommitdiffhomepage
path: root/cppcheck.suppress
diff options
context:
space:
mode:
authornyamatongwe <unknown>2013-04-20 11:38:07 +1000
committernyamatongwe <unknown>2013-04-20 11:38:07 +1000
commitc377165a857db1c15270ecf673fdd3f323e9bebe (patch)
tree65e33ed15ce242af4f295cc023f9284a04e52957 /cppcheck.suppress
parent066dfda368d60ebc56b1d5e81a67acca4b783898 (diff)
downloadscintilla-mirror-c377165a857db1c15270ecf673fdd3f323e9bebe.tar.gz
Added to help run cppcheck.
Diffstat (limited to 'cppcheck.suppress')
-rw-r--r--cppcheck.suppress41
1 files changed, 41 insertions, 0 deletions
diff --git a/cppcheck.suppress b/cppcheck.suppress
new file mode 100644
index 000000000..4def66397
--- /dev/null
+++ b/cppcheck.suppress
@@ -0,0 +1,41 @@
+// File to suppress cppcheck warnings for files that will not be fixed.
+// Does not suppress warnings where an additional occurrence of the warning may be of interest.
+// Does not suppress false positives from cppcheck.
+
+// Suppress most lexer warnings since the lexers are maintained by others
+variableScope:scintilla/lexers/LexA68k.cxx
+useInitializationList:scintilla/lexers/LexAsm.cxx
+useInitializationList:scintilla/lexers/LexBasic.cxx
+noCopyConstructor:scintilla/lexers/LexBash.cxx
+variableScope:scintilla/lexers/LexBash.cxx
+variableScope:scintilla/lexers/LexCmake.cxx
+variableScope:scintilla/lexers/LexCoffeeScript.cxx
+variableScope:scintilla/lexers/LexCSS.cxx
+useInitializationList:scintilla/lexers/LexD.cxx
+redundantCondition:scintilla/lexers/LexECL.cxx
+variableScope:scintilla/lexers/LexErlang.cxx
+variableScope:scintilla/lexers/LexFortran.cxx
+variableScope:scintilla/lexers/LexGui4Cli.cxx
+variableScope:scintilla/lexers/LexInno.cxx
+variableScope:scintilla/lexers/LexLaTeX.cxx
+variableScope:scintilla/lexers/LexMarkdown.cxx
+variableScope:scintilla/lexers/LexMetapost.cxx
+variableScope:scintilla/lexers/LexModula.cxx
+variableScope:scintilla/lexers/LexNimrod.cxx
+variableScope:scintilla/lexers/LexNsis.cxx
+variableScope:scintilla/lexers/LexOpal.cxx
+variableScope:scintilla/lexers/LexOthers.cxx
+variableScope:scintilla/lexers/LexPB.cxx
+variableScope:scintilla/lexers/LexPS.cxx
+uninitMemberVar:scintilla/lexers/LexPerl.cxx
+variableScope:scintilla/lexers/LexRuby.cxx
+uninitMemberVar:scintilla/lexers/LexRuby.cxx
+variableScope:scintilla/lexers/LexSpecman.cxx
+unreadVariable:scintilla/lexers/LexSpice.cxx
+invalidscanf:scintilla/lexers/LexTCMD.cxx
+variableScope:scintilla/lexers/LexTeX.cxx
+variableScope:scintilla/lexers/LexTxt2tags.cxx
+variableScope:scintilla/lexers/LexVHDL.cxx
+
+// Suppress C-style pointer casting for Qt code as won't be changing
+cstyleCast:scintilla/qt/ScintillaEdit/ScintillaDocument.cpp