Move from llvm::makeArrayRef to ArrayRef deduction guides - last part

This is a follow-up to https://reviews.llvm.org/D140896, split into
several parts as it touches a lot of files.

Differential Revision: https://reviews.llvm.org/D141298
This commit is contained in:
serge-sans-paille
2023-01-09 18:11:07 +01:00
parent 740d2f6b87
commit 984b800a03
181 changed files with 405 additions and 423 deletions

View File

@@ -97,7 +97,7 @@ struct MemfunctionBenchmarkBase : public BenchmarkSetup {
CircularArrayRef<ParameterBatch::ParameterType>
generateBatch(size_t Iterations) {
randomize();
return cycle(makeArrayRef(Parameters), Iterations);
return cycle(ArrayRef(Parameters), Iterations);
}
protected: