[LLVMdev] Getting strcut member attributes
Raghavendra K
raghavendrak at huawei.com
Thu Jul 11 01:40:03 PDT 2013
Hi,
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...
regards
ragha
_______________________________________________
LLVM Developers mailing list
LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
More information about the llvm-dev
mailing list