summaryrefslogtreecommitdiffstats
path: root/llvm/cmake/modules
diff options
context:
space:
mode:
authorJF Bastien <jfbastien@apple.com>2019-08-14 17:39:07 +0000
committerJF Bastien <jfbastien@apple.com>2019-08-14 17:39:07 +0000
commitb13c8ca9ebc4bfa4a916c46ff1415d3092be136c (patch)
tree698fede5907e302e8687521c5e973b97c7082605 /llvm/cmake/modules
parent04ddff4cbc91be6a2dfd4dbbf3563762c4895d68 (diff)
downloadbcm5719-llvm-b13c8ca9ebc4bfa4a916c46ff1415d3092be136c.tar.gz
bcm5719-llvm-b13c8ca9ebc4bfa4a916c46ff1415d3092be136c.zip
Move to C++14
Summary: I just bumped the minimum compiler versions to support C++14 in D66188. Following [our process](http://llvm.org/docs/DeveloperPolicy.html#toolchain) and [our previous agreement](http://lists.llvm.org/pipermail/llvm-dev/2019-January/129452.html), I'm now officially bumping the C++ version to 14 and updating the documentation. Subscribers: mgorny, jkorous, dexonsmith, llvm-commits, chandlerc, thakis, EricWF, jyknight, lhames, JDevlieghere Tags: #llvm Differential Revision: https://reviews.llvm.org/D66195 llvm-svn: 368887
Diffstat (limited to 'llvm/cmake/modules')
-rw-r--r--llvm/cmake/modules/HandleLLVMOptions.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/cmake/modules/HandleLLVMOptions.cmake b/llvm/cmake/modules/HandleLLVMOptions.cmake
index a243507791a..a493f1dde88 100644
--- a/llvm/cmake/modules/HandleLLVMOptions.cmake
+++ b/llvm/cmake/modules/HandleLLVMOptions.cmake
@@ -18,7 +18,7 @@ else()
set(LINKER_IS_LLD_LINK FALSE)
endif()
-set(LLVM_CXX_STD_default "c++11")
+set(LLVM_CXX_STD_default "c++14")
# Preserve behaviour of legacy cache variables
if (LLVM_ENABLE_CXX1Y)
set(LLVM_CXX_STD_default "c++1y")
OpenPOWER on IntegriCloud