Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
A
Actor Framework
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
cpp-libs
Actor Framework
Commits
d41b9549
Commit
d41b9549
authored
Jun 06, 2016
by
Dominik Charousset
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Suppress false positives in cppcheck
parent
ba5cd462
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
8 deletions
+9
-8
.cppcheck-suppressions
.cppcheck-suppressions
+9
-8
No files found.
.cppcheck-suppressions
View file @
d41b9549
...
...
@@ -2,15 +2,14 @@
// make it harder to use and its a library internal anyways
noExplicitConstructor:libcaf_core/caf/attachable.hpp
// cppcheck has all kinds of false positives in the maybe<T> header, mostly
// const and static suggestions that are flat out wrong and would cause
// compiler errors ("Technically the member function 'caf::maybe::destroy' can
// be const.", wtf?)
*:libcaf_core/caf/maybe.hpp
// cppcheck fails to recognize the pattern of converting
// `intrusive_ptr<T>` from `intrusive_ptr<U>`
// cppcheck complains about padding1 and padding2 not
// being initialized, which is silly (never used anywhere)
uninitMemberVar:libcaf_io/caf/io/basp/header.hpp
// converting raw pointers to intrusive pointers is
// a common operation (e.g. getting a smart pointer to self)
noExplicitConstructor:libcaf_core/caf/intrusive_ptr.hpp
noExplicitConstructor:libcaf_core/caf/weak_intrusive_ptr.hpp
// cppcheck complains about `node_id(const invalid_node_id_t&)`,
// which must not be explicit because `invalid_node_id_t` would
...
...
@@ -54,3 +53,5 @@ functionStatic:bcaf_core/caf/abstract_uniform_type_info.hpp
// functions are used in a macro in opencl/smart_ptr.hpp
unusedFunction:libcaf_opencl/src/global.cpp
// suppress false positives
unusedStructMember:libcaf_core/test/serialization.cpp
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment