[PATCH] D64600: [ObjC] Add an attribute that "clamps" signed char BOOLs to {0,1}

Erik Pilkington via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Jul 12 14:46:04 PDT 2019


erik.pilkington updated this revision to Diff 209603.
erik.pilkington marked 2 inline comments as done.
erik.pilkington added a comment.

Address review comments.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D64600/new/

https://reviews.llvm.org/D64600

Files:
  clang/include/clang/Basic/Attr.td
  clang/include/clang/Basic/AttrDocs.td
  clang/include/clang/Basic/DiagnosticSemaKinds.td
  clang/lib/AST/TypePrinter.cpp
  clang/lib/CodeGen/CGExpr.cpp
  clang/lib/CodeGen/CGExprScalar.cpp
  clang/lib/CodeGen/CodeGenFunction.h
  clang/lib/Sema/SemaType.cpp
  clang/test/CodeGen/clamping-integral-bool.m
  clang/test/Misc/pragma-attribute-supported-attributes-list.test
  clang/test/Sema/clamping-integral-bool.m

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D64600.209603.patch
Type: text/x-patch
Size: 13572 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20190712/a1d7b00b/attachment.bin>


More information about the cfe-commits mailing list