[llvm-exegesis] Fix compilation before c++17.
authorClement Courbet <courbet@google.com>
Fri, 22 Mar 2019 13:37:39 +0000 (13:37 +0000)
committerClement Courbet <courbet@google.com>
Fri, 22 Mar 2019 13:37:39 +0000 (13:37 +0000)
commitc08b26edb8eb8c71ce11688a0a79a80e025bb11f
treeec141aff83bd66e54088df9205369ded3f306598
parent28550779638d873cd1a58712c1938349a437fdc0
[llvm-exegesis] Fix compilation before c++17.

ClusteringTest.cpp:25:23: error: constexpr variable cannot have non-literal type 'const llvm::exegesis::(anonymous namespace)::(lambda at /home/buildslave/ps4-buildslave4/llvm-clang-lld-x86_64-scei-ps4-ubuntu-fast/llvm.src/unittests/tools/llvm-exegesis/ClusteringTest.cpp:25:35)'
static constexpr auto HasPoints = [](const std::vector<int> &Indices) {

llvm-svn: 356748
llvm/unittests/tools/llvm-exegesis/ClusteringTest.cpp