<div dir="ltr"><div>I am attempting to rename a class.  I have matched the CXXRecordDecl that I want to rename, and I can rename the class declaration/definition.</div><div><br></div><div>I have been matching with something like recordDecl(isDerivedFrom(Class->getName().str())) where Class is of type CXXRecordDecl*.</div>
<div><br></div><div>Is there a possibility that it would match a type with the same name as Class but in a different namespace?</div><div><br></div><div>Is there a way to just pass the CXXRecordDecl or associated Type to the AST matcher?</div>
</div>