[PATCH] D29768: [TargetInfo] Set 'UseSignedCharForObjCBool' to false by default

Alex Lorenz via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Feb 9 08:48:18 PST 2017


arphaman created this revision.

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`.


Repository:
  rL LLVM

https://reviews.llvm.org/D29768

Files:
  lib/Basic/TargetInfo.cpp
  lib/Basic/Targets.cpp
  test/Frontend/objc-bool-is-bool.m

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D29768.87818.patch
Type: text/x-patch
Size: 4774 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20170209/292b0a28/attachment.bin>


More information about the cfe-commits mailing list