AArthur O'Dwyer[libc++] Make C++03 reference_wrapper more like C++11.
| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
[runtimes] Use int main(int, char**) consistently in tests This is needed when running the tests in Freestanding mode, where main() isn't treated specially. In Freestanding, main() doesn't get mangled as extern "C", so whatever runtime we're using fails to find the entry point. One way to solve this problem is to define a symbol alias from __Z4mainiPPc to _main, however this requires all definitions of main() to have the same mangling. Hence this commit. | 5 年前 | |
[libc++] [test] Fix LWG3146 "Excessive unwrapping in std::ref/cref" Drive-by constexprify the existing tests, too. Differential Revision: https://reviews.llvm.org/D117953 | 4 年前 | |
[libc++] [test] Fix LWG3146 "Excessive unwrapping in std::ref/cref" Drive-by constexprify the existing tests, too. Differential Revision: https://reviews.llvm.org/D117953 | 4 年前 | |
[libc++] [test] Fix LWG3146 "Excessive unwrapping in std::ref/cref" Drive-by constexprify the existing tests, too. Differential Revision: https://reviews.llvm.org/D117953 | 4 年前 | |
[runtimes] Use int main(int, char**) consistently in tests This is needed when running the tests in Freestanding mode, where main() isn't treated specially. In Freestanding, main() doesn't get mangled as extern "C", so whatever runtime we're using fails to find the entry point. One way to solve this problem is to define a symbol alias from __Z4mainiPPc to _main, however this requires all definitions of main() to have the same mangling. Hence this commit. | 5 年前 | |
[libc++] Make C++03 reference_wrapper more like C++11. Remove a bunch of LIBCPP_CXX03_LANG. This is the result of a rabbithole to re-eliminate the workaround I introduced into std::cref in D117953. It turns out that Clang's C++03 mode (the only compiler we care about C++03 for) now supports all the things we were originally eschewing via LIBCPP_CXX03_LANG; we can fully support these reference_wrapper features in C++03 mode, and un-XFAIL the relevant tests. Drive-by constexprify a few more tests. Differential Revision: https://reviews.llvm.org/D117974 | 4 年前 | |
[libc++] [test] Fix LWG3146 "Excessive unwrapping in std::ref/cref" Drive-by constexprify the existing tests, too. Differential Revision: https://reviews.llvm.org/D117953 | 4 年前 | |
[libc++] [test] Fix LWG3146 "Excessive unwrapping in std::ref/cref" Drive-by constexprify the existing tests, too. Differential Revision: https://reviews.llvm.org/D117953 | 4 年前 |