mirror of
https://github.com/rizonesoft/Notepad3.git
synced 2026-06-14 21:09:05 +08:00
53 lines
2.3 KiB
Plaintext
53 lines
2.3 KiB
Plaintext
// File to suppress cppcheck warnings for files that will not be fixed.
|
|
// Does not suppress warnings where an additional occurrence of the warning may be of interest.
|
|
|
|
// Coding style is to use assignments in constructor when there are many
|
|
// members to initialize or the initialization is complex or has comments.
|
|
useInitializationList
|
|
|
|
// Some non-explicit constructors are used for conversions or are private to lexers
|
|
noExplicitConstructor
|
|
|
|
// ScintillaDocument is providing an API and there are no consumers of the API inside Scintilla
|
|
unusedFunction:scintilla/qt/ScintillaEdit/ScintillaDocument.cpp
|
|
|
|
// 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
|
|
variableScope:scintilla/lexers/LexBash.cxx
|
|
variableScope:scintilla/lexers/LexBatch.cxx
|
|
variableScope:scintilla/lexers/LexCmake.cxx
|
|
variableScope:scintilla/lexers/LexCSS.cxx
|
|
useInitializationList:scintilla/lexers/LexD.cxx
|
|
variableScope:scintilla/lexers/LexErlang.cxx
|
|
variableScope:scintilla/lexers/LexGui4Cli.cxx
|
|
variableScope:scintilla/lexers/LexInno.cxx
|
|
variableScope:scintilla/lexers/LexLaTeX.cxx
|
|
variableScope:scintilla/lexers/LexMetapost.cxx
|
|
variableScope:scintilla/lexers/LexModula.cxx
|
|
variableScope:scintilla/lexers/LexNimrod.cxx
|
|
variableScope:scintilla/lexers/LexNsis.cxx
|
|
variableScope:scintilla/lexers/LexOpal.cxx
|
|
variableScope:scintilla/lexers/LexPB.cxx
|
|
variableScope:scintilla/lexers/LexProgress.cxx
|
|
variableScope:scintilla/lexers/LexRuby.cxx
|
|
uninitMemberVar:scintilla/lexers/LexRuby.cxx
|
|
variableScope:scintilla/lexers/LexSpecman.cxx
|
|
clarifyCalculation:scintilla/lexers/LexTADS3.cxx
|
|
invalidscanf:scintilla/lexers/LexTCMD.cxx
|
|
variableScope:scintilla/lexers/LexTeX.cxx
|
|
variableScope:scintilla/lexers/LexVHDL.cxx
|
|
|
|
// Suppress everything in catch.hpp as won't be changing
|
|
*:scintilla/test/unit/catch.hpp
|
|
// Spurious errors due to choice of variadic or two argument TEST_CASE macro
|
|
preprocessorErrorDirective:scintilla/test/unit/*.cxx
|
|
syntaxError:scintilla/test/unit/UnitTester.cxx
|
|
syntaxError:scintilla/test/unit/unitTest.cxx
|