| /llvm-project-15.0.7/clang-tools-extra/clang-tidy/google/ |
| H A D | ExplicitConstructorCheck.cpp | 109 (Ctor->isCopyOrMoveConstructor() || TakesInitializerList)) { in check() 135 if (Ctor->isExplicit() || Ctor->isCopyOrMoveConstructor() || in check()
|
| /llvm-project-15.0.7/clang-tools-extra/clang-tidy/bugprone/ |
| H A D | ForwardingReferenceOverloadCheck.cpp | 123 if (OtherCtor->isCopyOrMoveConstructor()) { in check() 139 if (OtherCtor->isCopyOrMoveConstructor() && !OtherCtor->isDeleted() && in check()
|
| H A D | EasilySwappableParametersCheck.cpp | 1260 if (Con->isCopyOrMoveConstructor() || in tryConvertingConstructors()
|
| /llvm-project-15.0.7/clang-tools-extra/clang-tidy/misc/ |
| H A D | ThrowByValueCatchByReferenceCheck.cpp | 113 ConstructorCall->getConstructor()->isCopyOrMoveConstructor()) { in diagnoseThrowLocations()
|
| /llvm-project-15.0.7/clang-tools-extra/clang-tidy/performance/ |
| H A D | MoveConstArgCheck.cpp | 82 if (!ConstructorDecl->isCopyOrMoveConstructor() && in IsRValueReferenceParam()
|
| /llvm-project-15.0.7/clang-tools-extra/clangd/refactor/tweaks/ |
| H A D | MemberwiseConstructor.cpp | 68 if (!CCD->isDefaultConstructor() && !CCD->isCopyOrMoveConstructor()) { in prepare()
|
| /llvm-project-15.0.7/clang/lib/StaticAnalyzer/Checkers/ |
| H A D | MoveChecker.cpp | 533 if (DtorDec || (CtorDec && CtorDec->isCopyOrMoveConstructor()) || in isInMoveSafeContext() 608 if (CtorDec && CtorDec->isCopyOrMoveConstructor()) { in checkPreCall()
|
| /llvm-project-15.0.7/clang-tools-extra/clang-tidy/modernize/ |
| H A D | UseDefaultMemberInitCheck.cpp | 252 return !Ctor->isCopyOrMoveConstructor(); in checkDefaultInit()
|
| H A D | MakeSmartPtrCheck.cpp | 415 return Ctor->isCopyOrMoveConstructor() && in replaceNew()
|
| /llvm-project-15.0.7/clang/lib/StaticAnalyzer/Core/ |
| H A D | ExprEngineCXX.cpp | 47 assert(Ctor->getDecl()->isCopyOrMoveConstructor()); in performTrivialCopy() 724 CE->getConstructor()->isCopyOrMoveConstructor() && in handleConstructor()
|
| /llvm-project-15.0.7/clang-tools-extra/clangd/ |
| H A D | InlayHints.cpp | 385 if (Ctor->isCopyOrMoveConstructor()) in processCall()
|
| H A D | AST.cpp | 908 if (Const->getConstructor()->isCopyOrMoveConstructor()) in unwrapForward()
|
| /llvm-project-15.0.7/clang/lib/AST/ |
| H A D | DeclCXX.cpp | 822 if (Constructor->isConstexpr() && !Constructor->isCopyOrMoveConstructor()) in addedMember() 2665 return isCopyOrMoveConstructor(TypeQuals) && in isCopyConstructor() 2670 return isCopyOrMoveConstructor(TypeQuals) && in isMoveConstructor() 2675 bool CXXConstructorDecl::isCopyOrMoveConstructor(unsigned &TypeQuals) const { in isCopyOrMoveConstructor() function in CXXConstructorDecl
|
| H A D | ExprConstant.cpp | 6258 if (Definition->isDefaulted() && Definition->isCopyOrMoveConstructor() && in HandleConstructorCall()
|
| /llvm-project-15.0.7/clang/lib/Analysis/FlowSensitive/ |
| H A D | Transfer.cpp | 404 if (ConstructorDecl->isCopyOrMoveConstructor()) { in VisitCXXConstructExpr()
|
| /llvm-project-15.0.7/clang/lib/CodeGen/ |
| H A D | CGClass.cpp | 599 if (!(CD && CD->isCopyOrMoveConstructor()) && in isMemcpyEquivalentSpecialMember() 663 Constructor->isCopyOrMoveConstructor()) { in EmitMemberInitializer() 1050 if (CD->isCopyOrMoveConstructor() && CD->isDefaulted()) in getTrivialCopySource() 1085 CD->isCopyOrMoveConstructor() && in ConstructorMemcpyizer()
|
| H A D | CGExprConstant.cpp | 1318 assert(E->getConstructor()->isCopyOrMoveConstructor() && in VisitCXXConstructExpr()
|
| /llvm-project-15.0.7/clang/include/clang/AST/ |
| H A D | DeclCXX.h | 2643 bool isCopyOrMoveConstructor(unsigned &TypeQuals) const; 2646 bool isCopyOrMoveConstructor() const { in isCopyOrMoveConstructor() function 2648 return isCopyOrMoveConstructor(Quals); in isCopyOrMoveConstructor()
|
| /llvm-project-15.0.7/clang/lib/Sema/ |
| H A D | Sema.cpp | 1906 if (Ctor->isCopyOrMoveConstructor() && Ctor->isTrivial()) in checkTypeSupport()
|
| H A D | SemaInit.cpp | 7445 if (CCE->getConstructor()->isCopyOrMoveConstructor()) { in visitLocalsRetainedByInitializer() 7901 if (!CCE->getConstructor()->isCopyOrMoveConstructor()) in CheckMoveOnConstruction()
|
| H A D | SemaDeclCXX.cpp | 6700 if (CD && CD->isCopyOrMoveConstructor()) in canPassInRegisters() 10069 if (CD->isCopyOrMoveConstructor() && !CD->isDeleted()) in checkIllFormedTrivialABIStruct() 15469 Constructor->isCopyOrMoveConstructor() && hasOneRealArgument(ExprArgs)) { in BuildCXXConstructExpr()
|
| H A D | SemaOpenMP.cpp | 7881 if ((Ctor->isCopyOrMoveConstructor() || in setLCDeclAndLB() 8176 if ((Ctor->isCopyOrMoveConstructor() || in getInitLCDecl()
|
| H A D | SemaOverload.cpp | 11371 if (cast<CXXConstructorDecl>(Fn)->isCopyOrMoveConstructor()) in NoteFunctionCandidate()
|