Home
last modified time | relevance | path

Searched refs:NotCopyable (Results 1 – 5 of 5) sorted by relevance

/external/llvm-project/clang-tools-extra/test/clang-tidy/checkers/
Dreadability-deleted-default.cpp49 class NotCopyable { class
51 NotCopyable(NotCopyable &&Other) = default;
52 NotCopyable(const NotCopyable &Other) = default;
54 NotCopyable &operator=(NotCopyable &&Other) = default;
55 NotCopyable &operator=(const NotCopyable &Other) = default;
/external/tensorflow/tensorflow/core/lib/gtl/
Dint_type_test.cc271 struct NotCopyable { in TYPED_TEST() struct
275 static NotCopyable Make(int i) { in TYPED_TEST() argument
276 NotCopyable f; in TYPED_TEST()
284 NotCopyable foo = NotCopyable::Make(123); in TYPED_TEST()
289 foo = NotCopyable::Make(321); in TYPED_TEST()
/external/libcxx/test/std/utilities/variant/variant.variant/variant.swap/
Dswap.pass.cpp39 struct NotCopyable { struct
40 NotCopyable() = default;
41 NotCopyable(const NotCopyable &) = delete;
42 NotCopyable &operator=(const NotCopyable &) = delete;
504 using V = std::variant<int, NotCopyable>; in test_swap_sfinae()
/external/llvm-project/libcxx/test/std/utilities/variant/variant.variant/variant.swap/
Dswap.pass.cpp36 struct NotCopyable { struct
37 NotCopyable() = default;
38 NotCopyable(const NotCopyable &) = delete;
39 NotCopyable &operator=(const NotCopyable &) = delete;
501 using V = std::variant<int, NotCopyable>; in test_swap_sfinae()
/external/googletest/googlemock/test/
Dgmock-matchers_test.cc4835 class NotCopyable { in TEST() class
4837 explicit NotCopyable(int a_value) : value_(a_value) {} in TEST() function in testing::gmock_matchers_test::__anond473036a0111::NotCopyable
4841 bool operator==(const NotCopyable& rhs) const { in TEST()
4845 bool operator>=(const NotCopyable& rhs) const { in TEST()
4851 GTEST_DISALLOW_COPY_AND_ASSIGN_(NotCopyable); in TEST()
4855 const NotCopyable const_value1(1); in TEST()
4856 const Matcher<const NotCopyable&> m = Eq(ByRef(const_value1)); in TEST()
4858 const NotCopyable n1(1), n2(2); in TEST()
4864 NotCopyable value2(2); in TEST()
4865 const Matcher<NotCopyable&> m = Ge(ByRef(value2)); in TEST()
[all …]