[cfe-users] Unknown type name extraction from AST.

Hemant Bhagat via cfe-users cfe-users at lists.llvm.org
Thu Dec 22 03:56:22 PST 2016


How do I get the unknown type name while visiting AST nodes.


class Sample


      std::string strMember;


I the above code if the #include <string> is missing then the AST will have an "invalid" for field declaration. I want to extract the token std::string as unknown type name.

Would you please help me to extract such unknown type names while visiting AST nodes.

Any kind of help will be really very appreciated as it is blocking the progress.



DISCLAIMER :- This e-mail may contain privileged and confidential information which is the property of Acellere GmbH and its associated companies. It is intended only for the use of the individual or entity to whom it is addressed. If you are not the intended recipient, you are not authorized to read, retain, copy, print, distribute or use this message. If you have received this communication in error, please notify the sender and delete all copies of this message. Acellere GmbH and its associated companies does not accept any liability for virus infected mails.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-users/attachments/20161222/568df9ad/attachment.html>

More information about the cfe-users mailing list