[PATCH] D39462: [Sema] Implement -Wmaybe-tautological-constant-compare for when the tautologicalness is data model dependent

John McCall via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Sun Nov 12 13:49:47 PST 2017


rjmccall added a comment.

I see.  The problem now, though, is that things involving, say, a size_t and a numeric_limits<size_t> will never warn.


Repository:
  rL LLVM

https://reviews.llvm.org/D39462





More information about the cfe-commits mailing list