| Run: | 43521388434 |
| Check: | main: bugprone-* |
| Status: | ok |
| Time: | 5s |
| Warnings: | 90 (TP 0, FP 0, unclassified 90) |
| Source: | catchorg/Catch2/blob/02f8b5593a15cdec8558256e6f40a0c7fb5862d6 |
| Verdict | Location | Message |
|---|---|---|
| - | src/catch2/../catch2/benchmark/catch_benchmark.hpp:200:9 | macro argument should be enclosed in parentheses |
| - | src/catch2/../catch2/benchmark/catch_benchmark.hpp:200:33 | macro argument should be enclosed in parentheses |
| - | src/catch2/../catch2/benchmark/catch_benchmark.hpp:204:9 | macro argument should be enclosed in parentheses |
| - | src/catch2/../catch2/benchmark/detail/catch_estimate_clock.hpp:29:39 | either cast from 'int' to 'size_t' (aka 'unsigned long') is ineffective, or there is loss of precision before the conversion |
| - | src/catch2/../catch2/benchmark/detail/catch_run_for_at_least.hpp:51:33 | use of a signed integer operand with a binary bitwise operator |
| - | src/catch2/../catch2/catch_message.hpp:123:175 | macro argument should be enclosed in parentheses |
| - | src/catch2/../catch2/catch_message.hpp:127:142 | macro argument should be enclosed in parentheses |
| - | src/catch2/../catch2/catch_test_case_info.hpp:51:20 | use of a signed integer operand with a binary bitwise operator |
| - | src/catch2/../catch2/catch_test_case_info.hpp:52:22 | use of a signed integer operand with a binary bitwise operator |
| - | src/catch2/../catch2/catch_test_case_info.hpp:53:19 | use of a signed integer operand with a binary bitwise operator |
| - | src/catch2/../catch2/catch_test_case_info.hpp:54:18 | use of a signed integer operand with a binary bitwise operator |
| - | src/catch2/../catch2/catch_test_case_info.hpp:55:23 | use of a signed integer operand with a binary bitwise operator |
| - | src/catch2/../catch2/catch_test_case_info.hpp:56:21 | use of a signed integer operand with a binary bitwise operator |
| - | src/catch2/../catch2/catch_test_macros.hpp:185:78 | macro argument should be enclosed in parentheses |
| - | src/catch2/../catch2/catch_test_macros.hpp:186:78 | macro argument should be enclosed in parentheses |
| - | src/catch2/../catch2/catch_test_macros.hpp:187:78 | macro argument should be enclosed in parentheses |
| - | src/catch2/../catch2/catch_test_macros.hpp:188:78 | macro argument should be enclosed in parentheses |
| - | src/catch2/../catch2/catch_test_macros.hpp:189:78 | macro argument should be enclosed in parentheses |
| - | src/catch2/../catch2/catch_test_macros.hpp:190:78 | macro argument should be enclosed in parentheses |
| - | src/catch2/../catch2/catch_translate_exception.hpp:70:124 | macro argument should be enclosed in parentheses |
| - | src/catch2/../catch2/interfaces/catch_interfaces_config.hpp:60:30 | use of a signed integer operand with a binary bitwise operator |
| - | src/catch2/../catch2/internal/catch_clara.hpp:481:19 | the implicit default constructor of the CRTP is publicly accessible; consider making it private and declaring the derived class as friend |
| - | src/catch2/../catch2/internal/catch_clara.hpp:496:26 | protected constructor allows the CRTP to be inherited from as a regular template class; consider making it private and declaring the derived class as friend |
| - | src/catch2/../catch2/internal/catch_compare_traits.hpp:67:44 | macro argument should be enclosed in parentheses |
| - | src/catch2/../catch2/internal/catch_console_colour.hpp:35:25 | use of a signed integer operand with a binary bitwise operator |
| - | src/catch2/../catch2/internal/catch_console_colour.hpp:36:27 | use of a signed integer operand with a binary bitwise operator |
| - | src/catch2/../catch2/internal/catch_console_colour.hpp:37:25 | use of a signed integer operand with a binary bitwise operator |
| - | src/catch2/../catch2/internal/catch_console_colour.hpp:38:27 | use of a signed integer operand with a binary bitwise operator |
| - | src/catch2/../catch2/internal/catch_console_colour.hpp:39:28 | use of a signed integer operand with a binary bitwise operator |
| - | src/catch2/../catch2/internal/catch_random_floating_point_helpers.hpp:29:25 | 2 adjacent parameters of 'gamma' of similar type ('FloatType') are easily swapped by mistake |
| - | src/catch2/../catch2/internal/catch_random_integer_helpers.hpp:85:26 | macro argument should be enclosed in parentheses |
| - | src/catch2/../catch2/internal/catch_random_integer_helpers.hpp:86:23 | macro argument should be enclosed in parentheses |
| - | src/catch2/../catch2/internal/catch_random_integer_helpers.hpp:90:39 | use of a signed integer operand with a binary bitwise operator |
| - | src/catch2/../catch2/internal/catch_random_integer_helpers.hpp:90:58 | use of a signed integer operand with a binary bitwise operator |
| - | src/catch2/../catch2/internal/catch_random_integer_helpers.hpp:94:19 | use of a signed integer operand with a binary bitwise operator |
| - | src/catch2/../catch2/internal/catch_random_integer_helpers.hpp:94:50 | use of a signed integer operand with a binary bitwise operator |
| - | src/catch2/../catch2/internal/catch_random_integer_helpers.hpp:98:29 | use of a signed integer operand with a binary bitwise operator |
| - | src/catch2/../catch2/internal/catch_random_integer_helpers.hpp:100:34 | use of a signed integer operand with a binary bitwise operator |
| - | src/catch2/../catch2/internal/catch_random_integer_helpers.hpp:100:58 | use of a signed integer operand with a binary bitwise operator |
| - | src/catch2/../catch2/internal/catch_random_integer_helpers.hpp:101:36 | use of a signed integer operand with a binary bitwise operator |
| - | src/catch2/../catch2/internal/catch_random_integer_helpers.hpp:111:60 | use of a signed integer operand with a binary bitwise operator |
| - | src/catch2/../catch2/internal/catch_result_type.hpp:24:28 | use of a signed integer operand with a binary bitwise operator |
| - | src/catch2/../catch2/internal/catch_result_type.hpp:25:27 | use of a signed integer operand with a binary bitwise operator |
| - | src/catch2/../catch2/internal/catch_result_type.hpp:27:21 | use of a signed integer operand with a binary bitwise operator |
| - | src/catch2/../catch2/internal/catch_result_type.hpp:29:26 | use of a signed integer operand with a binary bitwise operator |
| - | src/catch2/../catch2/internal/catch_result_type.hpp:30:31 | use of a signed integer operand with a binary bitwise operator |
| - | src/catch2/../catch2/internal/catch_result_type.hpp:32:31 | use of a signed integer operand with a binary bitwise operator |
| - | src/catch2/../catch2/internal/catch_result_type.hpp:37:18 | use of a signed integer operand with a binary bitwise operator |
| - | src/catch2/../catch2/internal/catch_result_type.hpp:53:55 | use of a signed integer operand with a binary bitwise operator |
| - | src/catch2/../catch2/internal/catch_result_type.hpp:58:18 | use of a signed integer operand with a binary bitwise operator |
| - | src/catch2/../catch2/internal/catch_result_type.hpp:61:18 | use of a signed integer operand with a binary bitwise operator |
| - | src/catch2/../catch2/internal/catch_sharding.hpp:17:48 | 2 adjacent parameters of 'createShard' of similar type ('const std::size_t') are easily swapped by mistake |
| - | src/catch2/../catch2/internal/catch_stream_end_stop.hpp:24:20 | returning a constant reference parameter may cause use-after-free when the parameter is constructed from a temporary |
| - | src/catch2/../catch2/internal/catch_string_manip.hpp:32:47 | use of a signed integer operand with a binary bitwise operator |
| - | src/catch2/../catch2/internal/catch_string_manip.hpp:32:60 | use of a signed integer operand with a binary bitwise operator |
| - | src/catch2/../catch2/internal/catch_test_registry.hpp:80:28 | 2 adjacent parameters of 'NameAndTags' of similar type ('StringRef') are easily swapped by mistake |
| - | src/catch2/../catch2/internal/catch_uniform_floating_point_distribution.hpp:91:42 | 2 adjacent parameters of 'uniform_floating_point_distribution<FloatType>' of similar type ('FloatType') are easily swapped by mistake |
| - | src/catch2/../catch2/internal/catch_wildcard_pattern.hpp:23:34 | use of a signed integer operand with a binary bitwise operator |
| - | src/catch2/benchmark/detail/catch_stats.cpp:350:48 | 2 adjacent parameters of 'analyse_samples' of convertible types are easily swapped by mistake |
| - | src/catch2/catch_test_spec.cpp:33:41 | 2 adjacent parameters of 'NamePattern' of similar type ('const std::string &') are easily swapped by mistake |
| - | src/catch2/catch_test_spec.cpp:47:39 | 2 adjacent parameters of 'TagPattern' of similar type ('const std::string &') are easily swapped by mistake |
| - | src/catch2/catch_version.cpp:14:13 | 3 adjacent parameters of 'Version' of similar type ('unsigned int') are easily swapped by mistake |
| - | src/catch2/generators/catch_generators_random.cpp:21:35 | 2 adjacent parameters of 'PImpl' of convertible types are easily swapped by mistake |
| - | src/catch2/interfaces/catch_interfaces_reporter.cpp:75:36 | 2 adjacent parameters of 'TestCaseStats' of similar type ('std::string &&') are easily swapped by mistake |
| - | src/catch2/internal/catch_clara.cpp:187:53 | side effects in the 1st macro argument '__VA_ARGS__' are repeated in macro expansion |
| - | src/catch2/internal/catch_clara.cpp:261:62 | side effects in the 1st macro argument '__VA_ARGS__' are repeated in macro expansion |
| - | src/catch2/internal/catch_enum_info.cpp:49:32 | 2 adjacent parameters of 'makeEnumInfo' of similar type ('StringRef') are easily swapped by mistake |
| - | src/catch2/internal/catch_fatal_condition_handler.cpp:68:51 | performing an implicit widening conversion to type 'const std::size_t' (aka 'const unsigned long') of a multiplication performed in type 'int' |
| - | src/catch2/internal/catch_main.cpp:17:31 | initialization of 'leakDetector' with static storage duration may throw an exception that cannot be caught |
| - | src/catch2/internal/catch_output_redirect.cpp:57:34 | 2 adjacent parameters of 'RedirectedStreamNew' of similar type ('std::ostream &') are easily swapped by mistake |
| - | src/catch2/internal/catch_output_redirect.cpp:302:20 | function '~RedirectGuard' should not throw exceptions but it is still marked as potentially throwing |
| - | src/catch2/internal/catch_test_case_info_hasher.cpp:36:61 | use of a signed integer operand with a binary bitwise operator |
| - | src/catch2/internal/catch_textflow.cpp:30:52 | use of a signed integer operand with a binary bitwise operator |
| - | src/catch2/internal/catch_xmlwriter.cpp:23:18 | use of a signed integer operand with a binary bitwise operator |
| - | src/catch2/internal/catch_xmlwriter.cpp:26:18 | use of a signed integer operand with a binary bitwise operator |
| - | src/catch2/internal/catch_xmlwriter.cpp:29:18 | use of a signed integer operand with a binary bitwise operator |
| - | src/catch2/internal/catch_xmlwriter.cpp:36:18 | use of a signed integer operand with a binary bitwise operator |
| - | src/catch2/internal/catch_xmlwriter.cpp:37:24 | use of a signed integer operand with a binary bitwise operator |
| - | src/catch2/internal/catch_xmlwriter.cpp:39:18 | use of a signed integer operand with a binary bitwise operator |
| - | src/catch2/internal/catch_xmlwriter.cpp:40:24 | use of a signed integer operand with a binary bitwise operator |
| - | src/catch2/internal/catch_xmlwriter.cpp:42:18 | use of a signed integer operand with a binary bitwise operator |
| - | src/catch2/internal/catch_xmlwriter.cpp:43:24 | use of a signed integer operand with a binary bitwise operator |
| - | src/catch2/internal/catch_xmlwriter.cpp:149:39 | use of a signed integer operand with a binary bitwise operator |
| - | src/catch2/internal/catch_xmlwriter.cpp:150:40 | use of a signed integer operand with a binary bitwise operator |
| - | src/catch2/internal/catch_xmlwriter.cpp:150:46 | use of a signed integer operand with a binary bitwise operator |
| - | src/catch2/internal/catch_xmlwriter.cpp:150:53 | use of a signed integer operand with a binary bitwise operator |
| - | src/catch2/matchers/catch_matchers_floating_point.cpp:76:40 | 2 adjacent parameters of 'WithinAbsMatcher' of similar type ('double') are easily swapped by mistake |
| - | src/catch2/matchers/catch_matchers_floating_point.cpp:93:42 | 2 adjacent parameters of 'WithinUlpsMatcher' of convertible types are easily swapped by mistake |
| - | src/catch2/matchers/catch_matchers_floating_point.cpp:164:40 | 2 adjacent parameters of 'WithinRelMatcher' of similar type ('double') are easily swapped by mistake |
| - | src/catch2/reporters/catch_reporter_multi.cpp:28:58 | narrowing conversion from 'size_t' (aka 'unsigned long') to signed type 'difference_type' (aka 'long') is implementation-defined |
Generated from 3ddf6fa37f.