| Verdict | Location | Message |
| - | src/catch2/../catch2/benchmark/catch_benchmark.hpp:47:17 | variable 'run_time' of type 'std::chrono::duration<double, std::ratio<1, 1000000000>>' can be declared 'const' |
| - | src/catch2/../catch2/benchmark/detail/catch_estimate_clock.hpp:73:17 | variable 'time_limit' of type 'std::chrono::duration<double, std::ratio<1, 1000000000>>' can be declared 'const' |
| - | src/catch2/../catch2/benchmark/detail/catch_estimate_clock.hpp:79:29 | variable 'ignored' of type 'volatile time_point' (aka 'volatile chrono::time_point<steady_clock, duration<long, ratio<1, 1000000000>>>') can be declared 'const' |
| - | src/catch2/../catch2/benchmark/detail/catch_estimate_clock.hpp:85:17 | variable 'iters' of type 'int' can be declared 'const' |
| - | src/catch2/../catch2/benchmark/detail/catch_estimate_clock.hpp:88:17 | variable 'nsamples' of type 'int' can be declared 'const' |
| - | src/catch2/../catch2/benchmark/detail/catch_estimate_clock.hpp:115:17 | variable 'iters' of type 'int' can be declared 'const' |
| - | src/catch2/../catch2/benchmark/detail/catch_estimate_clock.hpp:116:17 | variable 'resolution' of type 'EnvironmentEstimate' can be declared 'const' |
| - | src/catch2/../catch2/benchmark/detail/catch_estimate_clock.hpp:117:17 | variable 'cost' of type 'EnvironmentEstimate' can be declared 'const' |
| - | src/catch2/../catch2/benchmark/detail/catch_measure.hpp:22:17 | variable 'start' of type 'time_point' (aka 'chrono::time_point<steady_clock, duration<long, ratio<1, 1000000000>>>') can be declared 'const' |
| - | src/catch2/../catch2/benchmark/detail/catch_measure.hpp:24:17 | variable 'end' of type 'time_point' (aka 'chrono::time_point<steady_clock, duration<long, ratio<1, 1000000000>>>') can be declared 'const' |
| - | src/catch2/../catch2/benchmark/detail/catch_measure.hpp:25:17 | variable 'delta' of type 'typename common_type<std::chrono::duration<long, std::ratio<1, 1000000000>>, std::chrono::duration<long, std::ratio<1, 1000000000>>>::type' (aka 'chrono::duration<long, ratio<num, den>>') can be declared 'const' |
| - | src/catch2/../catch2/generators/catch_generators.hpp:226:9 | pointee of variable 'tracker' of type 'IGeneratorTracker *' can be declared 'const' |
| - | src/catch2/../catch2/internal/catch_clara.hpp:420:17 | variable 'result' of type 'ParserResult' (aka 'BasicResult<ParseResultType>') can be declared 'const' |
| - | src/catch2/../catch2/internal/catch_random_integer_helpers.hpp:110:13 | variable 'result' of type '__uint128_t' (aka 'unsigned __int128') can be declared 'const' |
| - | src/catch2/../catch2/internal/catch_sharding.hpp:33:9 | variable 'startIterator' of type '__gnu_cxx::__normal_iterator<Catch::TestCaseHandle *, std::vector<Catch::TestCaseHandle>>' can be declared 'const' |
| - | src/catch2/../catch2/internal/catch_sharding.hpp:34:9 | variable 'endIterator' of type '__gnu_cxx::__normal_iterator<Catch::TestCaseHandle *, std::vector<Catch::TestCaseHandle>>' can be declared 'const' |
| - | src/catch2/benchmark/catch_benchmark.cpp:28:17 | variable 'min_time' of type 'duration<__common_rep_t<double, int>, std::ratio<1, 1000000000>>' (aka 'duration<double, std::ratio<1, 1000000000>>') can be declared 'const' |
| - | src/catch2/benchmark/catch_benchmark.cpp:29:17 | variable 'run_time' of type 'std::chrono::duration<double, std::ratio<1, 1000000000>>' can be declared 'const' |
| - | src/catch2/benchmark/catch_benchmark.cpp:35:17 | variable 'new_iters' of type 'int' can be declared 'const' |
| - | src/catch2/benchmark/detail/catch_analyse.cpp:22:74 | pointee of variable 'last' of type 'FDuration *' (aka 'std::chrono::duration<double, ratio<1, 1000000000>> *') can be declared 'const' |
| - | src/catch2/benchmark/detail/catch_analyse.cpp:30:21 | variable 'analysis' of type 'bootstrap_analysis' can be declared 'const' |
| - | src/catch2/benchmark/detail/catch_analyse.cpp:35:21 | variable 'outliers' of type 'OutlierClassification' can be declared 'const' |
| - | src/catch2/benchmark/detail/catch_analyse.cpp:38:21 | variable 'wrap_estimate' of type '(lambda at /__w/CTIT/CTIT/test_projects/catch2/src/catch2/benchmark/detail/catch_analyse.cpp:38:42)' can be declared 'const' |
| - | src/catch2/benchmark/detail/catch_analyse.cpp:48:26 | variable 's' of type 'double' can be declared 'const' |
| - | src/catch2/benchmark/detail/catch_stats.cpp:41:21 | variable 'n' of type 'size_t' (aka 'unsigned long') can be declared 'const' |
| - | src/catch2/benchmark/detail/catch_stats.cpp:42:21 | variable 'dist' of type 'Catch::uniform_integer_distribution<size_t>' (aka 'Catch::uniform_integer_distribution<unsigned long>') can be declared 'const' |
| - | src/catch2/benchmark/detail/catch_stats.cpp:64:21 | variable 'sb' of type 'double' can be declared 'const' |
| - | src/catch2/benchmark/detail/catch_stats.cpp:65:21 | variable 'mn' of type 'double' can be declared 'const' |
| - | src/catch2/benchmark/detail/catch_stats.cpp:66:21 | variable 'mg_min' of type 'double' can be declared 'const' |
| - | src/catch2/benchmark/detail/catch_stats.cpp:67:21 | variable 'sg' of type 'double' can be declared 'const' |
| - | src/catch2/benchmark/detail/catch_stats.cpp:68:21 | variable 'sg2' of type 'double' can be declared 'const' |
| - | src/catch2/benchmark/detail/catch_stats.cpp:69:21 | variable 'sb2' of type 'double' can be declared 'const' |
| - | src/catch2/benchmark/detail/catch_stats.cpp:71:21 | variable 'c_max' of type '(lambda at /__w/CTIT/CTIT/test_projects/catch2/src/catch2/benchmark/detail/catch_stats.cpp:71:34)' can be declared 'const' |
| - | src/catch2/benchmark/detail/catch_stats.cpp:72:25 | variable 'k' of type 'double' can be declared 'const' |
| - | src/catch2/benchmark/detail/catch_stats.cpp:73:25 | variable 'd' of type 'double' can be declared 'const' |
| - | src/catch2/benchmark/detail/catch_stats.cpp:74:25 | variable 'nd' of type 'double' can be declared 'const' |
| - | src/catch2/benchmark/detail/catch_stats.cpp:75:25 | variable 'k0' of type 'double' can be declared 'const' |
| - | src/catch2/benchmark/detail/catch_stats.cpp:76:25 | variable 'k1' of type 'double' can be declared 'const' |
| - | src/catch2/benchmark/detail/catch_stats.cpp:77:25 | variable 'det' of type 'double' can be declared 'const' |
| - | src/catch2/benchmark/detail/catch_stats.cpp:82:21 | variable 'var_out' of type '(lambda at /__w/CTIT/CTIT/test_projects/catch2/src/catch2/benchmark/detail/catch_stats.cpp:82:36)' can be declared 'const' |
| - | src/catch2/benchmark/detail/catch_stats.cpp:83:25 | variable 'nc' of type 'double' can be declared 'const' |
| - | src/catch2/benchmark/detail/catch_stats.cpp:172:21 | variable 'm' of type 'double' can be declared 'const' |
| - | src/catch2/benchmark/detail/catch_stats.cpp:173:21 | variable 'variance' of type 'double' can be declared 'const' |
| - | src/catch2/benchmark/detail/catch_stats.cpp:178:46 | variable 'diff' of type 'double' can be declared 'const' |
| - | src/catch2/benchmark/detail/catch_stats.cpp:188:42 | pointee of variable 'last' of type 'double *' can be declared 'const' |
| - | src/catch2/benchmark/detail/catch_stats.cpp:215:17 | variable 'count' of type '__ptrdiff_t' (aka 'long') can be declared 'const' |
| - | src/catch2/benchmark/detail/catch_stats.cpp:216:17 | variable 'idx' of type 'double' can be declared 'const' |
| - | src/catch2/benchmark/detail/catch_stats.cpp:217:17 | variable 'j' of type 'int' can be declared 'const' |
| - | src/catch2/benchmark/detail/catch_stats.cpp:218:17 | variable 'g' of type 'double' can be declared 'const' |
| - | src/catch2/benchmark/detail/catch_stats.cpp:220:17 | variable 'xj' of type 'double' can be declared 'const' |
| - | src/catch2/benchmark/detail/catch_stats.cpp:225:17 | variable 'xj1' of type 'double' can be declared 'const' |
| - | src/catch2/benchmark/detail/catch_stats.cpp:233:17 | variable 'q1' of type 'double' can be declared 'const' |
| - | src/catch2/benchmark/detail/catch_stats.cpp:234:17 | variable 'q3' of type 'double' can be declared 'const' |
| - | src/catch2/benchmark/detail/catch_stats.cpp:235:17 | variable 'iqr' of type 'double' can be declared 'const' |
| - | src/catch2/benchmark/detail/catch_stats.cpp:236:17 | variable 'los' of type 'double' can be declared 'const' |
| - | src/catch2/benchmark/detail/catch_stats.cpp:237:17 | variable 'lom' of type 'double' can be declared 'const' |
| - | src/catch2/benchmark/detail/catch_stats.cpp:238:17 | variable 'him' of type 'double' can be declared 'const' |
| - | src/catch2/benchmark/detail/catch_stats.cpp:239:17 | variable 'his' of type 'double' can be declared 'const' |
| - | src/catch2/benchmark/detail/catch_stats.cpp:259:17 | variable 'count' of type '__ptrdiff_t' (aka 'long') can be declared 'const' |
| - | src/catch2/benchmark/detail/catch_stats.cpp:298:17 | variable 'n_samples' of type '__ptrdiff_t' (aka 'long') can be declared 'const' |
| - | src/catch2/benchmark/detail/catch_stats.cpp:300:17 | variable 'point' of type 'double' can be declared 'const' |
| - | src/catch2/benchmark/detail/catch_stats.cpp:306:17 | variable 'jack_mean' of type 'double' can be declared 'const' |
| - | src/catch2/benchmark/detail/catch_stats.cpp:309:23 | variable 'x' of type 'double' can be declared 'const' |
| - | src/catch2/benchmark/detail/catch_stats.cpp:310:21 | variable 'difference' of type 'double' can be declared 'const' |
| - | src/catch2/benchmark/detail/catch_stats.cpp:311:21 | variable 'square' of type 'double' can be declared 'const' |
| - | src/catch2/benchmark/detail/catch_stats.cpp:312:21 | variable 'cube' of type 'double' can be declared 'const' |
| - | src/catch2/benchmark/detail/catch_stats.cpp:317:17 | variable 'accel' of type 'double' can be declared 'const' |
| - | src/catch2/benchmark/detail/catch_stats.cpp:318:17 | variable 'n' of type 'long' can be declared 'const' |
| - | src/catch2/benchmark/detail/catch_stats.cpp:319:17 | variable 'prob_n' of type 'double' can be declared 'const' |
| - | src/catch2/benchmark/detail/catch_stats.cpp:329:17 | variable 'bias' of type 'double' can be declared 'const' |
| - | src/catch2/benchmark/detail/catch_stats.cpp:330:17 | variable 'z1' of type 'double' can be declared 'const' |
| - | src/catch2/benchmark/detail/catch_stats.cpp:332:17 | variable 'cumn' of type '(lambda at /__w/CTIT/CTIT/test_projects/catch2/src/catch2/benchmark/detail/catch_stats.cpp:332:29)' can be declared 'const' |
| - | src/catch2/benchmark/detail/catch_stats.cpp:336:17 | variable 'a' of type '(lambda at /__w/CTIT/CTIT/test_projects/catch2/src/catch2/benchmark/detail/catch_stats.cpp:336:26)' can be declared 'const' |
| - | src/catch2/benchmark/detail/catch_stats.cpp:339:17 | variable 'b1' of type 'double' can be declared 'const' |
| - | src/catch2/benchmark/detail/catch_stats.cpp:340:17 | variable 'b2' of type 'double' can be declared 'const' |
| - | src/catch2/benchmark/detail/catch_stats.cpp:341:17 | variable 'a1' of type 'double' can be declared 'const' |
| - | src/catch2/benchmark/detail/catch_stats.cpp:342:17 | variable 'a2' of type 'double' can be declared 'const' |
| - | src/catch2/benchmark/detail/catch_stats.cpp:343:17 | variable 'lo' of type 'size_t' (aka 'unsigned long') can be declared 'const' |
| - | src/catch2/benchmark/detail/catch_stats.cpp:344:17 | variable 'hi' of type 'size_t' (aka 'unsigned long') can be declared 'const' |
| - | src/catch2/benchmark/detail/catch_stats.cpp:374:17 | variable 'Estimate' of type '(lambda at /__w/CTIT/CTIT/test_projects/catch2/src/catch2/benchmark/detail/catch_stats.cpp:374:33)' can be declared 'const' |
| - | src/catch2/benchmark/detail/catch_stats.cpp:376:21 | variable 'seed' of type 'result_type' (aka 'unsigned int') can be declared 'const' |
| - | src/catch2/benchmark/detail/catch_stats.cpp:378:21 | variable 'resampled' of type 'sample' (aka 'std::vector<double>') can be declared 'const' |
| - | src/catch2/benchmark/detail/catch_stats.cpp:382:17 | variable 'mean_estimate' of type 'Estimate<double>' can be declared 'const' |
| - | src/catch2/benchmark/detail/catch_stats.cpp:383:17 | variable 'stddev_estimate' of type 'Estimate<double>' can be declared 'const' |
| - | src/catch2/benchmark/detail/catch_stats.cpp:386:17 | variable 'n' of type 'int' can be declared 'const' |
| - | src/catch2/benchmark/detail/catch_stats.cpp:387:17 | variable 'outlier_variance' of type 'double' can be declared 'const' |
| - | src/catch2/catch_assertion_result.cpp:88:9 | variable 'expr' of type 'std::string' (aka 'basic_string<char>') can be declared 'const' |
| - | src/catch2/catch_config.cpp:48:17 | variable 'warn' of type '(lambda at /__w/CTIT/CTIT/test_projects/catch2/src/catch2/catch_config.cpp:48:29)' can be declared 'const' |
| - | src/catch2/catch_message.cpp:44:9 | variable 'trimmed' of type '(lambda at /__w/CTIT/CTIT/test_projects/catch2/src/catch2/catch_message.cpp:44:24)' can be declared 'const' |
| - | src/catch2/catch_message.cpp:53:9 | variable 'skipq' of type '(lambda at /__w/CTIT/CTIT/test_projects/catch2/src/catch2/catch_message.cpp:53:22)' can be declared 'const' |
| - | src/catch2/catch_message.cpp:66:13 | variable 'c' of type 'char' can be declared 'const' |
| - | src/catch2/catch_session.cpp:217:13 | variable 'guard' of type 'ColourGuard' can be declared 'const' |
| - | src/catch2/catch_session.cpp:254:9 | variable 'result' of type 'InternalParseResult' (aka 'BasicResult<ParseState>') can be declared 'const' |
| - | src/catch2/catch_session.cpp:314:9 | variable 'exitCode' of type 'int' can be declared 'const' |
| - | src/catch2/catch_test_case_info.cpp:105:9 | variable 'cmp' of type 'Detail::CaseInsensitiveLess' can be declared 'const' |
| - | src/catch2/catch_test_case_info.cpp:109:9 | variable 'cmp' of type 'Detail::CaseInsensitiveEqualTo' can be declared 'const' |
| - | src/catch2/catch_test_case_info.cpp:127:9 | variable 'originalTags' of type 'StringRef' can be declared 'const' |
| - | src/catch2/catch_test_case_info.cpp:130:9 | variable 'requiredSize' of type 'unsigned long' can be declared 'const' |
| - | src/catch2/catch_test_case_info.cpp:151:13 | variable 'c' of type 'char' can be declared 'const' |
| - | src/catch2/catch_tostring.cpp:34:17 | variable 'value' of type 'char' can be declared 'const' |
| - | src/catch2/catch_tostring.cpp:104:9 | variable 'write_to' of type '(lambda at /__w/CTIT/CTIT/test_projects/catch2/src/catch2/catch_tostring.cpp:104:25)' can be declared 'const' |
| - | src/catch2/catch_tostring.cpp:193:10 | variable 'c' of type 'wchar_t' can be declared 'const' |
| - | src/catch2/catch_version.cpp:39:9 | variable 'version' of type 'Version' can be declared 'const' |
| - | src/catch2/interfaces/catch_interfaces_generatortracker.cpp:18:13 | variable 'ret' of type 'bool' can be declared 'const' |
| - | src/catch2/interfaces/catch_interfaces_generatortracker.cpp:28:17 | variable 'isValid' of type 'bool' can be declared 'const' |
| - | src/catch2/internal/catch_clara.cpp:41:9 | variable 'is_separator' of type '(lambda at /__w/CTIT/CTIT/test_projects/catch2/src/catch2/internal/catch_clara.cpp:41:29)' can be declared 'const' |
| - | src/catch2/internal/catch_clara.cpp:68:21 | variable 'next' of type 'StringRef' can be declared 'const' |
| - | src/catch2/internal/catch_clara.cpp:70:25 | variable 'delimiterPos' of type 'size_t' (aka 'unsigned long') can be declared 'const' |
| - | src/catch2/internal/catch_clara.cpp:125:17 | variable 'srcLC' of type 'std::string' (aka 'basic_string<char>') can be declared 'const' |
| - | src/catch2/internal/catch_clara.cpp:168:13 | variable 'validationResult' of type 'Result' (aka 'BasicResult<void>') can be declared 'const' |
| - | src/catch2/internal/catch_clara.cpp:172:13 | variable 'token' of type 'Token' can be declared 'const' |
| - | src/catch2/internal/catch_clara.cpp:181:13 | variable 'result' of type 'ParserResult' (aka 'BasicResult<ParseResultType>') can be declared 'const' |
| - | src/catch2/internal/catch_clara.cpp:209:13 | variable 'normalisedToken' of type 'Catch::StringRef' can be declared 'const' |
| - | src/catch2/internal/catch_clara.cpp:219:13 | variable 'validationResult' of type 'Detail::Result' (aka 'BasicResult<void>') can be declared 'const' |
| - | src/catch2/internal/catch_clara.cpp:231:25 | variable 'result' of type 'ParserResult' (aka 'BasicResult<ParseResultType>') can be declared 'const' |
| - | src/catch2/internal/catch_clara.cpp:303:13 | variable 'lastSlash' of type 'size_type' (aka 'unsigned long') can be declared 'const' |
| - | src/catch2/internal/catch_clara.cpp:304:13 | variable 'filename' of type 'std::string' (aka 'basic_string<char>') can be declared 'const' |
| - | src/catch2/internal/catch_clara.cpp:362:13 | variable 'consoleWidth' of type 'size_t' (aka 'unsigned long') can be declared 'const' |
| - | src/catch2/internal/catch_clara.cpp:370:17 | variable 'row' of type 'Columns' can be declared 'const' |
| - | src/catch2/internal/catch_commandline.cpp:104:13 | variable 'mode' of type 'Catch::ColourMode' can be declared 'const' |
| - | src/catch2/internal/catch_commandline.cpp:114:17 | variable 'keypressLc' of type 'std::string' (aka 'basic_string<char>') can be declared 'const' |
| - | src/catch2/internal/catch_commandline.cpp:128:13 | variable 'lcVerbosity' of type 'std::string' (aka 'basic_string<char>') can be declared 'const' |
| - | src/catch2/internal/catch_commandline.cpp:156:13 | variable 'result' of type 'const_iterator' (aka '_Rb_tree_const_iterator<std::pair<const std::basic_string<char>, Catch::Detail::unique_ptr<Catch::IReporterFactory>>>') can be declared 'const' |
| - | src/catch2/internal/catch_commandline.cpp:229:17 | variable 'parsedIndex' of type 'Optional<unsigned int>' can be declared 'const' |
| - | src/catch2/internal/catch_console_colour.cpp:193:13 | variable '_' of type 'ErrnoGuard' can be declared 'const' |
| - | src/catch2/internal/catch_console_colour.cpp:205:13 | variable 'setColour' of type '(lambda at /__w/CTIT/CTIT/test_projects/catch2/src/catch2/internal/catch_console_colour.cpp:205:30)' can be declared 'const' |
| - | src/catch2/internal/catch_debugger.cpp:87:13 | variable 'guard' of type 'ErrnoGuard' can be declared 'const' |
| - | src/catch2/internal/catch_enum_info.cpp:32:13 | variable 'enumValues' of type 'std::vector<StringRef>' can be declared 'const' |
| - | src/catch2/internal/catch_list.cpp:25:13 | variable 'matchedTestCases' of type 'std::vector<TestCaseHandle>' can be declared 'const' |
| - | src/catch2/internal/catch_list.cpp:31:13 | variable 'matchedTestCases' of type 'std::vector<TestCaseHandle>' can be declared 'const' |
| - | src/catch2/internal/catch_reporter_registry.cpp:60:9 | variable 'it' of type 'const_iterator' (aka '_Rb_tree_const_iterator<std::pair<const std::basic_string<char>, Catch::Detail::unique_ptr<Catch::IReporterFactory>>>') can be declared 'const' |
| - | src/catch2/internal/catch_reporter_registry.cpp:70:9 | variable 'ret' of type 'std::pair<iterator, bool>' (aka 'std::pair<_Rb_tree_iterator<std::pair<const std::basic_string<char>, Catch::Detail::unique_ptr<Catch::IReporterFactory>>>, bool>') can be declared 'const' |
| - | src/catch2/internal/catch_reporter_spec_parser.cpp:24:13 | variable 'splitPos' of type 'size_t' (aka 'unsigned long') can be declared 'const' |
| - | src/catch2/internal/catch_reporter_spec_parser.cpp:39:13 | variable 'findNextSeparator' of type '(lambda at /__w/CTIT/CTIT/test_projects/catch2/src/catch2/internal/catch_reporter_spec_parser.cpp:39:38)' can be declared 'const' |
| - | src/catch2/internal/catch_reporter_spec_parser.cpp:131:13 | variable 'kv' of type 'kvPair' can be declared 'const' |
| - | src/catch2/internal/catch_reporter_spec_parser.cpp:132:13 | variable 'key' of type 'StringRef' can be declared 'const' |
| - | src/catch2/internal/catch_reporter_spec_parser.cpp:143:17 | variable 'ret' of type 'std::pair<iterator, bool>' (aka 'std::pair<_Rb_tree_iterator<std::pair<const std::basic_string<char>, std::basic_string<char>>>, bool>') can be declared 'const' |
| - | src/catch2/internal/catch_reusable_string_stream.cpp:28:13 | variable '_' of type 'Detail::LockGuard' can be declared 'const' |
| - | src/catch2/internal/catch_reusable_string_stream.cpp:34:17 | variable 'index' of type 'value_type' (aka 'unsigned long') can be declared 'const' |
| - | src/catch2/internal/catch_reusable_string_stream.cpp:44:13 | variable '_' of type 'Detail::LockGuard' can be declared 'const' |
| - | src/catch2/internal/catch_run_context.cpp:81:29 | variable 'targetIndex' of type 'size_t' (aka 'unsigned long') can be declared 'const' |
| - | src/catch2/internal/catch_run_context.cpp:159:25 | variable 'childDepth' of type 'size_t' (aka 'unsigned long') can be declared 'const' |
| - | src/catch2/internal/catch_run_context.cpp:281:17 | variable 'iter' of type '__gnu_cxx::__normal_iterator<Catch::MessageInfo *, std::vector<Catch::MessageInfo>>' can be declared 'const' |
| - | src/catch2/internal/catch_run_context.cpp:352:9 | variable 'rss' of type 'ReusableStringStream' can be declared 'const' |
| - | src/catch2/internal/catch_run_context.cpp:429:13 | variable 'statsForOneRun' of type 'TestCaseStats' can be declared 'const' |
| - | src/catch2/internal/catch_run_context.cpp:480:9 | variable 'lock' of type 'Detail::LockGuard' can be declared 'const' |
| - | src/catch2/internal/catch_run_context.cpp:482:13 | variable '_' of type 'RedirectGuard' can be declared 'const' |
| - | src/catch2/internal/catch_run_context.cpp:498:13 | variable 'lock' of type 'Detail::LockGuard' can be declared 'const' |
| - | src/catch2/internal/catch_run_context.cpp:499:13 | variable '_' of type 'RedirectGuard' can be declared 'const' |
| - | src/catch2/internal/catch_run_context.cpp:516:9 | variable 'sectionInfo' of type 'SectionInfo' can be declared 'const' |
| - | src/catch2/internal/catch_run_context.cpp:520:13 | variable '_' of type 'RedirectGuard' can be declared 'const' |
| - | src/catch2/internal/catch_run_context.cpp:592:9 | variable 'missingAssertions' of type 'bool' can be declared 'const' |
| - | src/catch2/internal/catch_run_context.cpp:600:13 | variable '_' of type 'RedirectGuard' can be declared 'const' |
| - | src/catch2/internal/catch_run_context.cpp:621:9 | variable '_' of type 'RedirectGuard' can be declared 'const' |
| - | src/catch2/internal/catch_run_context.cpp:625:9 | variable '_' of type 'RedirectGuard' can be declared 'const' |
| - | src/catch2/internal/catch_run_context.cpp:629:9 | variable '_' of type 'RedirectGuard' can be declared 'const' |
| - | src/catch2/internal/catch_run_context.cpp:633:9 | variable '_' of type 'RedirectGuard' can be declared 'const' |
| - | src/catch2/internal/catch_run_context.cpp:655:9 | variable '_' of type 'Detail::LockGuard' can be declared 'const' |
| - | src/catch2/internal/catch_run_context.cpp:671:13 | variable 'lock' of type 'Detail::LockGuard' can be declared 'const' |
| - | src/catch2/internal/catch_run_context.cpp:675:13 | variable '_' of type 'RedirectGuard' can be declared 'const' |
| - | src/catch2/internal/catch_run_context.cpp:695:9 | variable 'lock' of type 'Detail::LockGuard' can be declared 'const' |
| - | src/catch2/internal/catch_run_context.cpp:712:9 | variable 'testCaseSectionStats' of type 'SectionStats' can be declared 'const' |
| - | src/catch2/internal/catch_run_context.cpp:756:9 | variable 'prevAssertions' of type 'Counts' can be declared 'const' |
| - | src/catch2/internal/catch_run_context.cpp:764:17 | variable '_' of type 'RedirectGuard' can be declared 'const' |
| - | src/catch2/internal/catch_run_context.cpp:785:9 | variable 'missingAssertions' of type 'bool' can be declared 'const' |
| - | src/catch2/internal/catch_run_context.cpp:794:9 | variable 'testCaseSectionStats' of type 'SectionStats' can be declared 'const' |
| - | src/catch2/internal/catch_run_context.cpp:802:9 | variable '_' of type 'FatalConditionHandlerGuard' can be declared 'const' |
| - | src/catch2/internal/catch_run_context.cpp:828:9 | variable 'negated' of type 'bool' can be declared 'const' |
| - | src/catch2/internal/catch_run_context.cpp:829:9 | variable 'result' of type 'bool' can be declared 'const' |
| - | src/catch2/internal/catch_string_manip.cpp:46:9 | variable 'start' of type 'std::string::size_type' (aka 'unsigned long') can be declared 'const' |
| - | src/catch2/internal/catch_string_manip.cpp:47:9 | variable 'end' of type 'std::string::size_type' (aka 'unsigned long') can be declared 'const' |
| - | src/catch2/internal/catch_string_manip.cpp:70:9 | variable 'origStr' of type 'std::string' (aka 'basic_string<char>') can be declared 'const' |
| - | src/catch2/internal/catch_stringref.cpp:28:9 | variable 'cmpResult' of type 'int' can be declared 'const' |
| - | src/catch2/internal/catch_tag_alias_registry.cpp:18:9 | variable 'it' of type 'const_iterator' (aka '_Rb_tree_const_iterator<std::pair<const std::basic_string<char>, Catch::TagAlias>>') can be declared 'const' |
| - | src/catch2/internal/catch_tag_alias_registry.cpp:29:13 | variable 'pos' of type 'std::size_t' (aka 'unsigned long') can be declared 'const' |
| - | src/catch2/internal/catch_test_case_registry_impl.cpp:93:13 | variable 'h' of type 'TestCaseInfoHasher' can be declared 'const' |
| - | src/catch2/internal/catch_test_case_tracker.cpp:54:9 | variable 'it' of type '__gnu_cxx::__normal_iterator<Catch::Detail::unique_ptr<Catch::TestCaseTracking::ITracker> *, std::vector<Catch::Detail::unique_ptr<Catch::TestCaseTracking::ITracker>>>' can be declared 'const' |
| - | src/catch2/internal/catch_test_registry.cpp:33:13 | variable 'reverseStart' of type 'reverse_iterator<const char *>' can be declared 'const' |
| - | src/catch2/internal/catch_test_registry.cpp:34:13 | variable 'reverseEnd' of type 'reverse_iterator<const char *>' can be declared 'const' |
| - | src/catch2/internal/catch_test_registry.cpp:40:13 | variable 'lastColons' of type 'reverse_iterator<const char *>' can be declared 'const' |
| - | src/catch2/internal/catch_test_registry.cpp:41:13 | variable 'secondLastColons' of type 'std::reverse_iterator<const char *>' can be declared 'const' |
| - | src/catch2/internal/catch_textflow.cpp:144:13 | variable 'strBegin' of type 'const_iterator' (aka '__gnu_cxx::__normal_iterator<const char *, basic_string<char>>') can be declared 'const' |
| - | src/catch2/internal/catch_textflow.cpp:151:17 | variable 'range' of type '__gnu_cxx::__normal_iterator<const Catch::TextFlow::AnsiSkippingString::EscapeRange *, std::vector<Catch::TextFlow::AnsiSkippingString::EscapeRange>>' can be declared 'const' |
| - | src/catch2/internal/catch_textflow.cpp:168:13 | variable 'strEnd' of type 'const_iterator' (aka '__gnu_cxx::__normal_iterator<const char *, basic_string<char>>') can be declared 'const' |
| - | src/catch2/internal/catch_textflow.cpp:180:13 | variable 'strBegin' of type 'const_iterator' (aka '__gnu_cxx::__normal_iterator<const char *, basic_string<char>>') can be declared 'const' |
| - | src/catch2/internal/catch_textflow.cpp:252:13 | variable 'initial' of type 'unsigned long' can be declared 'const' |
| - | src/catch2/internal/catch_textflow.cpp:313:19 | variable 'line' of type 'std::string' (aka 'basic_string<char>') can be declared 'const' |
| - | src/catch2/internal/catch_textflow.cpp:355:21 | variable 'col' of type 'std::string' (aka 'basic_string<char>') can be declared 'const' |
| - | src/catch2/internal/catch_textflow.cpp:387:19 | variable 'line' of type 'std::string' (aka 'basic_string<char>') can be declared 'const' |
| - | src/catch2/internal/catch_wildcard_pattern.cpp:35:9 | variable 'casedMatch' of type '(lambda at /__w/CTIT/CTIT/test_projects/catch2/src/catch2/internal/catch_wildcard_pattern.cpp:35:27)' can be declared 'const' |
| - | src/catch2/internal/catch_wildcard_pattern.cpp:39:17 | variable 'eq' of type 'Detail::CaseInsensitiveEqualTo' can be declared 'const' |
| - | src/catch2/internal/catch_xmlwriter.cpp:49:9 | variable 'f' of type 'std::ios_base::fmtflags' (aka '_Ios_Fmtflags') can be declared 'const' |
| - | src/catch2/internal/catch_xmlwriter.cpp:70:9 | variable 'write_to' of type '(lambda at /__w/CTIT/CTIT/test_projects/catch2/src/catch2/internal/catch_xmlwriter.cpp:70:25)' can be declared 'const' |
| - | src/catch2/internal/catch_xmlwriter.cpp:78:13 | variable 'c' of type 'unsigned char' can be declared 'const' |
| - | src/catch2/internal/catch_xmlwriter.cpp:133:17 | variable 'encBytes' of type 'size_t' (aka 'unsigned long') can be declared 'const' |
| - | src/catch2/internal/catch_xmlwriter.cpp:148:21 | variable 'nc' of type 'unsigned char' can be declared 'const' |
| - | src/catch2/internal/catch_xmlwriter.cpp:297:13 | variable 'tagWasOpen' of type 'bool' can be declared 'const' |
| - | src/catch2/matchers/catch_matchers_string.cpp:57:9 | variable 'eq' of type 'Catch::Detail::CaseInsensitiveEqualTo' can be declared 'const' |
| - | src/catch2/matchers/catch_matchers_string.cpp:71:9 | variable 'as_ref' of type 'StringRef' can be declared 'const' |
| - | src/catch2/matchers/catch_matchers_string.cpp:75:9 | variable 'eq' of type 'Catch::Detail::CaseInsensitiveEqualTo' can be declared 'const' |
| - | src/catch2/matchers/catch_matchers_string.cpp:78:13 | variable 'found' of type 'bool' can be declared 'const' |
| - | src/catch2/matchers/catch_matchers_string.cpp:94:9 | variable 'eq' of type 'Catch::Detail::CaseInsensitiveEqualTo' can be declared 'const' |
| - | src/catch2/matchers/catch_matchers_string.cpp:109:9 | variable 'eq' of type 'Catch::Detail::CaseInsensitiveEqualTo' can be declared 'const' |
| - | src/catch2/matchers/catch_matchers_string.cpp:123:9 | variable 'reg' of type 'std::regex' (aka 'basic_regex<char>') can be declared 'const' |
| - | src/catch2/matchers/internal/catch_matchers_impl.cpp:21:9 | variable 'expr' of type 'MatchExpr<std::string, const StringMatcher &>' (aka 'MatchExpr<basic_string<char>, const Matchers::MatcherBase<basic_string<char>> &>') can be declared 'const' |
| - | src/catch2/reporters/catch_reporter_compact.cpp:241:13 | variable 'dur' of type 'double' can be declared 'const' |
| - | src/catch2/reporters/catch_reporter_console.cpp:347:9 | variable 'colStr' of type 'std::string' (aka 'basic_string<char>') can be declared 'const' |
| - | src/catch2/reporters/catch_reporter_console.cpp:357:9 | variable 'colInfo' of type 'value_type' (aka 'Catch::ColumnInfo') can be declared 'const' |
| - | src/catch2/reporters/catch_reporter_console.cpp:358:9 | variable 'padding' of type 'std::string' (aka 'basic_string<char>') can be declared 'const' |
| - | src/catch2/reporters/catch_reporter_console.cpp:425:5 | variable 'includeResults' of type 'bool' can be declared 'const' |
| - | src/catch2/reporters/catch_reporter_console.cpp:434:5 | variable 'printer' of type 'ConsoleAssertionPrinter' can be declared 'const' |
| - | src/catch2/reporters/catch_reporter_console.cpp:448:9 | variable 'guard' of type 'ColourGuard' can be declared 'const' |
| - | src/catch2/reporters/catch_reporter_console.cpp:456:5 | variable 'dur' of type 'double' can be declared 'const' |
| - | src/catch2/reporters/catch_reporter_console.cpp:469:2 | variable 'nameCol' of type 'Column' can be declared 'const' |
| - | src/catch2/reporters/catch_reporter_console.cpp:473:7 | variable 'line' of type 'std::string' (aka 'basic_string<char>') can be declared 'const' |
| - | src/catch2/reporters/catch_reporter_console.cpp:510:5 | variable 'guard' of type 'ColourGuard' can be declared 'const' |
| - | src/catch2/reporters/catch_reporter_console.cpp:568:9 | variable 'guard' of type 'ColourGuard' can be declared 'const' |
| - | src/catch2/reporters/catch_reporter_console.cpp:577:5 | variable 'lineInfo' of type 'SourceLineInfo' can be declared 'const' |
| - | src/catch2/reporters/catch_reporter_console.cpp:593:9 | variable 'guard' of type 'ColourGuard' can be declared 'const' |
| - | src/catch2/reporters/catch_reporter_cumulative_base.cpp:82:13 | variable 'it' of type '__gnu_cxx::__normal_iterator<Catch::Detail::unique_ptr<Catch::CumulativeReporterBase::SectionNode> *, std::vector<Catch::Detail::unique_ptr<Catch::CumulativeReporterBase::SectionNode>>>' can be declared 'const' |
| - | src/catch2/reporters/catch_reporter_helpers.cpp:61:9 | variable 'guard' of type 'ErrnoGuard' can be declared 'const' |
| - | src/catch2/reporters/catch_reporter_helpers.cpp:66:9 | variable 'printedLength' of type 'size_t' (aka 'unsigned long') can be declared 'const' |
| - | src/catch2/reporters/catch_reporter_helpers.cpp:217:17 | variable 'numDigits' of type 'double' can be declared 'const' |
| - | src/catch2/reporters/catch_reporter_helpers.cpp:225:13 | variable 'str' of type 'std::string' (aka 'basic_string<char>') can be declared 'const' |
| - | src/catch2/reporters/catch_reporter_helpers.cpp:226:13 | variable 'wrapper' of type 'Column' can be declared 'const' |
| - | src/catch2/reporters/catch_reporter_helpers.cpp:252:13 | variable 'colour' of type 'Colour::Code' can be declared 'const' |
| - | src/catch2/reporters/catch_reporter_helpers.cpp:255:13 | variable 'colourGuard' of type 'ColourGuard' can be declared 'const' |
| - | src/catch2/reporters/catch_reporter_json.cpp:372:23 | variable 'alias' of type 'Catch::StringRef' can be declared 'const' |
| - | src/catch2/reporters/catch_reporter_junit.cpp:52:13 | variable 'it' of type '__gnu_cxx::__normal_iterator<const Catch::Tag *, std::vector<Catch::Tag>>' can be declared 'const' |
| - | src/catch2/reporters/catch_reporter_junit.cpp:132:9 | variable 'e' of type 'XmlWriter::ScopedElement' can be declared 'const' |
| - | src/catch2/reporters/catch_reporter_junit.cpp:149:13 | variable 'properties' of type 'ScopedElement' can be declared 'const' |
| - | src/catch2/reporters/catch_reporter_junit.cpp:205:13 | variable 'e' of type 'XmlWriter::ScopedElement' can be declared 'const' |
| - | src/catch2/reporters/catch_reporter_junit.cpp:284:9 | variable 'e' of type 'XmlWriter::ScopedElement' can be declared 'const' |
| - | src/catch2/reporters/catch_reporter_sonarqube.cpp:56:9 | variable 'e' of type 'XmlWriter::ScopedElement' can be declared 'const' |
| - | src/catch2/reporters/catch_reporter_sonarqube.cpp:79:13 | variable 'e' of type 'XmlWriter::ScopedElement' can be declared 'const' |
| - | src/catch2/reporters/catch_reporter_sonarqube.cpp:131:13 | variable 'e' of type 'XmlWriter::ScopedElement' can be declared 'const' |
| - | src/catch2/reporters/catch_reporter_tap.cpp:166:17 | variable 'itEnd' of type 'std::vector<MessageInfo>::const_iterator' (aka '__gnu_cxx::__normal_iterator<const Catch::MessageInfo *, vector<Catch::MessageInfo, std::allocator<Catch::MessageInfo>>>') can be declared 'const' |
| - | src/catch2/reporters/catch_reporter_teamcity.cpp:171:9 | variable 'lineInfo' of type 'SourceLineInfo' can be declared 'const' |
| - | src/catch2/reporters/catch_reporter_xml.cpp:54:9 | variable 'stylesheetRef' of type 'std::string' (aka 'basic_string<char>') can be declared 'const' |
| - | src/catch2/reporters/catch_reporter_xml.cpp:94:9 | variable 'includeResults' of type 'bool' can be declared 'const' |
| - | src/catch2/reporters/catch_reporter_xml.cpp:262:9 | variable 'outerTag' of type 'ScopedElement' can be declared 'const' |
| - | src/catch2/reporters/catch_reporter_xml.cpp:264:13 | variable 'inner' of type 'ScopedElement' can be declared 'const' |
| - | src/catch2/reporters/catch_reporter_xml.cpp:275:9 | variable 'outerTag' of type 'ScopedElement' can be declared 'const' |
| - | src/catch2/reporters/catch_reporter_xml.cpp:277:13 | variable 'inner' of type 'ScopedElement' can be declared 'const' |
| - | src/catch2/reporters/catch_reporter_xml.cpp:288:9 | variable 'outerTag' of type 'ScopedElement' can be declared 'const' |
| - | src/catch2/reporters/catch_reporter_xml.cpp:290:13 | variable 'innerTag' of type 'ScopedElement' can be declared 'const' |
| - | src/catch2/reporters/catch_reporter_xml.cpp:302:13 | variable 'sourceTag' of type 'ScopedElement' can be declared 'const' |
| - | src/catch2/reporters/catch_reporter_xml.cpp:313:9 | variable 'outerTag' of type 'ScopedElement' can be declared 'const' |
| - | src/catch2/reporters/catch_reporter_xml.cpp:315:13 | variable 'innerTag' of type 'ScopedElement' can be declared 'const' |
| - | src/catch2/reporters/catch_reporter_xml.cpp:319:13 | variable 'aliasTag' of type 'ScopedElement' can be declared 'const' |