Home
last modified time | relevance | path

Searched refs:CopyAssignOperator (Results 1 – 2 of 2) sorted by relevance

/external/clang/lib/Sema/
DSemaDeclCXX.cpp10275 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()
[all …]
/external/llvm-project/clang/lib/Sema/
DSemaDeclCXX.cpp13998 CXXMethodDecl *CopyAssignOperator) { in DefineImplicitCopyAssignment() argument
13999 assert((CopyAssignOperator->isDefaulted() && in DefineImplicitCopyAssignment()
14000 CopyAssignOperator->isOverloadedOperator() && in DefineImplicitCopyAssignment()
14001 CopyAssignOperator->getOverloadedOperator() == OO_Equal && in DefineImplicitCopyAssignment()
14002 !CopyAssignOperator->doesThisDeclarationHaveABody() && in DefineImplicitCopyAssignment()
14003 !CopyAssignOperator->isDeleted()) && in DefineImplicitCopyAssignment()
14005 if (CopyAssignOperator->willHaveBody() || CopyAssignOperator->isInvalidDecl()) in DefineImplicitCopyAssignment()
14008 CXXRecordDecl *ClassDecl = CopyAssignOperator->getParent(); in DefineImplicitCopyAssignment()
14010 CopyAssignOperator->setInvalidDecl(); in DefineImplicitCopyAssignment()
14014 SynthesizedFunctionScope Scope(*this, CopyAssignOperator); in DefineImplicitCopyAssignment()
[all …]