// having an explicit constructor for attachable would
// 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 optional header,
// mostly const and static suggestions that are flat out wrong and
// would cause compiler error (const optional::destroy?, wtf?)
*:libcaf_core/caf/optional.hpp

// cppcheck fails to recognize the pattern of converting
// `intrusive_ptr<T>` from `intrusive_ptr<U>`
noExplicitConstructor:libcaf_core/caf/intrusive_ptr.hpp

// cppcheck complains about `node_id(const invalid_node_id_t&)`,
// which must not be explicit because `invalid_node_id_t` would
// be completely useless otherwise, the same is true for
// - `message_id(invalid_message_id_t)`
noExplicitConstructor:libcaf_core/caf/node_id.hpp
noExplicitConstructor:libcaf_core/caf/message_id.hpp

// the ctor `duration(std::chrono::duration<Rep, Period> d)`
// is not explicit on purpose
noExplicitConstructor:libcaf_core/caf/duration.hpp

// `operator=(const ref_counted&)` does not assign `rc_`
// on purpose because this would corrupt reference counting
operatorEqVarError:libcaf_core/src/ref_counted.cpp

// cppcheck complains about not initializing the pad members
uninitMemberVar:libcaf_core/caf/detail/double_ended_queue.hpp

// making the policy functions static is technically possible,
// but conceptionally questionable
functionStatic:libcaf_core/caf/policy/work_stealing.hpp

// 6 false positives
*:libcaf_core/caf/detail/limited_vector.hpp

// `test_struct::test_value` is unused since this file tests `announce`
unusedStructMember:libcaf_io/test/uniform_type.cpp

// `exit_reason::as_string` is unused in this .cpp file, but part of the API,
// same is true for other falsely reported unused functions
unusedFunction:libcaf_core/src/exit_reason.cpp
unusedFunction:libcaf_core/src/shared_spinlock.cpp
unusedFunction:libcaf_io/src/interfaces.cpp
unusedFunction:libcaf_io/src/max_msg_size.cpp

// making only some overloads of `abstract_uniform_type_info::eq`
// static fails on MSVC
functionStatic:bcaf_core/caf/abstract_uniform_type_info.hpp
