diff options
author | Casey Carter <Casey@Carter.net> | 2022-01-10 16:35:31 -0800 |
---|---|---|
committer | Casey Carter <Casey@Carter.net> | 2022-01-10 16:35:31 -0800 |
commit | 1d3964d2adc457d9a2ac6cad8be4c84fef36d19e (patch) | |
tree | d426348d87119fb12987d3cb2b5a93d16eaefebb /clang/unittests/Tooling/CompilationDatabaseTest.cpp | |
parent | eb200e584ece7ca8c1f8cac59ca5418956ccf1e4 (diff) | |
download | llvm-1d3964d2adc457d9a2ac6cad8be4c84fef36d19e.zip llvm-1d3964d2adc457d9a2ac6cad8be4c84fef36d19e.tar.gz llvm-1d3964d2adc457d9a2ac6cad8be4c84fef36d19e.tar.bz2 |
[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
Diffstat (limited to 'clang/unittests/Tooling/CompilationDatabaseTest.cpp')
0 files changed, 0 insertions, 0 deletions