[PATCH] D15063: Introduce a range version of std::any_of, and use it in SCEV

David Blaikie via llvm-commits llvm-commits at lists.llvm.org
Mon Nov 30 08:49:58 PST 2015


dblaikie accepted this revision.
dblaikie added a comment.
This revision is now accepted and ready to land.

Looks good to me - please commit


================
Comment at: tools/llvm-pdbdump/LinePrinter.cpp:30
@@ -32,3 +29,3 @@
   // filters, and none of them include this item, them item is gone.
-  if (!IncludeFilters.empty() && !any_of_range(IncludeFilters, match_pred))
+  if (!IncludeFilters.empty() && !any_of(IncludeFilters, match_pred))
     return true;
----------------
Looks like this should be none_of, actually. Could implement that too in this patch or leave it as is.


http://reviews.llvm.org/D15063





More information about the llvm-commits mailing list