[cfe-dev] Extracting struct name for typedef struct { ... } <name>
Himanshu via cfe-dev
cfe-dev at lists.llvm.org
Mon Aug 22 09:44:22 PDT 2016
Hi all,
I tried both RecordDecl as well as TypedefNameDecl to extract names of
such struct declarations, but I always get an empty string. Could you
please let me know how to extract the struct name?
For example:
typedef struct {
...
} tstr;
I want to extract 'tstr' name for this struct typedef.
Thanks!
--
Himanshu
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20160822/9e7b8dcd/attachment.html>
More information about the cfe-dev
mailing list