Changeset View
Changeset View
Standalone View
Standalone View
arcanist/linter/CppCheckLinter.php
Show First 20 Lines • Show All 107 Lines • ▼ Show 20 Lines | const CPPCHECK_IGNORED_WARNINGS = array( | ||||
"src/support/allocators/secure.h" => array( | "src/support/allocators/secure.h" => array( | ||||
"Struct 'secure_allocator < char >' has a constructor with 1 argument that is not explicit.", | "Struct 'secure_allocator < char >' has a constructor with 1 argument that is not explicit.", | ||||
"Struct 'secure_allocator < RNGState >' has a constructor with 1 argument that is not explicit.", | "Struct 'secure_allocator < RNGState >' has a constructor with 1 argument that is not explicit.", | ||||
"Struct 'secure_allocator < unsigned char >' has a constructor with 1 argument that is not explicit.", | "Struct 'secure_allocator < unsigned char >' has a constructor with 1 argument that is not explicit.", | ||||
), | ), | ||||
"src/support/allocators/zeroafterfree.h" => array( | "src/support/allocators/zeroafterfree.h" => array( | ||||
"Struct 'zero_after_free_allocator < char >' has a constructor with 1 argument that is not explicit.", | "Struct 'zero_after_free_allocator < char >' has a constructor with 1 argument that is not explicit.", | ||||
), | ), | ||||
"src/test/blockindex_tests.cpp" => array( | |||||
// This is a false positive, the array is list initialized | |||||
"Out of bounds access in 'times[i]', if 'times' size is 1 and 'i' is 11", | |||||
"Out of bounds access in 'times2[i]', if 'times2' size is 1 and 'i' is 11", | |||||
), | |||||
"src/test/checkqueue_tests.cpp" => array( | "src/test/checkqueue_tests.cpp" => array( | ||||
"Struct 'FailingCheck' has a constructor with 1 argument that is not explicit.", | "Struct 'FailingCheck' has a constructor with 1 argument that is not explicit.", | ||||
"Struct 'MemoryCheck' has a constructor with 1 argument that is not explicit.", | "Struct 'MemoryCheck' has a constructor with 1 argument that is not explicit.", | ||||
"Struct 'UniqueCheck' has a constructor with 1 argument that is not explicit.", | "Struct 'UniqueCheck' has a constructor with 1 argument that is not explicit.", | ||||
), | ), | ||||
"src/test/cuckoocache_tests.cpp" => array( | "src/test/cuckoocache_tests.cpp" => array( | ||||
"Struct 'KeyType' has a constructor with 1 argument that is not explicit.", | "Struct 'KeyType' has a constructor with 1 argument that is not explicit.", | ||||
"Struct 'TestMapElement' has a constructor with 1 argument that is not explicit." | "Struct 'TestMapElement' has a constructor with 1 argument that is not explicit." | ||||
▲ Show 20 Lines • Show All 162 Lines • Show Last 20 Lines |