[all-commits] [llvm/llvm-project] 93df7b: [libc++][ABI Break] Make is_error_condition_enum_v...
Joseph Loser via All-commits
all-commits at lists.llvm.org
Thu Oct 28 12:40:11 PDT 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 93df7b9f75af6b4282565e6e98bb306590375820
https://github.com/llvm/llvm-project/commit/93df7b9f75af6b4282565e6e98bb306590375820
Author: Joe Loser <joeloser93 at gmail.com>
Date: 2021-10-28 (Thu, 28 Oct 2021)
Changed paths:
M libcxx/docs/ReleaseNotes.rst
M libcxx/include/system_error
M libcxx/test/std/diagnostics/syserr/is_error_code_enum.pass.cpp
M libcxx/test/std/diagnostics/syserr/is_error_condition_enum.pass.cpp
Log Message:
-----------
[libc++][ABI Break] Make is_error_condition_enum_v and is_error_code_enum_v bool, not size_t
`is_error_condition_enum_v` and `is_error_code_enum_v` are currently of
type `size_t`, but the standard mandates they are of type `bool`.
This is an ABI break technically since the size of these variable
templates has changed. Document it as such in the release notes.
Fixes https://bugs.llvm.org/show_bug.cgi?id=50755
Reviewed By: ldionne, Quuxplusone, #libc, var-const
Differential Revision: https://reviews.llvm.org/D112553
More information about the All-commits
mailing list