-
Notifications
You must be signed in to change notification settings - Fork 103
Expand file tree
/
Copy pathsuppressions.cppcheck
More file actions
48 lines (38 loc) · 1.22 KB
/
suppressions.cppcheck
File metadata and controls
48 lines (38 loc) · 1.22 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
// it is possible to call va_copy() first
va_list_usedBeforeStarted:src/scip/message.c
// false warnings for use of SCIP memory alloc functions
legacyUninitvar
// ignore possibilities to reduce variable scope
variableScope
// style suffers with templating
unreadVariable:src/scip/sorttpl.c
constStatement:src/scip/sorttpl.c
funcArgNamesDifferent:src/scip/sorttpl.c
funcArgOrderDifferent:src/scip/sorttpl.c
// objscip could be updated to C++11 by adding override keywords
missingOverride:src/objscip/*
// C++ code uses SCIP memory macros
cstyleCast:*.cpp
cstyleCast:src/objscip/*.h
// potential possibilities to improve C++ code - check later
functionStatic:src/scip/reader_nl.cpp
duplInheritedMember:src/scip/reader_nl.cpp
// cppcheck may not find system header files, and not all are available on all systems (e.g., windows.h)
missingIncludeSystem
// various suggestions to add consts
constParameterCallback
constParameterPointer
constParameter
constVariablePointer
constVariable
// cppcheck informing that it didn't explore all branches in the code
normalCheckLevelMaxBranches
checkLevelNormal
// third-party code, Ip* is for Ipopt headers
*:src/amplmp/*
*:src/cppad/*
*:src/dejavu/*
*:src/nauty/*
*:src/sassy/*
*:lib/include/*
*:Ip*.hpp