llvm-project/llvm/utils/unittest
Evgeny Mandrikov c94eb0f9ef Fix compilation of Google Test in C++20 mode
Without this patch when using CMAKE_CXX_STANDARD=20
and MSVC 19.30.30705.0 compilation of unit tests
fails with

llvm\utils\unittest\googlemock\include\gmock/gmock-actions.h(828): error C2039: 'result_of': is not a member of 'std'

Patch is taken from Google Test:
61f010d703

Do not use std::result_of as it was removed in C++20.

Differential Revision: https://reviews.llvm.org/D115163
2021-12-06 18:07:25 +01:00
..
UnitTestMain
googlemock Fix compilation of Google Test in C++20 mode 2021-12-06 18:07:25 +01:00
googletest Revert "Revert "Temporarily do not drop volatile stores before unreachable"" 2021-07-09 11:44:34 -04:00
CMakeLists.txt GTEST_HAS_TR1_TUPLE is gone, stop defining it. 2021-05-14 21:14:32 +02:00