aboutsummaryrefslogtreecommitdiff
path: root/llvm/unittests/Support/VirtualFileSystemTest.cpp
diff options
context:
space:
mode:
authorLouis Dionne <ldionne.2@gmail.com>2023-04-26 17:08:18 -0400
committerLouis Dionne <ldionne.2@gmail.com>2023-05-03 12:27:06 -0400
commit13f5579caeee2c75baf1249b9f64de54f7c361e2 (patch)
treefa8aadf30b17b5ae905b68d3c346c4607af25860 /llvm/unittests/Support/VirtualFileSystemTest.cpp
parent3e44aa659b98674a1220da235bc2cbafcb311a78 (diff)
downloadllvm-13f5579caeee2c75baf1249b9f64de54f7c361e2.zip
llvm-13f5579caeee2c75baf1249b9f64de54f7c361e2.tar.gz
llvm-13f5579caeee2c75baf1249b9f64de54f7c361e2.tar.bz2
[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
Diffstat (limited to 'llvm/unittests/Support/VirtualFileSystemTest.cpp')
0 files changed, 0 insertions, 0 deletions