[PATCH] D67559: [Sema] Split of versions of -Wimplicit-{float,int}-conversion for Objective-C BOOL

Erik Pilkington via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Sep 13 09:15:12 PDT 2019


erik.pilkington created this revision.
erik.pilkington added reviewers: rjmccall, steven_wu, aaron.ballman.
Herald added subscribers: ributzka, dexonsmith, jkorous.
Herald added a project: clang.

Also, add a diagnostic group, -Wobjc-signed-char-bool, to control all these related diagnostics.

See also: D63912 <https://reviews.llvm.org/D63912>, D63856 <https://reviews.llvm.org/D63856>

rdar://problem/51954400 ObjC: Add diagnostics to catch incorrect usage of BOOL


Repository:
  rC Clang

https://reviews.llvm.org/D67559

Files:
  clang/include/clang/Basic/DiagnosticGroups.td
  clang/include/clang/Basic/DiagnosticSemaKinds.td
  clang/lib/AST/Expr.cpp
  clang/lib/Sema/SemaChecking.cpp
  clang/test/SemaObjC/signed-char-bool-conversion.m

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D67559.220120.patch
Type: text/x-patch
Size: 11475 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20190913/0507a4e4/attachment-0001.bin>


More information about the cfe-commits mailing list