[cfe-dev] getting information from TagDecl

harsh gupta harshgupta1992 at hotmail.com
Thu Jun 23 04:25:26 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/aa239887/attachment.html>


More information about the cfe-dev mailing list