[PATCH] llvm::all_of

Pete Cooper peter_cooper at apple.com
Wed May 13 14:41:27 PDT 2015


Hey David

(For the benefit of mailing archives, this is a spin-off from a discussion on http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20150511/276283.html <http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20150511/276283.html>)

This is the patch we discussed to add an llvm version of std::all_of which doesn’t need begin/end.  Also added a user of it to LoopInfo which was the motivating example you pointed out.

Comments welcome.

Cheers,
Pete

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150513/8d56dcdd/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: all_of.diff
Type: application/octet-stream
Size: 1793 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150513/8d56dcdd/attachment.obj>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150513/8d56dcdd/attachment-0001.html>


More information about the llvm-commits mailing list