Searched refs:CanCallReturnRef (Results 1 – 1 of 1) sorted by relevance
651 bool CanCallReturnRef(T&&) { return true; } in CanCallReturnRef() function652 bool CanCallReturnRef(Unused) { return false; } in CanCallReturnRef() function657 EXPECT_TRUE(CanCallReturnRef(scalar_value)); in TEST()660 EXPECT_TRUE(CanCallReturnRef(non_scalar_value)); in TEST()663 EXPECT_TRUE(CanCallReturnRef(const_scalar_value)); in TEST()666 EXPECT_TRUE(CanCallReturnRef(const_non_scalar_value)); in TEST()672 EXPECT_FALSE(CanCallReturnRef(scalar_value())); in TEST()675 EXPECT_FALSE(CanCallReturnRef(non_scalar_value())); in TEST()679 EXPECT_FALSE(CanCallReturnRef(static_cast<const int>(321))); in TEST()682 EXPECT_FALSE(CanCallReturnRef(const_non_scalar_value())); in TEST()