Describe the bug
Clang-tidy warning:
"Variable 'autoRegistrar12' is non-const and globally accessible, consider making it const clang-tidy(cppcoreguidelines-avoid-non-const-global-variables)"
Reproduction steps
Run clang-tidy-14 on any Catch2 source file with at least 2 scenarios.
Platform information:
- OS: Linux
- Compiler+version: clang-tidy-14
- Catch version: v3.2.0