HomePhabricator

[clangd] NFC: Migrate to LLVM STLExtras API where possible

Description

[clangd] NFC: Migrate to LLVM STLExtras API where possible

This patch improves readability by migrating `std::function(ForwardIt
start, ForwardIt end, ...)` to LLVM's STLExtras range-based equivalent
llvm::function(RangeT &&Range, ...).

Similar change in Clang: D52576.

Reviewed By: sammccall

Differential Revision: https://reviews.llvm.org/D52650

Details

Committed
omtcyfzOct 7 2018, 7:49 AM
Reviewer
sammccall
Differential Revision
D52650: [clangd] NFC: Migrate to LLVM STLExtras API where possible
Parents
rL343936: [InstSimplify] add vector test for fneg+fdiv; NFC
Branches
Unknown
Tags
Unknown