intel / intel/llvm

Replace the call to `llvm::any_of()` instead of doing the loop manually

Open
#3,784 0 comments 0 reactions 1 assignee Claimed by @smanna12 View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.