Affected rules
Description
Any use of __func__ is being flagged a declaration/definition of __func__. This is because our model treats uses of __func__ as a LocalVariable declarations (!).
I think we should just exclude LocalVariables called __func__ from the query results.
Example
void test() { __func__; }
Affected rules
DCL5-CPPDescription
Any use of
__func__is being flagged a declaration/definition of__func__. This is because our model treats uses of__func__as aLocalVariabledeclarations (!).I think we should just exclude
LocalVariables called__func__from the query results.Example