Star
81
Fork
27
代码
介绍
代码
Issues
9
Pull Requests
9
流水线
Actions
讨论
Wiki
项目成员
44
分析
项目设置
Star
81
Fork
27
master
msdebug
/
libcxx
/
test
/
std
/
utilities
/
function.objects
/
bind
/
func.bind
/
func.bind.bind
下载当前目录
L
Louis Dionne
[libc++] Make std::bind constexpr-friendly
13f5579c
创建于
2023年5月4日
历史提交
文件
最后提交记录
最后更新时间
PR23141.pass.cpp
[libc++] Make std::bind constexpr-friendly std::bind is supposed to be constexpr-friendly since C++20 and it was marked as such in our synopsis. However, the tests were not actually testing any of it and as it happens, std::bind was not really constexpr friendly. This fixes the issue and makes sure that at least some of the tests are running in constexpr mode. Some tests for std::bind check functions that return void, and those use global variables. These tests haven't been made constexpr-friendly, however the coverage added by this patch should be sufficient to get decent confidence. Differential Revision:
https://reviews.llvm.org/D149295
3 年前
bind_return_type.pass.cpp
[libc++] Avoid including <tuple> in compressed_pair.h compressed_pair is widely used in the library, but most of the uses don't use the tuple parts. To avoid including <tuple> everywhere, use the forward declaration instead in compressed_pair.h Reviewed By: ldionne, #libc Spies: libcxx-commits Differential Revision:
https://reviews.llvm.org/D133331
3 年前
copy.pass.cpp
[libc++][AIX] Use C++ overloads from libc++'s math.h AIX's system header provides these C++ overloads for compatibility with older XL C++ implementations, but they can be disabled by defining __LIBC_NO_CPP_MATH_OVERLOADS__ since AIX 7.2 TL 5 SP 3. Since D109078 landed clang will define this macro when using libc++ on AIX and we already run the lit tests with it too. This change will enable the overloads in libc++'s math.h and we'll continue to require the compiler to define the macro going forward. Reviewed By: ldionne, jsji, EricWF Differential Revision:
https://reviews.llvm.org/D102172
co-authored-by: Jason Liu <jasonliu.development@gmail.com>
4 年前
invoke_function_object.pass.cpp
[libc++] NFC: Normalize links to bug reports
5 年前
invoke_int_0.pass.cpp
[libc++] Make std::bind constexpr-friendly std::bind is supposed to be constexpr-friendly since C++20 and it was marked as such in our synopsis. However, the tests were not actually testing any of it and as it happens, std::bind was not really constexpr friendly. This fixes the issue and makes sure that at least some of the tests are running in constexpr mode. Some tests for std::bind check functions that return void, and those use global variables. These tests haven't been made constexpr-friendly, however the coverage added by this patch should be sufficient to get decent confidence. Differential Revision:
https://reviews.llvm.org/D149295
3 年前
invoke_lvalue.pass.cpp
[libc++] Make std::bind constexpr-friendly std::bind is supposed to be constexpr-friendly since C++20 and it was marked as such in our synopsis. However, the tests were not actually testing any of it and as it happens, std::bind was not really constexpr friendly. This fixes the issue and makes sure that at least some of the tests are running in constexpr mode. Some tests for std::bind check functions that return void, and those use global variables. These tests haven't been made constexpr-friendly, however the coverage added by this patch should be sufficient to get decent confidence. Differential Revision:
https://reviews.llvm.org/D149295
3 年前
invoke_rvalue.pass.cpp
[libc++] Make std::bind constexpr-friendly std::bind is supposed to be constexpr-friendly since C++20 and it was marked as such in our synopsis. However, the tests were not actually testing any of it and as it happens, std::bind was not really constexpr friendly. This fixes the issue and makes sure that at least some of the tests are running in constexpr mode. Some tests for std::bind check functions that return void, and those use global variables. These tests haven't been made constexpr-friendly, however the coverage added by this patch should be sufficient to get decent confidence. Differential Revision:
https://reviews.llvm.org/D149295
3 年前
invoke_void_0.pass.cpp
[libc++] Remove the c++98 Lit feature from the test suite C++98 and C++03 are effectively aliases as far as Clang is concerned. As such, allowing both std=c++98 and std=c++03 as Lit parameters is just slightly confusing, but provides no value. It's similar to allowing both std=c++17 and std=c++1z, which we don't do. This was discovered because we had an internal bot that ran the test suite under both c++98 AND c++03 -- one of which is redundant. Differential Revision:
https://reviews.llvm.org/D80926
5 年前
nested.pass.cpp
[libc++] Make std::bind constexpr-friendly std::bind is supposed to be constexpr-friendly since C++20 and it was marked as such in our synopsis. However, the tests were not actually testing any of it and as it happens, std::bind was not really constexpr friendly. This fixes the issue and makes sure that at least some of the tests are running in constexpr mode. Some tests for std::bind check functions that return void, and those use global variables. These tests haven't been made constexpr-friendly, however the coverage added by this patch should be sufficient to get decent confidence. Differential Revision:
https://reviews.llvm.org/D149295
3 年前