[PATCH] D37629: [Sema] Move some stuff into -Wtautological-unsigned-enum-zero-compare

Roman Lebedev via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Sep 8 11:33:40 PDT 2017


lebedev.ri added a comment.

In https://reviews.llvm.org/D37629#865068, @lebedev.ri wrote:

> And finish reducing the code by for-range-loop`ing over array + use `std::array`.


I will need to fix handling of the second edge-case (comparison with max unsigned value or with min/max for signed values), so having the code this way *might* help..


Repository:
  rL LLVM

https://reviews.llvm.org/D37629





More information about the cfe-commits mailing list