Is there a linter setting, preferably for clang-tidy, that identifies or pessimizes the use of direct numeric arguments.
Identify the following as bad
socket(0, 0, 0)
Identify the following as good
int domain = 0; int type = 0; int protocol = 0;
socket(domain, type, protocol)