http://llvm.org/bugs/show_bug.cgi?id=15526
Fariborz Jahanian <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED CC| |[email protected] Resolution|--- |WORKSFORME --- Comment #3 from Fariborz Jahanian <[email protected]> --- This was recently fixed in in trunk. % $CLANG -c test.m -Wno-objc-root-class test.m:8:10: error: address of bit-field requested return &_name; ^~~~~~ 1 error generated. > Reduced test: > > @interface CPIntVarI { > int _name:31; > } > @end > > @implementation CPIntVarI > - (int*)foo { > return &_name; > } > @end > > Taking the address of a bitfield is obviously invalid, but clang shouldn't > crash on it. -- You are receiving this mail because: You are on the CC list for the bug.
_______________________________________________ LLVMbugs mailing list [email protected] http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs
