Searched refs:Uncopyable (Results 1 – 7 of 7) sorted by relevance
27 struct Uncopyable {28 Uncopyable();30 Uncopyable(const Uncopyable &); // expected-note {{declared private here}}34 Uncopyable v;39 Uncopyable v;40 [obj test_c: (const Uncopyable&) v];
171 struct Uncopyable { in TEST() struct172 Uncopyable() = default; in TEST()173 Uncopyable(const Uncopyable &) = delete; in TEST()175 unique_function<void(const Uncopyable &)> UncopyableF = in TEST()176 [](const Uncopyable &) {}; in TEST() argument177 UncopyableF(Uncopyable()); in TEST()178 Uncopyable X; in TEST()
119 struct Uncopyable { struct120 Uncopyable() {} in Uncopyable() function122 Uncopyable(const Uncopyable&); // expected-note {{declared private here}}125 void f(const Uncopyable&) {} in f() argument127 f(Uncopyable()); in test()
3866 class Uncopyable { class3868 explicit Uncopyable(int a_value) : value_(a_value) {} in Uncopyable() function in __anone21fdd500111::Uncopyable3871 bool operator==(const Uncopyable& rhs) const { in operator ==()3877 Uncopyable(const Uncopyable&); // NOLINT3882 ::std::ostream& operator<<(::std::ostream& os, const Uncopyable& value) { in operator <<()3887 bool IsPositiveUncopyable(const Uncopyable& x) { in IsPositiveUncopyable()3893 Uncopyable y(-1); in TestAssertNonPositive()3898 Uncopyable x(5); in TestAssertEqualsUncopyable()3899 Uncopyable y(-1); in TestAssertEqualsUncopyable()3905 Uncopyable x(5); in TEST()[all …]
3873 class Uncopyable { class3875 explicit Uncopyable(int a_value) : value_(a_value) {} in Uncopyable() function in __anon963337bb0111::Uncopyable3878 bool operator==(const Uncopyable& rhs) const { in operator ==()3884 Uncopyable(const Uncopyable&); // NOLINT3889 ::std::ostream& operator<<(::std::ostream& os, const Uncopyable& value) { in operator <<()3894 bool IsPositiveUncopyable(const Uncopyable& x) { in IsPositiveUncopyable()3900 Uncopyable y(-1); in TestAssertNonPositive()3905 Uncopyable x(5); in TestAssertEqualsUncopyable()3906 Uncopyable y(-1); in TestAssertEqualsUncopyable()3912 Uncopyable x(5); in TEST()[all …]
2900 class Uncopyable { class2902 explicit Uncopyable(int a_value) : value_(a_value) {} in Uncopyable() function in testing::gmock_matchers_test::Uncopyable2907 GTEST_DISALLOW_COPY_AND_ASSIGN_(Uncopyable);2911 bool ValueIsPositive(const Uncopyable& x) { return x.value() > 0; } in ValueIsPositive()2921 Uncopyable z; // An uncopyable field.3381 Uncopyable& RefUncopyableFunction(Uncopyable& obj) { // NOLINT in RefUncopyableFunction()3394 Uncopyable obj(0); in TEST()3395 Uncopyable obj2(0); in TEST()3396 Matcher<Uncopyable&> matcher2 = in TEST()
3850 class Uncopyable { class3852 Uncopyable() : value_(-1) {} in Uncopyable() function in testing::gmock_matchers_test::__anon67385ff30111::Uncopyable3853 explicit Uncopyable(int a_value) : value_(a_value) {} in Uncopyable() function in testing::gmock_matchers_test::__anon67385ff30111::Uncopyable3860 GTEST_DISALLOW_COPY_AND_ASSIGN_(Uncopyable);3864 bool ValueIsPositive(const Uncopyable& x) { return x.value() > 0; } in ValueIsPositive()3878 Uncopyable z; // An uncopyable field.4471 Uncopyable& RefUncopyableFunction(Uncopyable& obj) { // NOLINT in RefUncopyableFunction()4484 Uncopyable obj(0); in TEST()4485 Uncopyable obj2(0); in TEST()4486 Matcher<Uncopyable&> matcher2 = in TEST()[all …]