Lines Matching refs:CopyAssignOperator
10275 CXXMethodDecl *CopyAssignOperator) { in DefineImplicitCopyAssignment() argument
10276 assert((CopyAssignOperator->isDefaulted() && in DefineImplicitCopyAssignment()
10277 CopyAssignOperator->isOverloadedOperator() && in DefineImplicitCopyAssignment()
10278 CopyAssignOperator->getOverloadedOperator() == OO_Equal && in DefineImplicitCopyAssignment()
10279 !CopyAssignOperator->doesThisDeclarationHaveABody() && in DefineImplicitCopyAssignment()
10280 !CopyAssignOperator->isDeleted()) && in DefineImplicitCopyAssignment()
10283 CXXRecordDecl *ClassDecl = CopyAssignOperator->getParent(); in DefineImplicitCopyAssignment()
10285 if (ClassDecl->isInvalidDecl() || CopyAssignOperator->isInvalidDecl()) { in DefineImplicitCopyAssignment()
10286 CopyAssignOperator->setInvalidDecl(); in DefineImplicitCopyAssignment()
10294 if (getLangOpts().CPlusPlus11 && CopyAssignOperator->isImplicit()) in DefineImplicitCopyAssignment()
10295 diagnoseDeprecatedCopyOperation(*this, CopyAssignOperator, CurrentLocation); in DefineImplicitCopyAssignment()
10297 CopyAssignOperator->markUsed(Context); in DefineImplicitCopyAssignment()
10299 SynthesizedFunctionScope Scope(*this, CopyAssignOperator); in DefineImplicitCopyAssignment()
10314 ParmVarDecl *Other = CopyAssignOperator->getParamDecl(0); in DefineImplicitCopyAssignment()
10324 SourceLocation Loc = CopyAssignOperator->getLocEnd().isValid() in DefineImplicitCopyAssignment()
10325 ? CopyAssignOperator->getLocEnd() in DefineImplicitCopyAssignment()
10326 : CopyAssignOperator->getLocation(); in DefineImplicitCopyAssignment()
10357 BaseType, CopyAssignOperator->getTypeQualifiers()), in DefineImplicitCopyAssignment()
10368 CopyAssignOperator->setInvalidDecl(); in DefineImplicitCopyAssignment()
10441 CopyAssignOperator->setInvalidDecl(); in DefineImplicitCopyAssignment()
10470 CopyAssignOperator->getType()->castAs<FunctionProtoType>()); in DefineImplicitCopyAssignment()
10473 CopyAssignOperator->setInvalidDecl(); in DefineImplicitCopyAssignment()
10484 CopyAssignOperator->setBody(Body.getAs<Stmt>()); in DefineImplicitCopyAssignment()
10487 L->CompletedImplicitDefinition(CopyAssignOperator); in DefineImplicitCopyAssignment()