This is an archive of the discontinued LLVM Phabricator instance.

Introduce a range version of std::any_of, and use it in SCEV
ClosedPublic

Authored by sanjoy on Nov 29 2015, 5:27 PM.

Diff Detail

Repository
rL LLVM

Event Timeline

sanjoy updated this revision to Diff 41360.Nov 29 2015, 5:27 PM
sanjoy retitled this revision from to Introduce a range version of std::any_of, and use it in SCEV.
sanjoy updated this object.
sanjoy added reviewers: dblaikie, pcc.
sanjoy added a subscriber: llvm-commits.

While you're at it can you remove the any_of_range from
tools/llvm-pdbdump/LinePrinter.cpp and use this new version instead?

sanjoy updated this revision to Diff 41362.Nov 29 2015, 5:50 PM
  • use llvm::any_of in LinePrinter.cpp
dblaikie accepted this revision.Nov 30 2015, 8:49 AM
dblaikie edited edge metadata.

Looks good to me - please commit

tools/llvm-pdbdump/LinePrinter.cpp
30 ↗(On Diff #41362)

Looks like this should be none_of, actually. Could implement that too in this patch or leave it as is.

This revision is now accepted and ready to land.Nov 30 2015, 8:49 AM
This revision was automatically updated to reflect the committed changes.