[cfe-dev] IHD operator for mutation testing

Daniel QuiƱones Lopez kaos09 at hotmail.com
Wed Jul 3 05:15:07 PDT 2013


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.
 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20130703/8ff937eb/attachment.html>


More information about the cfe-dev mailing list