[all-commits] [llvm/llvm-project] b13565: [LLVM] Update C++ standard to 17

Tobias Hieta via All-commits all-commits at lists.llvm.org
Sat Aug 6 00:42:23 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: b1356504e63ae821cccf1e051a0d2526bdfef2b0
      https://github.com/llvm/llvm-project/commit/b1356504e63ae821cccf1e051a0d2526bdfef2b0
  Author: Tobias Hieta <tobias at hieta.se>
  Date:   2022-08-06 (Sat, 06 Aug 2022)

  Changed paths:
    M bolt/runtime/CMakeLists.txt
    M clang/CMakeLists.txt
    M lld/CMakeLists.txt
    M lldb/CMakeLists.txt
    M llvm/CMakeLists.txt
    M llvm/cmake/modules/CheckCompilerVersion.cmake
    M llvm/docs/CodingStandards.rst
    M llvm/docs/ReleaseNotes.rst

  Log Message:
  -----------
  [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




More information about the All-commits mailing list