googletest/googlemock/include/gmock
Abseil Team 8fa9461cc2 Fix FunctionMocker compilation slowdown in 9d21db9e0a
The slowdown appears to be due to an implicit conversion of distinct (yet semantically identical) lambdas to `std::function`. Lifting out the lambdas into functors that don't get re-instantiated reduces compilation times by nearly half.

Fixes #4156

PiperOrigin-RevId: 523447948
Change-Id: Ib0ae0761a54d7b1f2b706b14b2858eedf47e2297
2023-04-11 10:55:11 -07:00
..
internal Fix redundant redeclaration warning 2023-03-28 07:03:07 -07:00
gmock-actions.h Use "#ifdef GTEST_OS_..." instead of "#if GTEST_OS_..." 2023-03-06 07:14:21 -08:00
gmock-cardinalities.h Running clang-format over all of GoogleTest 2022-03-15 13:42:11 -07:00
gmock-function-mocker.h Fix formatting of C++ files 2023-01-24 11:10:09 -08:00
gmock-matchers.h Internal Code Change 2023-03-21 02:36:37 -07:00
gmock-more-actions.h Use GTEST_DISABLE_MSC_WARNINGS macros to disable warnings 2023-01-30 13:45:46 -08:00
gmock-more-matchers.h Use GTEST_DISABLE_MSC_WARNINGS macros to disable warnings 2023-01-30 13:45:46 -08:00
gmock-nice-strict.h Use "#ifdef GTEST_OS_..." instead of "#if GTEST_OS_..." 2023-03-06 07:14:21 -08:00
gmock-spec-builders.h Fix FunctionMocker compilation slowdown in 9d21db9e0a 2023-04-11 10:55:11 -07:00
gmock.h Consistently apply IWYU pragmas across googletest and googlemock headers 2022-01-18 08:11:11 -08:00