diff options
author | Jonas Devlieghere <jonas@devlieghere.com> | 2019-08-15 04:42:15 +0000 |
---|---|---|
committer | Jonas Devlieghere <jonas@devlieghere.com> | 2019-08-15 04:42:15 +0000 |
commit | 4d474e078ac729d74aca406d688060c9638dd9f2 (patch) | |
tree | 0ac3db13981c9e5296c7c82cd7a0d5857e71aec3 /llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp | |
parent | a7d4cec4372403506208bc5599502c0a9e48fc57 (diff) | |
download | llvm-4d474e078ac729d74aca406d688060c9638dd9f2.zip llvm-4d474e078ac729d74aca406d688060c9638dd9f2.tar.gz llvm-4d474e078ac729d74aca406d688060c9638dd9f2.tar.bz2 |
[CMake] Check for C++14 instead of C++11
Now that LLVM moved to C++14, `COMPILER_RT_HAS_STD_CXX11_FLAG` should
become `COMPILER_RT_HAS_STD_CXX14_FLAG`.
I ran into this issue when replacing llvm::make_unique with
std::make_unique in an X-ray unit test. We are correctly passing
`-std=c++14`, but this got overwritten further down the invocation by
the compiler-rt flags. Given that this unit test is using LLVM headers,
this is bound to break sooner than later, regardless of my change.
Differential revision: https://reviews.llvm.org/D66271
llvm-svn: 368960
Diffstat (limited to 'llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp')
0 files changed, 0 insertions, 0 deletions