diff options
author | Mark de Wever <koraq@xs4all.nl> | 2020-03-12 21:34:31 +0100 |
---|---|---|
committer | Mark de Wever <koraq@xs4all.nl> | 2020-03-12 21:35:00 +0100 |
commit | d184d0226301d8bb8b3fdaee52bb636faddd81bc (patch) | |
tree | cf5f79d46875508a50554df74d923f3cfb018d4a /llvm/lib/Analysis/LoopAnalysisManager.cpp | |
parent | dc4cd43904df92565dbacaa501db98eb9683551b (diff) | |
download | llvm-d184d0226301d8bb8b3fdaee52bb636faddd81bc.zip llvm-d184d0226301d8bb8b3fdaee52bb636faddd81bc.tar.gz llvm-d184d0226301d8bb8b3fdaee52bb636faddd81bc.tar.bz2 |
[libcxx] Enable C++17 for the benchmarks.
The benchmarks are intended to be build with C++17 but the
CMAKE_CXX_STANDARD in the LLVM forces the build to use C++14 by default.
This fixes the issue by setting the CXX_STANDARD property of the benchmark
targets.
The CMake documentation is not clear whether this will use the C++1z
fallback for older compilers. So this may break the benchmarks if somebody
uses the benchmarks with pre C++17 compilers with the C++1z fallback.
Differential Revision: https://reviews.llvm.org/D75955
Diffstat (limited to 'llvm/lib/Analysis/LoopAnalysisManager.cpp')
0 files changed, 0 insertions, 0 deletions