[LLVMdev] Getting strcut member attributes
Raghavendra K
raghavendrak at huawei.com
Wed Jul 10 07:50:12 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
More information about the llvm-dev
mailing list