From 7113f76eb3ca43a26420be32aa6be043165adeea Mon Sep 17 00:00:00 2001 From: Neil Date: Mon, 22 Jun 2015 13:23:15 +1000 Subject: Remove some annoying messages from cppcheck. --- cppcheck.suppress | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'cppcheck.suppress') 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 -- cgit v1.2.3