Searched refs:ReturnRefOfCopy (Results 1 - 2 of 2) sorted by relevance

/gem5/ext/googletest/googlemock/test/
H A Dgmock-actions_test.cc65 using testing::ReturnRefOfCopy;
667 // Tests that ReturnRefOfCopy(v) works for reference types.
670 const Action<const int&()> ret = ReturnRefOfCopy(n);
680 // Tests that ReturnRefOfCopy(v) is covariant.
684 Action<Base&()> a = ReturnRefOfCopy(base);
687 a = ReturnRefOfCopy(derived);
/gem5/ext/googletest/googlemock/include/gmock/
H A Dgmock-actions.h697 // Implements the polymorphic ReturnRefOfCopy(x) action, which can be
707 // This template type conversion operator allows ReturnRefOfCopy(x) to be
713 // catches the user error of using ReturnRefOfCopy(x) when Return(x)
722 // Implements the ReturnRefOfCopy(x) action for a particular function type F.
1085 inline internal::ReturnRefOfCopyAction<R> ReturnRefOfCopy(const R& x) { function in namespace:testing

Completed in 13 milliseconds