[cfe-dev] Reflection from AST?

Axel Naumann Axel.Naumann at cern.ch
Wed Oct 14 07:14:35 PDT 2009


Hi,

similar to my other question, but different enough to start a separate 
thread: I need to get e.g. the offsets of data members in classes, of 
base classes, and the size of a class. Would the AST be the right place? 
I cannot find that data anywhere in there - is it too "early", do I have 
to look at IR? Is there maybe an example anywhere?

Cheers, Axel.



More information about the cfe-dev mailing list