[LLVMdev] mode(byte)

reed kotler rkotler at mips.com
Tue Oct 1 19:59:39 PDT 2013


why is this not legal in clang?

pedef enum { C = 1, D = 2 } B;
extern void abort (void);

struct S
{
   B __attribute__ ((mode (byte))) a;
   B __attribute__ ((mode (byte))) b;
};

byte is an integer type in this gcc definition







More information about the llvm-dev mailing list