Changeset View
Changeset View
Standalone View
Standalone View
arcanist/linter/CppCheckLinter.php
Show All 28 Lines | "src/bench/prevector.cpp" => array( | ||||
// Remove this once this false positive is fixed in cppcheck | // Remove this once this false positive is fixed in cppcheck | ||||
"syntax error", | "syntax error", | ||||
), | ), | ||||
"src/coins.h" => array( | "src/coins.h" => array( | ||||
"Class 'CCoinsViewBacked' has a constructor with 1 argument that is not explicit.", | "Class 'CCoinsViewBacked' has a constructor with 1 argument that is not explicit.", | ||||
"Class 'CCoinsViewCache' has a constructor with 1 argument that is not explicit.", | "Class 'CCoinsViewCache' has a constructor with 1 argument that is not explicit.", | ||||
"Class 'CCoinsViewCursor' has a constructor with 1 argument that is not explicit.", | "Class 'CCoinsViewCursor' has a constructor with 1 argument that is not explicit.", | ||||
), | ), | ||||
"src/compat/glibcxx_sanity.cpp" => array( | |||||
// This is a deliberate sanity check and not a real issue | |||||
"Out of bounds access in expression 'test.at(1)' because 'test' is empty and 'at' may be non-zero.", | |||||
), | |||||
"src/cuckoocache.h" => array( | "src/cuckoocache.h" => array( | ||||
"Struct 'KeyOnly' has a constructor with 1 argument that is not explicit.", | "Struct 'KeyOnly' has a constructor with 1 argument that is not explicit.", | ||||
), | ), | ||||
"src/init.cpp" => array( | |||||
// This is a cppcheck issue, occurring on Debian Buster's version 1.86. | |||||
// This no longer occurs with version 2.3, and maybe other earlier | |||||
// versions (untested). FIXME: remove when the bug is fixed. | |||||
"Syntax Error: AST broken, binary operator '=' doesn't have two operands.", | |||||
), | |||||
"src/net.h" => array( | "src/net.h" => array( | ||||
"Class 'CNetMessage' has a constructor with 1 argument that is not explicit.", | "Class 'CNetMessage' has a constructor with 1 argument that is not explicit.", | ||||
), | ), | ||||
"src/net_processing.cpp" => array( | "src/net_processing.cpp" => array( | ||||
"Same iterator is used with different containers 'mapOrphanTransactions' and 'itPrev.second'.", | "Same iterator is used with different containers 'mapOrphanTransactions' and 'itPrev.second'.", | ||||
), | ), | ||||
"src/policy/feerate.h" => array( | "src/policy/feerate.h" => array( | ||||
"Class 'CFeeRate' has a constructor with 1 argument that is not explicit.", | "Class 'CFeeRate' has a constructor with 1 argument that is not explicit.", | ||||
▲ Show 20 Lines • Show All 218 Lines • Show Last 20 Lines |