diff options
| author | Neil <nyamatongwe@gmail.com> | 2015-06-22 13:23:15 +1000 |
|---|---|---|
| committer | Neil <nyamatongwe@gmail.com> | 2015-06-22 13:23:15 +1000 |
| commit | 7113f76eb3ca43a26420be32aa6be043165adeea (patch) | |
| tree | 970cf286c4017719eb839dba7a4cf318b576ff4e | |
| parent | 572af8ff126d40e1ee8bfb2b310981bc424da4e2 (diff) | |
| download | scintilla-mirror-7113f76eb3ca43a26420be32aa6be043165adeea.tar.gz | |
Remove some annoying messages from cppcheck.
| -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
|
