Hi, i’m the IHD operator (Hidden Variable Delete) for mutation testing using AST matchers:
using namespace std;
class A{
int a;
… …
};class B: public A{
int a;
… …
};Mutant:
class A{
int a;
… …
};class B: public A{
// int a;
… …
};
The problem is that i cannot find a way to find when a field is hidden. I tried with “clang::NamedDecl::isHidden”, but it seems that it doesn’t has nothing to do with this matter. Is there a way to do this with some class method?
Thank you.