diff options
-rw-r--r-- | cppcheck.suppress | 8 |
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
|