[LLVMdev] Access to the field of a structure
Alberto Barbaro
barbaro.alberto at gmail.com
Wed Feb 18 15:22:13 PST 2015
Hi All,
in my .c file I have a struct like this:
typedef struct var {
int x;
int y;
} point;
Overriding the VisitTypedefDecl method I can access to the structure using
a TypedefNameDecl variable. How can I access to the fields of the struct?
Thanks,
Alberto
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20150218/50e5161f/attachment.html>
More information about the llvm-dev
mailing list