The target-specific flag 'UseSignedCharForObjCBool' is used to determine the type for the Objective-C BOOL type. We should set it to false by default so that new targets can avoid setting it to true.
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Event Timeline
Comment Actions
Only make the change for the Darwin platforms to avoid ObjC ABI breakage for non-Darwin platforms.
Rather than using an if statement, why not assign directly? UseSignedCharForObjCBool = !T.isWatchOS();