From e9ab57baee0c857a7c1cb75be7159a0bfba3c89f Mon Sep 17 00:00:00 2001 From: nyamatongwe Date: Mon, 29 Apr 2013 21:00:22 +1000 Subject: Suppress a common style issue. --- cppcheck.suppress | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'cppcheck.suppress') 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 -- cgit v1.2.3