[PATCH] D72212: [Sema] Improve -Wrange-loop-analysis warnings
Fangrui Song via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Mon Jan 6 17:29:16 PST 2020
MaskRay added a comment.
Thanks for the patch. Will take some time to review. Without this, adding -Wrange-loop-analysis to -Wall will make lots of projects fail to build if they have -Werror. For example, `for (const absl::string_review : ...)` or `const std::string_view` is common.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D72212/new/
https://reviews.llvm.org/D72212
More information about the cfe-commits
mailing list