aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorNeil <nyamatongwe@gmail.com>2015-06-22 13:23:15 +1000
committerNeil <nyamatongwe@gmail.com>2015-06-22 13:23:15 +1000
commit42ebf3732ac3cdbc46355fc3a1db3bfbe92d1816 (patch)
tree2332f9a68490a206606b8785848d24001e6285f7
parent0d3918e42dfbdbe782ee1f61bfb96f69bd07a492 (diff)
downloadscintilla-mirror-42ebf3732ac3cdbc46355fc3a1db3bfbe92d1816.tar.gz
Remove some annoying messages from cppcheck.
-rw-r--r--cppcheck.suppress8
1 files changed, 7 insertions, 1 deletions
diff --git a/cppcheck.suppress b/cppcheck.suppress
index f93c253fe..1be18206a 100644
--- a/cppcheck.suppress
+++ b/cppcheck.suppress
@@ -1,11 +1,17 @@
// 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.
// Coding style is to use assignments in constructor when there are many
// members to initialize or the initialization is complex or has comments.
useInitializationList
+// Some non-explicit constructors are used for conversions or are private to lexers
+noExplicitConstructor
+noExplicitCopyMoveConstructor
+
+// cppcheck does not understand private methods can be called from static methods
+unusedPrivateFunction:scintilla/win32/PlatWin.cxx
+
// Suppress most lexer warnings since the lexers are maintained by others
useInitializationList:scintilla/lexers/LexAsm.cxx
useInitializationList:scintilla/lexers/LexBasic.cxx