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];
114 struct Uncopyable { struct115 Uncopyable() {} in Uncopyable() argument117 Uncopyable(const Uncopyable&); // expected-note {{declared private here}}120 void f(const Uncopyable&) {} in f() argument122 f(Uncopyable()); // expected-warning {{C++98 requires an accessible copy constructor}} in test()
3956 class Uncopyable { class3958 explicit Uncopyable(int value) : value_(value) {} in Uncopyable() function in __anon5191551a0111::Uncopyable3961 bool operator==(const Uncopyable& rhs) const { in operator ==()3967 Uncopyable(const Uncopyable&); // NOLINT3972 ::std::ostream& operator<<(::std::ostream& os, const Uncopyable& value) { in operator <<()3977 bool IsPositiveUncopyable(const Uncopyable& x) { in IsPositiveUncopyable()3983 Uncopyable y(-1); in TestAssertNonPositive()3988 Uncopyable x(5); in TestAssertEqualsUncopyable()3989 Uncopyable y(-1); in TestAssertEqualsUncopyable()3995 Uncopyable x(5); in TEST()[all …]
3590 class Uncopyable { class3592 explicit Uncopyable(int a_value) : value_(a_value) {} in Uncopyable() function in __anon9c8c3c210111::Uncopyable3595 bool operator==(const Uncopyable& rhs) const { in operator ==()3601 Uncopyable(const Uncopyable&); // NOLINT3606 ::std::ostream& operator<<(::std::ostream& os, const Uncopyable& value) { in operator <<()3611 bool IsPositiveUncopyable(const Uncopyable& x) { in IsPositiveUncopyable()3617 Uncopyable y(-1); in TestAssertNonPositive()3622 Uncopyable x(5); in TestAssertEqualsUncopyable()3623 Uncopyable y(-1); in TestAssertEqualsUncopyable()3629 Uncopyable x(5); in TEST()[all …]
3752 class Uncopyable { class3754 explicit Uncopyable(int a_value) : value_(a_value) {} in Uncopyable() function in __anon0647b4fa0111::Uncopyable3757 bool operator==(const Uncopyable& rhs) const { in operator ==()3763 Uncopyable(const Uncopyable&); // NOLINT3768 ::std::ostream& operator<<(::std::ostream& os, const Uncopyable& value) { in operator <<()3773 bool IsPositiveUncopyable(const Uncopyable& x) { in IsPositiveUncopyable()3779 Uncopyable y(-1); in TestAssertNonPositive()3784 Uncopyable x(5); in TestAssertEqualsUncopyable()3785 Uncopyable y(-1); in TestAssertEqualsUncopyable()3791 Uncopyable x(5); in TEST()[all …]
3752 class Uncopyable { class3754 explicit Uncopyable(int a_value) : value_(a_value) {} in Uncopyable() function in __anone135255a0111::Uncopyable3757 bool operator==(const Uncopyable& rhs) const { in operator ==()3763 Uncopyable(const Uncopyable&); // NOLINT3768 ::std::ostream& operator<<(::std::ostream& os, const Uncopyable& value) { in operator <<()3773 bool IsPositiveUncopyable(const Uncopyable& x) { in IsPositiveUncopyable()3779 Uncopyable y(-1); in TestAssertNonPositive()3784 Uncopyable x(5); in TestAssertEqualsUncopyable()3785 Uncopyable y(-1); in TestAssertEqualsUncopyable()3791 Uncopyable x(5); in TEST()[all …]
2797 class Uncopyable { class2799 explicit Uncopyable(int a_value) : value_(a_value) {} in Uncopyable() function in testing::gmock_matchers_test::Uncopyable2804 GTEST_DISALLOW_COPY_AND_ASSIGN_(Uncopyable);2808 bool ValueIsPositive(const Uncopyable& x) { return x.value() > 0; } in ValueIsPositive()2818 Uncopyable z; // An uncopyable field.3278 Uncopyable& RefUncopyableFunction(Uncopyable& obj) { // NOLINT in RefUncopyableFunction()3291 Uncopyable obj(0); in TEST()3292 Uncopyable obj2(0); in TEST()3293 Matcher<Uncopyable&> matcher2 = in TEST()