[libunwind] Bump to CXX_STANDARD 17 (#75986)
commit47413bb2760e63a3302871ea770d6c0f5a742036
authorFangrui Song <i@maskray.me>
Wed, 20 Dec 2023 05:51:05 +0000 (19 21:51 -0800)
committerGitHub <noreply@github.com>
Wed, 20 Dec 2023 05:51:05 +0000 (19 21:51 -0800)
treeae2eceebaf313cafc4ce8ba0ba0c585a2bbe7cec
parentf10302e3fa468a22a43e7d6bd6ec75919c60d72d
[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@google.com>
libunwind/src/CMakeLists.txt