Add a clang-tidy check for "magic numbers", integers and floating point values embedded in the code instead of using symbols or constants.
Bad example:
double circleArea = 3.1415926535 * radius * radius; double totalCharge = 1.08 * itemPrice;
Good example:
double circleArea = M_PI * radius * radius; double totalCharge = (1.0 + TAX_RATE) * itemPrice;
This check supports HICPP 5.1.1 Use symbolic names instead of literal values in code and Rule ES.45: Avoid “magic constants”; use symbolic constants
Please remove empty line and also include <vector>.