[all-commits] [llvm/llvm-project] 1d3964: [libcxx][test] Make LIBCPP_STATIC_ASSERT usable at...
Casey Carter via All-commits
all-commits at lists.llvm.org
Mon Jan 10 16:35:49 PST 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 1d3964d2adc457d9a2ac6cad8be4c84fef36d19e
https://github.com/llvm/llvm-project/commit/1d3964d2adc457d9a2ac6cad8be4c84fef36d19e
Author: Casey Carter <Casey at Carter.net>
Date: 2022-01-10 (Mon, 10 Jan 2022)
Changed paths:
M libcxx/test/support/test_macros.h
Log Message:
-----------
[libcxx][test] Make LIBCPP_STATIC_ASSERT usable at namespace scope
... even when `!defined(_LIBCPP_VERSION)`. (Note that the previous definition for this case - `((void)0);` - is ill-formed at namespace scope.) Ditto for `LIBCPP_ASSERT`, `LIBCPP_ASSERT_NOEXCEPT`, `LIBCPP_ASSERT_NOT_NOEXCEPT`, and `LIBCPP_ONLY`.
Differential Revision: https://reviews.llvm.org/D116880
More information about the All-commits
mailing list