[all-commits] [llvm/llvm-project] 47413b: [libunwind] Bump to CXX_STANDARD 17 (#75986)

Fangrui Song via All-commits all-commits at lists.llvm.org
Tue Dec 19 21:51:19 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 47413bb2760e63a3302871ea770d6c0f5a742036
      https://github.com/llvm/llvm-project/commit/47413bb2760e63a3302871ea770d6c0f5a742036
  Author: Fangrui Song <i at maskray.me>
  Date:   2023-12-19 (Tue, 19 Dec 2023)

  Changed paths:
    M libunwind/src/CMakeLists.txt

  Log Message:
  -----------
  [libunwind] Bump to CXX_STANDARD 17 (#75986)

libunwind uses C-style and low-level C++, so the language standard
doesn't matter that much, but bumping to C++17 aligns with the rest of
LLVM and enables some features that would cause pedantic warnings in
C++11 (e.g. -Wc++17-attribute-extensions for [[fallthrough]]/
[[nodiscard]]/[[maybe_unused]]). (Contributors might use these features
unaware of the pedantic warnings).

Suggested-by: Christopher Di Bella <cjdb at google.com>




More information about the All-commits mailing list