aboutsummaryrefslogtreecommitdiffhomepage
path: root/cppcheck.suppress
diff options
context:
space:
mode:
authornyamatongwe <unknown>2013-04-29 21:00:22 +1000
committernyamatongwe <unknown>2013-04-29 21:00:22 +1000
commite9ab57baee0c857a7c1cb75be7159a0bfba3c89f (patch)
treee241acee7c3225027ca6672aa15fc11ea10f21a1 /cppcheck.suppress
parentd92144fb70f1aec59ac72f2b5508222b99a34d03 (diff)
downloadscintilla-mirror-e9ab57baee0c857a7c1cb75be7159a0bfba3c89f.tar.gz
Suppress a common style issue.
Diffstat (limited to 'cppcheck.suppress')
-rw-r--r--cppcheck.suppress4
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