Home | History | Annotate | Download | only in Sema

Lines Matching defs:Assignment

4075     // default argument is classified as a default constructor, and assignment
4168 // A copy assignment operator can take its argument by value, but a
4475 // For an assignment operator, data members must not be of reference type.
4569 // assignment operator.
4577 // For an anonymous struct or union, the copy and assignment special members
4585 // If the class definition declares a move constructor or move assignment
4586 // operator, an implicitly declared copy constructor or copy assignment
4798 // If we have a dynamic class, then the copy assignment operator may be
4809 // Likewise for the move assignment operator.
7269 /// implicitly-declared copy/move assignment operator. When the entities being
7313 // Filter out any result that isn't a copy/move-assignment operator.
7327 // assignment operators we found. This strange dance is required when
7328 // we're assigning via a base classes's copy-assignment operator. To
7333 // this means that if the base class has a protected copy assignment
7366 // Build the call to the assignment operator.
7377 // - if the subobject is of scalar type, the built-in assignment
7381 ExprResult Assignment = S.CreateBuiltinBinOp(Loc, BO_Assign, To, From);
7382 if (Assignment.isInvalid())
7385 return S.Owned(Assignment.takeAs<Stmt>());
7464 /// Determine whether an implicit copy assignment operator for ClassDecl has a
7474 // assignment operator, one is declared implicitly.
7475 // The implicitly-defined copy assignment operator for a class X
7481 // -- each direct base class B of X has a copy assignment operator
7514 // assignment operator whose parameter is of type const M&,
7526 // Otherwise, the implicitly declared copy assignment operator will
7543 assert(T->getNumArgs() == 1 && "not a copy assignment op");
7550 // It is unspecified whether or not an implicit copy assignment operator
7551 // attempts to deduplicate calls to assignment operators of virtual bases are
7608 // An implicitly-declared copy assignment operator is an inline public
7638 // Note that we have added this copy-assignment operator.
7647 // assignment operator, there is no user-declared move constructor, and
7648 // there is no user-declared move assignment operator, a copy assignment
7679 // The implicitly-defined or explicitly-defaulted copy assignment operator
7680 // for a non-union class X performs memberwise copy assignment of its
7716 // Form the assignment:
7825 // of scalars and arrays of class type with trivial copy-assignment
7978 // It is unspecified whether or not an implicit move assignment operator
7979 // attempts to deduplicate calls to assignment operators of virtual bases are
8027 /// classes which have a non-trivial move assignment operator.
8036 // Try to declare the move assignment. If it would be deleted, then the
8037 // class does not have a non-trivial move assignment.
8041 // If the class has both a trivial move assignment and a non-trivial move
8042 // assignment, hasTrivialMoveAssignment() is false.
8113 // assignment operator, one will be implicitly declared as defaulted
8120 // - the move assignment operator would not be implicitly defined as
8125 // move assignment operator, and
8127 // has a type that either has a move assignment operator or is trivially
8142 // An implicitly-declared move assignment operator is an inline public
8173 // Note that we have added this copy-assignment operator.
8178 // assignment operator, one will be implicitly declared as defaulted if and
8181 // - the move assignment operator would not be implicitly defined as
8220 // The implicitly-defined or move assignment operator for a non-union class
8221 // X performs memberwise move assignment of its subobjects. The direct base
8235 "Bad argument type of defaulted move assignment");
8256 // Form the assignment:
8364 "members, which aren't allowed for move assignment.");
8368 // of scalars and arrays of class type with trivial move-assignment
8693 // user-declared move assignment operator, a copy constructor is implicitly
8811 // - the move assignment operator would not be implicitly defined as