| /freebsd/contrib/llvm-project/clang/include/clang/AST/ |
| H A D | PropertiesBase.td | 791 def : Property<"isDefaulted", Bool> { 795 return TemplateArgument(type, /* isNullPtr */ false, isDefaulted); 805 def : Property<"isDefaulted", Bool> { 809 return TemplateArgument(declaration, parameterType, isDefaulted); 816 def : Property<"isDefaulted", Bool> { 820 return TemplateArgument(type, /*nullptr*/ true, isDefaulted); 830 def : Property<"isDefaulted", Bool> { 834 return TemplateArgument(ctx, value, type, isDefaulted); 844 def : Property<"isDefaulted", Bool> { 848 return TemplateArgument(ctx, type, value, isDefaulted); [all …]
|
| H A D | Decl.h | 2294 return isDeletedAsWritten() || isDefaulted() || in isThisDeclarationADefinition() 2364 bool isDefaulted() const { return FunctionDeclBits.IsDefaulted; } in isDefaulted() function 2394 DeclAsWritten->getCanonicalDecl()->isDefaulted()); in isUserProvided() 2524 return FunctionDeclBits.IsDeleted && !isDefaulted(); in isDeletedAsWritten()
|
| H A D | ASTNodeTraverser.h | 562 if (Traversal == TK_IgnoreUnlessSpelledInSource && D->isDefaulted()) in VisitFunctionDecl()
|
| /freebsd/contrib/llvm-project/clang/lib/InstallAPI/ |
| H A D | Visitor.cpp | 517 if (Dtor->isDefaulted()) in emitVTableSymbols() 629 if (Ctor->isDefaulted()) in VisitCXXRecordDecl() 651 if (Dtor->isDefaulted()) in VisitCXXRecordDecl()
|
| /freebsd/contrib/llvm-project/clang/lib/Sema/ |
| H A D | SemaSYCL.cpp | 313 if (FD->isDefaulted()) { in CheckSYCLEntryPointFunctionDecl()
|
| H A D | SemaTypeTraits.cpp | 171 if (Dtr->isUserProvided() && (!Dtr->isDefaulted() || Dtr->isDeleted())) in IsDefaultMovable() 627 if (!Callee->isDefaulted()) in HasNonDeletedDefaultedEqualityComparison() 2081 if (Dtr->isUserProvided() && !Dtr->isDefaulted()) in DiagnoseNonDefaultMovable()
|
| H A D | SemaDeclCXX.cpp | 5127 bool Generated = Ctor->isImplicit() || Ctor->isDefaulted(); in BaseAndFieldInfo() 7065 if (MD->isDefaulted() && MD->isDeleted()) in CheckCompletedCXXClass() 7079 if (MD->isDefaulted() && MD->isDeleted()) in CheckCompletedCXXClass() 7187 M->isDefaulted() && M->isConstexpr() && M->size_overridden_methods() && in CheckCompletedCXXClass() 9221 assert(FD->isDefaulted() && !FD->isDeleted() && in DefineDefaultedComparison() 9967 assert(FD->isDefaulted() && FD->isDeleted() && "not defaulted and deleted"); in DiagnoseDeletedDefaultedFunction() 14184 assert((Constructor->isDefaulted() && Constructor->isDefaultConstructor() && in DefineImplicitDefaultConstructor() 14476 assert((Destructor->isDefaulted() && in DefineImplicitDestructor() 15170 assert((CopyAssignOperator->isDefaulted() && in DefineImplicitCopyAssignment() 15543 if (!SMOR.getMethod()->isDefaulted()) in checkMoveAssignmentForRepeatedMove() [all …]
|
| H A D | Sema.cpp | 736 if (FD && FD->isDefaulted()) { in diagnoseZeroToNullptrConversion() 1092 Complete = M->isDefined() || M->isDefaulted() || in MethodsAndNestedClassesComplete()
|
| H A D | SemaAttr.cpp | 1322 if (FD->isDeleted() || FD->isDefaulted()) in AddImplicitMSFunctionNoBuiltinAttr()
|
| H A D | SemaExprMember.cpp | 1816 if (!Method || !Method->isDefaulted()) in BuildFieldReferenceExpr()
|
| /freebsd/contrib/llvm-project/clang/lib/CIR/CodeGen/ |
| H A D | CIRGenCXXExpr.cpp | 125 if ((md->isTrivial() || (md->isDefaulted() && md->getParent()->isUnion())) && in emitCXXMemberOrOperatorMemberCallExpr()
|
| H A D | CIRGenClass.cpp | 105 if (array && constructor->isDefaulted() && in emitMemberInitializer()
|
| H A D | CIRGenFunction.cpp | 475 } else if (funcDecl->isDefaulted() && isa<CXXMethodDecl>(funcDecl) && in generateCode()
|
| /freebsd/contrib/llvm-project/clang/lib/CodeGen/ |
| H A D | CGClass.cpp | 605 if (D->getParent()->isUnion() && D->isDefaulted()) in isMemcpyEquivalentSpecialMember() 660 if (Array && Constructor->isDefaulted() && in EmitMemberInitializer() 1053 if (CD->isCopyOrMoveConstructor() && CD->isDefaulted()) in getTrivialCopySource() 1087 MemcpyableCtor(CD->isDefaulted() && in ConstructorMemcpyizer()
|
| /freebsd/contrib/llvm-project/clang/lib/ASTMatchers/Dynamic/ |
| H A D | Registry.cpp | 428 REGISTER_MATCHER(isDefaulted); in RegistryMaps()
|
| /freebsd/contrib/llvm-project/clang/lib/AST/ |
| H A D | DeclCXX.cpp | 833 if ((!Constructor->isDeleted() && !Constructor->isDefaulted()) || in addedMember() 851 if (Constructor->isDefaulted()) in addedMember() 950 if ((!Method->isDeleted() && !Method->isDefaulted() && in addedMember()
|
| H A D | ASTStructuralEquivalence.cpp | 1653 Method1->isDefaulted() == Method2->isDefaulted() && in IsStructurallyEquivalent()
|
| H A D | ODRHash.cpp | 746 !Function->isDefaulted() && !Function->isDeleted() && in AddFunctionDecl()
|
| H A D | DeclPrinter.cpp | 531 if (FD->doesThisDeclarationHaveABody() && !FD->isDefaulted()) in VisitDeclContext()
|
| H A D | JSONNodeDumper.cpp | 976 if (FD->isDefaulted()) in VisitFunctionDecl()
|
| /freebsd/contrib/llvm-project/clang/lib/Analysis/ |
| H A D | PathDiagnostic.cpp | 1024 if (MD->isDefaulted()) in getCallEnterWithinCallerEvent()
|
| /freebsd/contrib/llvm-project/clang/include/clang/ASTMatchers/ |
| H A D | ASTMatchers.h | 5489 AST_MATCHER(FunctionDecl, isDefaulted) { in AST_MATCHER() argument 5490 return Node.isDefaulted(); in AST_MATCHER()
|
| H A D | ASTMatchersInternal.h | 880 return FD->isDefaulted();
|
| /freebsd/contrib/llvm-project/clang/lib/ASTMatchers/ |
| H A D | ASTMatchFinder.cpp | 1482 if (FD->isDefaulted()) in TraverseDecl()
|
| /freebsd/contrib/llvm-project/clang/lib/Serialization/ |
| H A D | ASTWriterDecl.cpp | 884 FunctionDeclBits.addBit(D->isDefaulted()); in VisitFunctionDecl() 904 if (D->isDefaulted() || D->isDeletedAsWritten()) { in VisitFunctionDecl()
|