[PATCH] D20407: [CodeGen][ObjC] zero-ext an i1 value to i8

Akira Hatanaka via cfe-commits cfe-commits at lists.llvm.org
Fri May 20 13:40:16 PDT 2016


ahatanak added a comment.

I've managed to remove _Atomic from the types of the return and parameter of getter and setter functions in my new patch.

I'm not sure how I should handle typedefs though. If I had the following typedef,

typedef _Atomic(_Bool) AtomicBool,

would it be OK to desugar the typedef and then remove _Atomic? I'm not sure this is always correct because dusugaring typedefs will remove the attributes attached to them that might be important too.


http://reviews.llvm.org/D20407





More information about the cfe-commits mailing list