summaryrefslogtreecommitdiff
path: root/bolt/runtime
diff options
context:
space:
mode:
authorTobias Hieta <tobias@hieta.se>2022-08-05 21:45:55 +0200
committerTobias Hieta <tobias@hieta.se>2022-08-06 09:42:10 +0200
commitb1356504e63ae821cccf1e051a0d2526bdfef2b0 (patch)
tree7b0199b5d86ea079574c3fad0a613b363689acd3 /bolt/runtime
parent786b503f66b1a35f79312203fcb533ad27511982 (diff)
downloadllvm-b1356504e63ae821cccf1e051a0d2526bdfef2b0.tar.gz
[LLVM] Update C++ standard to 17
Also make the soft toolchain requirements hard. This allows us to use C++17 features in LLVM now. If we find patterns with C++17 that improve readability it should be recommended in the coding standards. Reviewed By: jhenderson, cor3ntin, MaskRay Differential Revision: https://reviews.llvm.org/D130689
Diffstat (limited to 'bolt/runtime')
-rw-r--r--bolt/runtime/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/bolt/runtime/CMakeLists.txt b/bolt/runtime/CMakeLists.txt
index 7c1b79af4d2c..ef7ad02c98c7 100644
--- a/bolt/runtime/CMakeLists.txt
+++ b/bolt/runtime/CMakeLists.txt
@@ -2,7 +2,7 @@ cmake_minimum_required(VERSION 3.13.4)
include(CheckIncludeFiles)
set(CMAKE_CXX_EXTENSIONS OFF)
-set(CMAKE_CXX_STANDARD 14)
+set(CMAKE_CXX_STANDARD 17)
project(libbolt_rt_project)