Open lcartey opened 1 month ago
RULE-8-13
Should we flag variables generated from macro expansions as missing const?
Some considerations:
const
#define FOO int x = 0; .. int f() { FOO; // NON_COMPLIANT? return x; }
Affected rules
RULE-8-13
Description
Should we flag variables generated from macro expansions as missing const?
Some considerations:
const
would need to be added?Example