diff options
author | Ruslan Arutyunyan <ruslan.arutyunyan@intel.com> | 2022-01-31 21:40:16 +0300 |
---|---|---|
committer | Ruslan Arutyunyan <ruslan.arutyunyan@intel.com> | 2022-01-31 22:24:51 +0300 |
commit | d01d91d1aec9cca8dc7259009a6b3db0900e8623 (patch) | |
tree | 105cdebb08d149a3de3f88020053b4cf83955345 /llvm/lib/Bitcode/Writer/BitcodeWriter.cpp | |
parent | 7c89c2ac6f4de27f4fd4e302d8584218a2957040 (diff) | |
download | llvm-d01d91d1aec9cca8dc7259009a6b3db0900e8623.zip llvm-d01d91d1aec9cca8dc7259009a6b3db0900e8623.tar.gz llvm-d01d91d1aec9cca8dc7259009a6b3db0900e8623.tar.bz2 |
[libc++][pstl][NFC] Remove usage of std::result_of from Parallel STL
std::result_of creates problems when building with C++20 because it's
deprecated there.
The solution is to remove it and get return value type for a function
with decltype.
Substitute std::invoke_result for std::result_of is unnecessary because
we don't have std::invoke semantics within the function - we don't work
with pointer-to-member's.
Reviewed by: ldionne, MikeDvorskiy, #libc
Differential Revision: https://reviews.llvm.org/D118457
Diffstat (limited to 'llvm/lib/Bitcode/Writer/BitcodeWriter.cpp')
0 files changed, 0 insertions, 0 deletions