Cpp Core Guideline I.2, a.k.a "Avoid non-const global variables"
For detailed documentation, see:
This matcher already exists either as global matcher or in some other check. please refactor it out.
const fixing is a complicated issue. I would rather not do this now, as there is currently a patch in flight that does the general case.
Please describe the check with one sentence and sync that with the check documentation.
Please adjust the documentation here as well :)
Please add test-cases for pointers and references of builtins (int and the like) and classes/structs/enums/unions, function pointers and member function/data pointers.
I am not sure about the consteval support in clang for c++20, but for each feature from a newer standard its better to have a additional test-file that will use this standard.