Searched refs:Uncopyable (Results 1 – 8 of 8) 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() argument122 Uncopyable(const Uncopyable&); // expected-note {{declared private here}}125 void f(const Uncopyable&) {} in f() argument127 f(Uncopyable()); 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()
3894 class Uncopyable { class3896 explicit Uncopyable(int a_value) : value_(a_value) {} in Uncopyable() function in __anon24dc7c190111::Uncopyable3899 bool operator==(const Uncopyable& rhs) const { in operator ==()3905 Uncopyable(const Uncopyable&); // NOLINT3910 ::std::ostream& operator<<(::std::ostream& os, const Uncopyable& value) { in operator <<()3915 bool IsPositiveUncopyable(const Uncopyable& x) { in IsPositiveUncopyable()3921 Uncopyable y(-1); in TestAssertNonPositive()3926 Uncopyable x(5); in TestAssertEqualsUncopyable()3927 Uncopyable y(-1); in TestAssertEqualsUncopyable()3933 Uncopyable x(5); in TEST()[all …]
3860 class Uncopyable { class3862 explicit Uncopyable(int a_value) : value_(a_value) {} in Uncopyable() function in __anoncf5bdef60111::Uncopyable3865 bool operator==(const Uncopyable& rhs) const { in operator ==()3871 Uncopyable(const Uncopyable&); // NOLINT3876 ::std::ostream& operator<<(::std::ostream& os, const Uncopyable& value) { in operator <<()3881 bool IsPositiveUncopyable(const Uncopyable& x) { in IsPositiveUncopyable()3887 Uncopyable y(-1); in TestAssertNonPositive()3892 Uncopyable x(5); in TestAssertEqualsUncopyable()3893 Uncopyable y(-1); in TestAssertEqualsUncopyable()3899 Uncopyable x(5); in TEST()[all …]
4001 class Uncopyable { in TEST() class4003 Uncopyable() : value_(-1) {} in TEST() function in testing::gmock_matchers_test::__anon01910f110111::Uncopyable4004 explicit Uncopyable(int a_value) : value_(a_value) {} in TEST() function in testing::gmock_matchers_test::__anon01910f110111::Uncopyable4011 GTEST_DISALLOW_COPY_AND_ASSIGN_(Uncopyable); in TEST()4015 bool ValueIsPositive(const Uncopyable& x) { return x.value() > 0; } in TEST()4029 Uncopyable z; // An uncopyable field. in TEST()4616 Uncopyable& RefUncopyableFunction(Uncopyable& obj) { // NOLINT in TEST()4629 Uncopyable obj(0); in TEST()4630 Uncopyable obj2(0); in TEST()4631 Matcher<Uncopyable&> matcher2 = in TEST()[all …]