If the address of a field is taken as a pointer to member, we should
not warn that the field is not used.
Normaly, yse of fields are done from MemberExpr, but in case of pointer to
member, it is in a DeclRefExpr
Differential D20054
Fix spurious warnings about unused private field ogoffart on May 8 2016, 4:08 AM. Authored by
Details If the address of a field is taken as a pointer to member, we should Normaly, yse of fields are done from MemberExpr, but in case of pointer to
Diff Detail
|