diff options
Diffstat (limited to 'cppcheck.suppress')
-rw-r--r-- | cppcheck.suppress | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/cppcheck.suppress b/cppcheck.suppress index 4def66397..58229d3f0 100644 --- a/cppcheck.suppress +++ b/cppcheck.suppress @@ -2,6 +2,10 @@ // 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
+
// Suppress most lexer warnings since the lexers are maintained by others
variableScope:scintilla/lexers/LexA68k.cxx
useInitializationList:scintilla/lexers/LexAsm.cxx
|