Closed
Description
Affected rules
DCL5-CPP
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 LocalVariable
s called __func__
from the query results.
Example
void test() { __func__; }