commit | 961713055e636170da59d7006a878cb4ba518a5d | [log] [tgz] |
---|---|---|
author | Fariborz Jahanian <fjahanian@apple.com> | Thu Aug 30 18:49:41 2012 +0000 |
committer | Fariborz Jahanian <fjahanian@apple.com> | Thu Aug 30 18:49:41 2012 +0000 |
tree | 5e0e10cc514784fea4a1c5321f61e89feda76bfc | |
parent | c30981a563a8947cb26b1e308d122fa2ef90fceb [diff] |
objective-C: clang must implicitly convert __objc_yes/__objc_no to (BOOL)1/(BOOL)0 when BOOL is declared; otherwise it resorts to default of 'signed char'. This is important to selecting the correct Numeric API numberWithBool: Can't have a clang test for this. Will checkin and executable llvm test. // rdar://12156616 git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@162922 91177308-0d34-0410-b5e6-96231b3b80d8