Replace the call to `llvm::any_of()` instead of doing the loop manually
Open
confirmed
- Dominant language
- LLVM
- Stars
- 1.5k
- Forks
- 854
- Avg merge
- 3d 17h
- Merged PRs (30d)
- 137
Description
I am pretty sure this can be replaced by a call to `llvm::any_of()` instead of doing the loop manually (I'm not quite certain of the lambda signature for the predicate though as I'm not familiar with whatever the offload toolchain iterator is vending).
_Originally posted by @AaronBallman in https://github.com/intel/llvm/pull/3776#discussion_r635431428_
Contributor guide
Assessment
This issue has not been assessed yet.