[PATCH] D39462: [Sema] Implement -Wmaybe-tautological-constant-compare for when the tautologicalness is data model dependent
Petr Hosek via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Tue Dec 19 11:04:29 PST 2017
phosek added a comment.
FWIW we've already rolled Clang that contains `-Wtautological-constant-compare` to our codebase and we had to set `-Wno-tautological-constant-compare` globally because we were getting bogus warnings in many places, similarly to https://reviews.llvm.org/D41368. If that warning ships as part of Clang 6, it's going to be be a major pain for many users so we really need some solution.
More information about the cfe-commits