diff options
Diffstat (limited to 'llvm/unittests')
-rw-r--r-- | llvm/unittests/tools/llvm-exegesis/ClusteringTest.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/unittests/tools/llvm-exegesis/ClusteringTest.cpp b/llvm/unittests/tools/llvm-exegesis/ClusteringTest.cpp index 174dd4300c5..2833d557ba2 100644 --- a/llvm/unittests/tools/llvm-exegesis/ClusteringTest.cpp +++ b/llvm/unittests/tools/llvm-exegesis/ClusteringTest.cpp @@ -22,7 +22,7 @@ using testing::Field; using testing::UnorderedElementsAre; using testing::UnorderedElementsAreArray; -static constexpr auto HasPoints = [](const std::vector<int> &Indices) { +static const auto HasPoints = [](const std::vector<int> &Indices) { return Field(&InstructionBenchmarkClustering::Cluster::PointIndices, UnorderedElementsAreArray(Indices)); }; |