Home
last modified time | relevance | path

Searched refs:CopyAssign (Results 1 – 9 of 9) sorted by relevance

/external/clang/test/CXX/special/class.copy/
Dp23-cxx11.cpp5 template<typename T> struct CopyAssign { struct
66 template struct CopyAssign<A1>; // expected-note {{here}} variable
86 template struct CopyAssign<B1>; // expected-note {{here}} variable
88 template struct CopyAssign<B2>; // expected-note {{here}} variable
90 template struct CopyAssign<B3>; variable
97 template struct CopyAssign<C1>; // expected-note {{here}} variable
128 template struct CopyAssign<D1>; // expected-note {{here}} variable
131 template struct CopyAssign<D3>; // expected-note {{here}} variable
134 template struct CopyAssign<D5>; // expected-note {{here}} variable
137 template struct CopyAssign<D7>; // expected-note {{here}} variable
[all …]
/external/libcxx/test/std/utilities/variant/variant.variant/variant.assign/
Dcopy.pass.cpp62 struct CopyAssign { struct
71 CopyAssign(int v) : value(v) { ++alive; } in CopyAssign() argument
72 CopyAssign(const CopyAssign &o) : value(o.value) { in CopyAssign() argument
76 CopyAssign(CopyAssign &&o) noexcept : value(o.value) { in CopyAssign() argument
81 CopyAssign &operator=(const CopyAssign &o) { in operator =() argument
86 CopyAssign &operator=(CopyAssign &&o) noexcept { in operator =() argument
92 ~CopyAssign() { --alive; } in ~CopyAssign() argument
96 int CopyAssign::alive = 0; argument
97 int CopyAssign::copy_construct = 0;
98 int CopyAssign::copy_assign = 0;
[all …]
/external/clang/test/CXX/class/class.union/
Dp1.cpp30 class CopyAssign { // expected-note 2 {{because no assignment operator can be used to copy an objec… class
31 CopyAssign& operator=(CopyAssign& CA) { abort(); } in operator =()
45CopyAssign copyassign; // expected-error {{union member 'copyassign' has a non-trivial copy assign…
67 CopyAssign copyassign;
88 …struct s5 : CopyAssign { // expected-note {{because no assignment operator can be used to copy an …
130 Either<int,CopyAssign> copyassign(0); // expected-note {{in instantiation of template}} in fred()
/external/perfetto/include/perfetto/base/
Doptional.h224 CopyAssign(other);
236 void CopyAssign(const OptionalBase<U>& other) {
547 CopyAssign(other);
676 using internal::OptionalBase<T>::CopyAssign;
/external/libchrome/base/
Doptional.h245 CopyAssign(other);
257 void CopyAssign(const OptionalBase<U>& other) {
562 CopyAssign(other);
697 using internal::OptionalBase<T>::CopyAssign;
/external/perfetto/src/profiling/memory/
Dinterner_unittest.cc98 TEST(InternerStringTest, CopyAssign) { in TEST() argument
/external/pdfium/core/fxcrt/
Dobservable_unittest.cpp64 TEST(ObservePtr, CopyAssign) { in TEST() argument
/external/protobuf/src/google/protobuf/
Drepeated_field_unittest.cc361 TEST(RepeatedField, CopyAssign) { in TEST() argument
881 TEST(RepeatedPtrField, CopyAssign) { in TEST() argument
/external/clang/lib/Sema/
DSemaDeclCXX.cpp10121 if (CXXMethodDecl *CopyAssign = LookupCopyingAssignment(BaseClassDecl, in ComputeDefaultedCopyAssignmentExceptionSpec() local
10123 ExceptSpec.CalledDecl(Base.getLocStart(), CopyAssign); in ComputeDefaultedCopyAssignmentExceptionSpec()
10129 if (CXXMethodDecl *CopyAssign = LookupCopyingAssignment(BaseClassDecl, in ComputeDefaultedCopyAssignmentExceptionSpec() local
10131 ExceptSpec.CalledDecl(Base.getLocStart(), CopyAssign); in ComputeDefaultedCopyAssignmentExceptionSpec()
10137 if (CXXMethodDecl *CopyAssign = in ComputeDefaultedCopyAssignmentExceptionSpec() local
10141 ExceptSpec.CalledDecl(Field->getLocation(), CopyAssign); in ComputeDefaultedCopyAssignmentExceptionSpec()