[LLVMdev] typedef struct

Alvin Cheung alvin.cheung at gmail.com
Thu Oct 1 20:38:19 PDT 2009


Hi all,

If I have a C struct declaration like this:

typedef struct typeA {...} typeB;

In the type symbol table generated should it contain an entry for struct.typeA 
or struct.typeB?  I seem to have seen both cases using the same llvm toolchain 
so I just wonder if I have done something wrong.

Thanks,
Alvin



More information about the llvm-dev mailing list