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

Nick Desaulniers via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Feb 18 17:45:01 PST 2020


nickdesaulniers added a comment.

In D72231#1881855 <https://reviews.llvm.org/D72231#1881855>, @rjmccall wrote:

> No, I understand the pattern, but they must have already done some sort of pass over the code to make it warning-clean when they're working with a smaller integer type.  Or do they just in practice never store smaller integers in there, whereas it's hard to control size with an enum?


Unsure.


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