[PATCH] D72231: [Sema] Adds the pointer-to-int-cast diagnostic

Mark de Wever via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Sun Jan 5 12:16:57 PST 2020


Mordante added a comment.

In D72231#1804929 <https://reviews.llvm.org/D72231#1804929>, @xbolva00 wrote:

> >> The diagnostic is not enabled by default
>
> But GCC enables it for C even without "-Wall or -Wextra". Clang should follow it..


I'll have a look what the impact is. When I tested it about 20 tests failed.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D72231





More information about the cfe-commits mailing list