[PATCH] D142826: [Clang] Add -Wtype-limits to -Wextra for GCC compatibility

NAKAMURA Takumi via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Feb 1 15:56:27 PST 2023


chapuni added a comment.

This discovers a warning in https://reviews.llvm.org/rGa68d4b11465f5b3326be1dd820f59fac275b7581
I think its checking is valid if size_t is uint32_t (eg. -m32)

Could you guys teach me what the right fix for it? I don't know canonical fixes for it.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D142826



More information about the cfe-commits mailing list