aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--cppcheck.suppress5
1 files changed, 5 insertions, 0 deletions
diff --git a/cppcheck.suppress b/cppcheck.suppress
index 26fd5727c..095af77ba 100644
--- a/cppcheck.suppress
+++ b/cppcheck.suppress
@@ -11,7 +11,12 @@ noExplicitConstructor
// cppcheck does not understand private methods can be called from static methods
unusedPrivateFunction:scintilla/win32/PlatWin.cxx
+// The performance cost of by-value passing is often small and using a reference decreases
+// code legibility.
+passedByValue
+
// Suppress most lexer warnings since the lexers are maintained by others
+redundantCondition:scintilla/lexers/LexA68k.cxx
useInitializationList:scintilla/lexers/LexAsm.cxx
useInitializationList:scintilla/lexers/LexBasic.cxx
uninitMemberVar:scintilla/lexers/LexBash.cxx