[LLVMdev] Getting strcut member attributes
baldrick at free.fr
Wed Jul 10 09:41:55 PDT 2013
Hi ragha, as this is a clang question I suggest you ask on the clang mailing
Best wishes, Duncan.
On 10/07/13 16:50, Raghavendra K wrote:
> I need a help,
> #define OPT
> #define MAN
> struct A
> int i;
> char* c;
> struct B
> OPT A a;
> MAN int i;
> After parsing the above .h file, how to get the attributes of B members specifically
> for member A which is prefixed with OPT...
> So far am able to get type of a as A but unable to OPT...as it might be preprocessed and as it is empty
> it may discarded or...
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu
More information about the llvm-dev