[cfe-dev] getting information from TagDecl

harsh gupta mercury1992 at live.in
Thu Jun 23 04:24:18 PDT 2011


Is it possible to get the information about the members of a struct from the TagDecl for that struct. 

for example i have :
struct foo{
int x;
char y;
};

Here how can i find out that the struct has a member of type int and another of type char.


Harsh Gupta
 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20110623/aa2dded3/attachment.html>


More information about the cfe-dev mailing list