Home
last modified time | relevance | path

Searched refs:CopyAssign (Results 1 – 5 of 5) 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.cpp55 struct CopyAssign { struct
64 CopyAssign(int v) : value(v) { ++alive; } in CopyAssign() argument
65 CopyAssign(const CopyAssign &o) : value(o.value) { in CopyAssign() argument
69 CopyAssign(CopyAssign &&o) : value(o.value) { in CopyAssign() argument
74 CopyAssign &operator=(const CopyAssign &o) { in operator =() argument
79 CopyAssign &operator=(CopyAssign &&o) { in operator =() argument
85 ~CopyAssign() { --alive; } in ~CopyAssign() argument
89 int CopyAssign::alive = 0; argument
90 int CopyAssign::copy_construct = 0;
91 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/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()