diff options
author | nyamatongwe <devnull@localhost> | 2013-04-29 21:00:22 +1000 |
---|---|---|
committer | nyamatongwe <devnull@localhost> | 2013-04-29 21:00:22 +1000 |
commit | e90e25bd879ef8a0a672f7d192ab6bf89d022ec8 (patch) | |
tree | 2188234d90af486575a3ba191f178ea412fe1e1f | |
parent | 0fd5af8cb0e8b44b6c6b069da386796811b86e0e (diff) | |
download | scintilla-mirror-e90e25bd879ef8a0a672f7d192ab6bf89d022ec8.tar.gz |
Suppress a common style issue.
-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
|