Ignore generic code in useless parentheses check.

Macro often need extra parenthesis to ensure evaluation will always be performed as expected,
for all kinds of arguments that may be provided. This causes lots of extra warnings, which cannot
be removed, so it is best to ignore these issues in generated code.