Commits

Joe Groff committed f8dfcaa84e4
SIL: Consider the original Clang type of a decl before bridging Bool back to ObjCBool. It's not always correct to map a Swift Bool back to ObjCBool in C land, since Bool could have originally been a proper _Bool. Pass the clang::Decl down to type lowering so we can recognize this. We still don't have a great solution for block types, because there's no decl to refer to, and Swift's user-level type system erases the distinction between void(^)(_Bool) and void(^)(BOOL). However, this is enough to let us start using C APIs that traffic in _Bool. Swift SVN r23546