catch2:

Run:44316113512
Check:main: misc-const-correctness
Status:ok
Time:5s
Warnings:250 (TP 0, FP 0, unclassified 250)
Source:catchorg/Catch2/blob/02f8b5593a15cdec8558256e6f40a0c7fb5862d6

Warnings (250):

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

Generated from 3ddf6fa37f.