[cfe-dev] Matching CXXRecordDecl
Daniel Dilts
diltsman at gmail.com
Thu Jun 26 15:42:10 PDT 2014
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.
I have been matching with something like
recordDecl(isDerivedFrom(Class->getName().str())) where Class is of type
CXXRecordDecl*.
Is there a possibility that it would match a type with the same name as
Class but in a different namespace?
Is there a way to just pass the CXXRecordDecl or associated Type to the AST
matcher?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20140626/e1f3d5ca/attachment.html>
More information about the cfe-dev
mailing list