<div dir="ltr"><br><br><div class="gmail_quote"><div dir="ltr">On Tue, Nov 28, 2017 at 10:18 AM Stephane Sezer via Phabricator <<a href="mailto:reviews@reviews.llvm.org">reviews@reviews.llvm.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br>
<br>
The other alternative seems a bit less explicit to me but I don't mind it too much. What's the issue with using `std::any_of` exactly?<br><br></blockquote><div><br></div><div>In the sense of correctness, nothing is wrong with using std::any_of. But if there's more than one way to do it, and one is easier to read / understand, I just prefer it. I'm not blocking the CL or anything, it was just a suggestion in the interest of readability.</div></div></div>