mirror of
https://github.com/intel/llvm.git
synced 2026-01-22 15:41:35 +08:00
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:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user