[compiler_support] Clang supports the is_destructible
intrinsic sin…
#2155
reviewdog [CppCheck] report
reported by reviewdog 🐶
Findings (0)
Filtered Findings (103)
libs/PhiCore/src/core/assert.cpp|4| information: Include file: not found. Please note: Cppcheck does not need standard library headers to get proper results. [missingIncludeSystem](CWE 0)
libs/PhiCore/src/core/assert.cpp|5| information: Include file: not found. Please note: Cppcheck does not need standard library headers to get proper results. [missingIncludeSystem](CWE 0)
libs/PhiCore/include/phi/compiler_support/standard_library.hpp|20| information: Include file: not found. Please note: Cppcheck does not need standard library headers to get proper results. [missingIncludeSystem](CWE 0)
libs/PhiCore/include/phi/compiler_support/standard_library.hpp|109| error: #error "Unable to determine default standard library" [preprocessorErrorDirective](CWE 0)
libs/PhiCore/include/phi/algorithm/min.hpp|14| information: Include file: <type_traits> not found. Please note: Cppcheck does not need standard library headers to get proper results. [missingIncludeSystem](CWE 0)
tests/PhiCore/compile_failure/src/core/address_of/rvalue.fail.cpp|5 col 18| style: Variable 'p' is assigned a value that is never used. [unreadVariable](CWE 563)
tests/PhiCore/compile_failure/src/core/non_copyable/construct.fail.cpp|1| information: Include file: <phi/core/NonCopyable.hpp> not found. Please note: Cppcheck does not need standard library headers to get proper results. [missingIncludeSystem](CWE 0)
tests/PhiCore/compile_failure/src/core/non_copyable/copy_assign.fail.cpp|1| information: Include file: <phi/core/NonCopyable.hpp> not found. Please note: Cppcheck does not need standard library headers to get proper results. [missingIncludeSystem](CWE 0)
tests/PhiCore/compile_failure/src/core/non_copyable/copy_assign.fail.cpp|10 col 9| style: Variable 'b' is assigned a value that is never used. [unreadVariable](CWE 563)
tests/PhiCore/compile_failure/src/core/non_copyable/copy_construct.fail.cpp|1| information: Include file: <phi/core/NonCopyable.hpp> not found. Please note: Cppcheck does not need standard library headers to get proper results. [missingIncludeSystem](CWE 0)
tests/support/runtime_failure/SetupRuntimeFailure.hpp|6| information: Include file: not found. Please note: Cppcheck does not need standard library headers to get proper results. [missingIncludeSystem](CWE 0)
tests/support/runtime_failure/SetupRuntimeFailure.hpp|7| information: Include file: not found. Please note: Cppcheck does not need standard library headers to get proper results. [missingIncludeSystem](CWE 0)
tests/PhiCore/runtime_failure/src/selftest/abort.fail.cpp|3| information: Include file: not found. Please note: Cppcheck does not need standard library headers to get proper results. [missingIncludeSystem](CWE 0)
tests/PhiCore/runtime_failure/src/selftest/exit.fail.cpp|1| information: Include file: not found. Please note: Cppcheck does not need standard library headers to get proper results. [missingIncludeSystem](CWE 0)
tests/PhiCore/runtime_failure/src/selftest/exit.fail.cpp|2| information: Include file: not found. Please note: Cppcheck does not need standard library headers to get proper results. [missingIncludeSystem](CWE 0)
tests/PhiCore/runtime_failure/src/selftest/regex.fail.cpp|1| information: Include file: not found. Please note: Cppcheck does not need standard library headers to get proper results. [missingIncludeSystem](CWE 0)
tests/PhiCore/runtime_failure/src/selftest/terminate.fail.cpp|2| information: Include file: not found. Please note: Cppcheck does not need standard library headers to get proper results. [missingIncludeSystem](CWE 0)
libs/PhiCore/include/phi/core/sized_types.hpp|12| information: Include file: not found. Please note: Cppcheck does not need standard library headers to get proper results. [missingIncludeSystem](CWE 0)
libs/PhiCore/include/phi/algorithm/max.hpp|14| information: Include file: <type_traits> not found. Please note: Cppcheck does not need standard library headers to get proper results. [missingIncludeSystem](CWE 0)
tests/PhiCore/unittests/src/compiler_support/likely.test.cpp|9 col 9| style: Condition 'integer%2==1' is always true [knownConditionTrueFalse](CWE 571)
tests/PhiCore/unittests/src/compiler_support/unreachable.test.cpp|16 col 16| style: Condition 'func()==12' is always true [knownConditionTrueFalse](CWE 571)
tests/PhiCore/unittests/src/compiler_support/unreachable.test.cpp|9 col 5| style: Statements following 'return' will never be executed. [unreachableCode](CWE 561)
tests/PhiCore/unittests/src/core/address_of/address_of.test.cpp|27 col 16| style: Local variable 'integer' shadows outer variable [shadowVariable](CWE 398)
tests/PhiCore/unittests/src/core/address_of/address_of.test.cpp|28 col 16| style: Local variable 'double_val' shadows outer variable [shadowVariable](CWE 398)
tests/PhiCore/unittests/src/core/address_of/address_of.test.cpp|45 col 21| style: Local variable 'integer' shadows outer variable [shadowVariable](CWE 398)
tests/PhiCore/unittests/src/core/address_of/address_of.test.cpp|16 col 21| style: Variable 'character' is not assigned a value. [unassignedVariable](CWE 665)
tests/PhiCore/unittests/src/core/assert.test.cpp|32 col 16| style: Condition 'func()==21' is always true [knownConditionTrueFalse](CWE 571)
tests/PhiCore/unittests/src/core/assert.test.cpp|48 col 16| style: Condition 'func()==21' is always true [knownConditionTrueFalse](CWE 571)
tests/PhiCore/unittests/src/core/intptr_t.test.cpp|7| information: Include file: not found. Please note: Cppcheck does not need standard library headers to get proper results. [missingIncludeSystem](CWE 0)
tests/PhiCore/unittests/src/core/memcmp/value.test.cpp|12 col 54| style: Parameter 'lhs' can be declared as pointer to const [constParameterPointer](CWE 398)
tests/PhiCore/unittests/src/core/memcmp/value.test.cpp|12 col 66| style: Parameter 'rhs' can be declared as pointer to const [constParameterPointer](CWE 398)
tests/PhiCore/unittests/src/core/memcmp/value.test.cpp|18 col 52| style: Parameter 'lhs' can be declared as pointer to const [constParameterPointer](CWE 398)
tests/PhiCore/unittests/src/core/memcmp/value.test.cpp|18 col 64| style: Parameter 'rhs' can be declared as pointer to const [constParameterPointer](CWE 398)
tests/PhiCore/unittests/src/core/memcmp/value.test.cpp|24 col 52| style: Parameter 'lhs' can be declared as pointer to const [constParameterPointer](CWE 398)
tests/PhiCore/unittests/src/core/memcmp/value.test.cpp|24 col 64| style: Parameter 'rhs' can be declared as pointer to const [constParameterPointer](CWE 398)
libs/PhiCore/include/phi/core/memcmp.hpp|19 col 19| warning: Comparison of identical string variables. [stringCompare](CWE 571)
tests/PhiCore/unittests/src/core/memcmp/value.test.cpp|32 col 5| warning: Comparison of identical string variables. [stringCompare](CWE 571)
tests/PhiCore/unittests/src/core/memcmp/value.test.cpp|47 col 5| warning: Unnecessary comparison of static strings. [staticStringCompare](CWE 571)
tests/PhiCore/unittests/src/core/memcmp/value.test.cpp|48 col 5| warning: Unnecessary comparison of static strings. [staticStringCompare](CWE 571)
tests/PhiCore/unittests/src/core/memcmp/value.test.cpp|49 col 5| warning: Unnecessary comparison of static strings. [staticStringCompare](CWE 571)
tests/PhiCore/unittests/src/core/memcmp/value.test.cpp|50 col 5| warning: Unnecessary comparison of static strings. [staticStringCompare](CWE 571)
tests/PhiCore/unittests/src/core/memcmp/value.test.cpp|51 col 5| warning: Unnecessary comparison of static strings. [staticStringCompare](CWE 570)
tests/PhiCore/unittests/src/core/memcmp/value.test.cpp|52 col 5| warning: Unnecessary comparison of static strings. [staticStringCompare](CWE 571)
tests/PhiCore/unittests/src/core/memcmp/value.test.cpp|53 col 5| warning: Unnecessary comparison of static strings. [staticStringCompare](CWE 570)
tests/PhiCore/unittests/src/core/memcmp/value.test.cpp|73 col 5| warning: Unnecessary comparison of static strings. [staticStringCompare](CWE 570)
tests/PhiCore/unittests/src/core/memcmp/value.test.cpp|74 col 5| warning: Unnecessary comparison of static strings. [staticStringCompare](CWE 570)
tests/PhiCore/unittests/src/core/memcmp/value.test.cpp|75 col 5| warning: Unnecessary comparison of static strings. [staticStringCompare](CWE 570)
tests/PhiCore/unittests/src/core/memcmp/value.test.cpp|76 col 5| warning: Unnecessary comparison of static strings. [staticStringCompare](CWE 570)
tests/PhiCore/unittests/src/core/memcmp/value.test.cpp|77 col 5| warning: Unnecessary comparison of static strings. [staticStringCompare](CWE 570)
tests/PhiCore/unittests/src/core/memcmp/value.test.cpp|91 col 5| warning: Unnecessary comparison of static strings. [staticStringCompare](CWE 570)
tests/PhiCore/unittests/src/core/memcmp/value.test.cpp|92 col 5| warning: Unnecessary comparison of static strings. [staticStringCompare](CWE 570)
tests/PhiCore/unittests/src/core/memcmp/value.test.cpp|93 col 5| warning: Unnecessary comparison of static strings. [staticStringCompare](CWE 570)
tests/PhiCore/unittests/src/core/memcmp/value.test.cpp|94 col 5| warning: Unnecessary comparison of static strings. [staticStringCompare](CWE 570)
tests/PhiCore/unittests/src/core/memcmp/value.test.cpp|95 col 5| warning: Unnecessary comparison of static strings. [staticStringCompare](CWE 570)
tests/PhiCore/unittests/src/core/nullptr_t.test.cpp|11| information: Include file: not found. Please note: Cppcheck does not need standard library headers to get proper results. [missingIncludeSystem](CWE 0)
tests/PhiCore/unittests/src/core/ptrdiff_t.test.cpp|7| information: Include file: not found. Please note: Cppcheck does not need standard library headers to get proper results. [missingIncludeSystem](CWE 0)
tests/PhiCore/unittests/src/core/ptrdiff_t.test.cpp|8| information: Include file: not found. Please note: Cppcheck does not need standard library headers to get proper results. [missingIncludeSystem](CWE 0)
tests/PhiCore/unittests/src/core/size_t.test.cpp|8| information: Include file: not found. Please note: Cppcheck does not need standard library headers to get proper results. [missingIncludeSystem](CWE 0)
tests/PhiCore/unittests/src/core/size_t.test.cpp|9| information: Include file: not found. Please note: Cppcheck does not need standard library headers to get proper results. [missingIncludeSystem](CWE 0)
tests/PhiCore/unittests/src/core/size_t.test.cpp|10| information: Include file: <type_traits> not found. Please note: Cppcheck does not need standard library headers to get proper results. [missingIncludeSystem](CWE 0)
tests/PhiCore/unittests/src/core/sized_types.test.cpp|9| information: Include file: not found. Please note: Cppcheck does not need standard library headers to get proper results. [missingIncludeSystem](CWE 0)
tests/PhiCore/unittests/src/core/sized_types.test.cpp|10| information: Include file: not found. Please note: Cppcheck does not need standard library headers to get proper results. [missingIncludeSystem](CWE 0)
tests/PhiCore/unittests/src/core/ssize_t.test.cpp|10| information: Include file: not found. Please note: Cppcheck does not need standard library headers to get proper results. [missingIncludeSystem](CWE 0)
tests/PhiCore/unittests/src/core/ssize_t.test.cpp|11| information: Include file: not found. Please note: Cppcheck does not need standard library headers to get proper results. [missingIncludeSystem](CWE 0)
tests/PhiCore/unittests/src/core/ssize_t.test.cpp|12| information: Include file: <type_traits> not found. Please note: Cppcheck does not need standard library headers to get proper results. [missingIncludeSystem](CWE 0)
libs/PhiCore/include/phi/core/stop_watch.hpp|12| information: Include file: not found. Please note: Cppcheck does not need standard library headers to get proper results. [missingIncludeSystem](CWE 0)
libs/PhiCore/include/phi/core/stop_watch.hpp|13| information: Include file: not found. Please note: Cppcheck does not need standard library headers to get proper results. [missingIncludeSystem](CWE 0)
tests/PhiCore/unittests/src/core/stop_watch.test.cpp|4| information: Include file: not found. Please note: Cppcheck does not need standard library headers to get proper results. [missingIncludeSystem](CWE 0)
tests/PhiCore/unittests/src/core/stop_watch.test.cpp|5| information: Include file: not found. Please note: Cppcheck does not need standard library headers to get proper results. [missingIncludeSystem](CWE 0)
tests/PhiCore/unittests/src/core/stop_watch.test.cpp|6| information: Include file: not found. Please note: Cppcheck does not need standard library headers to get proper results. [missingIncludeSystem](CWE 0)
tests/PhiCore/unittests/src/core/voidify.test.cpp|11 col 11| style: Variable 'adr' can be declared as pointer to const [constVariablePointer](CWE 398)
tests/PhiCore/unittests/src/core/voidify.test.cpp|19 col 11| style: Variable 'adr' can be declared as pointer to const [constVariablePointer](CWE 398)
tests/PhiCore/unittests/src/core/wint_t.test.cpp|8| information: Include file: not found. Please note: Cppcheck does not need standard library headers to get proper results. [missingIncludeSystem](CWE 0)
tests/PhiCore/unittests/src/core/wint_t.test.cpp|9| information: Include file: <type_traits> not found. Please note: Cppcheck does not need standard library headers to get proper results. [missingIncludeSystem](CWE 0)
tests/PhiCore/unittests/src/preprocessor/function_like_macro.test.cpp|17 col 5| style: The comparison 'integer == 0' is always true. [knownConditionTrueFalse](CWE 398)
tests/PhiCore/unittests/src/preprocessor/function_like_macro.test.cpp|26 col 5| style: The comparison 'integer2 == 42' is always true. [knownConditionTrueFalse](CWE 398)
tests/PhiCore/unittests/src/text/to_lower_case.test.cpp|4| information: Include file: not found. Please note: Cppcheck does not need standard library headers to get proper results. [missingIncludeSystem](CWE 0)
tests/PhiCore/unittests/src/text/to_upper_case.test.cpp|4| information: Include file: not found. Please note: Cppcheck does not need standard library headers to get proper results. [missingIncludeSystem](CWE 0)
tests/PhiCore/unittests/src/type_traits/common_type.test.cpp|9| information: Include file: <type_traits> not found. Please note: Cppcheck does not need standard library headers to get proper results. [missingIncludeSystem](CWE 0)
tests/PhiCore/unittests/src/type_traits/conjunction.test.cpp|8| information: Include file: <type_traits> not found. Please note: Cppcheck does not need standard library headers to get proper results. [missingIncludeSystem](CWE 0)
tests/PhiCore/unittests/src/type_traits/disjunction.test.cpp|7| information: Include file: <type_traits> not found. Please note: Cppcheck does not need standard library headers to get proper results. [missingIncludeSystem](CWE 0)
tests/PhiCore/unittests/src/type_traits/is_assignable.test.cpp|5| information: Include file: <type_traits> not found. Please note: Cppcheck does not need standard library headers to get proper results. [missingIncludeSystem](CWE 0)
tests/PhiCore/unittests/src/type_traits/is_base_of.test.cpp|5| information: Include file: <type_traits> not found. Please note: Cppcheck does not need standard library headers to get proper results. [missingIncludeSystem](CWE 0)
tests/PhiCore/unittests/src/type_traits/is_corresponding_member.test.cpp|6| information: Include file: <type_traits> not found. Please note: Cppcheck does not need standard library headers to get proper results. [missingIncludeSystem](CWE 0)
tests/PhiCore/unittests/src/type_traits/is_invocable.test.cpp|6| information: Include file: not found. Please note: Cppcheck does not need standard library headers to get proper results. [missingIncludeSystem](CWE 0)
tests/PhiCore/unittests/src/type_traits/is_invocable.test.cpp|7| information: Include file: <type_traits> not found. Please note: Cppcheck does not need standard library headers to get proper results. [missingIncludeSystem](CWE 0)
tests/PhiCore/unittests/src/type_traits/is_invocable.test.cpp|8| information: Include file: not found. Please note: Cppcheck does not need standard library headers to get proper results. [missingIncludeSystem](CWE 0)
tests/PhiCore/unittests/src/type_traits/is_invocable_r.test.cpp|6| information: Include file: not found. Please note: Cppcheck does not need standard library headers to get proper results. [missingIncludeSystem](CWE 0)
tests/PhiCore/unittests/src/type_traits/is_nothrow_invocable_r.test.cpp|8| information: Include file: <type_traits> not found. Please note: Cppcheck does not need standard library headers to get proper results. [missingIncludeSystem](CWE 0)
tests/PhiCore/unittests/src/type_traits/is_nothrow_invocable_r.test.cpp|9| information: Include file: not found. Please note: Cppcheck does not need standard library headers to get proper results. [missingIncludeSystem](CWE 0)
tests/PhiCore/unittests/src/type_traits/is_nothrow_swappable.test.cpp|6| information: Include file: <type_traits> not found. Please note: Cppcheck does not need standard library headers to get proper results. [missingIncludeSystem](CWE 0)
tests/PhiCore/unittests/src/type_traits/is_nothrow_swappable_with.test.cpp|6| information: Include file: <type_traits> not found. Please note: Cppcheck does not need standard library headers to get proper results. [missingIncludeSystem](CWE 0)
tests/PhiCore/unittests/src/type_traits/is_pointer_interconvertible_base_of.test.cpp|6| information: Include file: <type_traits> not found. Please note: Cppcheck does not need standard library headers to get proper results. [missingIncludeSystem](CWE 0)
tests/PhiCore/unittests/src/type_traits/is_pointer_interconvertible_base_of.test.cpp|87 col 1| style: The class 'baz' does not declare a constructor although it has private member variables which likely require initialization. [noConstructor](CWE 398)
tests/PhiCore/unittests/src/type_traits/is_pointer_interconvertible_base_of.test.cpp|92 col 1| style: The class 'non_std_layout' does not declare a constructor although it has private member variables which likely require initialization. [noConstructor](CWE 398)
tests/PhiCore/unittests/src/type_traits/is_pointer_interconvertible_base_of.test.cpp|89 col 9| style: class member 'baz::m_X' is never used. [unusedStructMember](CWE 563)
tests/PhiCore/unittests/src/type_traits/is_pointer_interconvertible_base_of.test.cpp|94 col 9| style: class member 'non_std_layout::m_Y' is never used. [unusedStructMember](CWE 563)
tests/PhiCore/unittests/src/type_traits/is_pointer_interconvertible_with_class.test.cpp|6| information: Include file: <type_traits> not found. Please note: Cppcheck does not need standard library headers to get proper results. [missingIncludeSystem](CWE 0)
tests/PhiCore/unittests/src/type_traits/is_pointer_interconvertible_with_class.test.cpp|50 col 9| performance: Technically the member function 'C::f' can be static (but you may consider moving to unnamed namespace). [functionStatic](CWE 398)
tests/PhiCore/unittests/src/type_traits/is_pointer_interconvertible_with_class.test.cpp|44 col 15| style: struct member 'B::i' is never used. [unusedStructMember](CWE 563)
tests/PhiCore/unittests/src/type_traits/is_pointer_interconvertible_with_class.test.cpp|61 col 9| style: struct member 'E::j' is never used. [unusedStructMember](CWE 563)
tests/PhiCore/unittests/src/type_traits/is_trivially_assignable.test.cpp|6| information: Include file: <type_traits> not found. Please note: Cppcheck does not need standard library headers to get proper results. [missingIncludeSystem](CWE 0)
nofile|| information: Active checkers: There was critical errors (use --checkers-report= to see details) [checkersReport](CWE 0)