Typically most main functions have the signature:
int main(int argc, char *argv[])
To stick with convention when renaming parameters we should ignore the argc and argv names even if the parameter style says they should be renamed. This patch addresses this by checking all ParmVarDecls if they form part of a function with a signature that matches main int name(int argc, char * argv[], (optional char *env[]))
I'd flip the logic to != AS_public to be more clear that we only care about public members.