| /llvm-project-15.0.7/clang-tools-extra/clang-tidy/readability/ |
| H A D | RedundantMemberInitCheck.cpp | 50 const auto *ConstructorDecl = in check() local 53 if (IgnoreBaseInCopyConstructors && ConstructorDecl->isCopyConstructor() && in check()
|
| /llvm-project-15.0.7/clang-tools-extra/clang-tidy/performance/ |
| H A D | MoveConstArgCheck.cpp | 81 if (const auto *ConstructorDecl = ConstructCallExpr->getConstructor()) { in IsRValueReferenceParam() local 82 if (!ConstructorDecl->isCopyOrMoveConstructor() && in IsRValueReferenceParam() 83 !ConstructorDecl->isDefaultConstructor()) in IsRValueReferenceParam()
|
| /llvm-project-15.0.7/clang/lib/StaticAnalyzer/Checkers/ |
| H A D | MoveChecker.cpp | 451 const auto *ConstructorDecl = dyn_cast<CXXConstructorDecl>(MethodDecl); in checkPostCall() local 452 if (ConstructorDecl && !ConstructorDecl->isMoveConstructor()) in checkPostCall() 455 if (!ConstructorDecl && !MethodDecl->isMoveAssignmentOperator()) in checkPostCall()
|
| /llvm-project-15.0.7/clang/lib/Analysis/FlowSensitive/ |
| H A D | Transfer.cpp | 401 const CXXConstructorDecl *ConstructorDecl = S->getConstructor(); in VisitCXXConstructExpr() local 402 assert(ConstructorDecl != nullptr); in VisitCXXConstructExpr() 404 if (ConstructorDecl->isCopyOrMoveConstructor()) { in VisitCXXConstructExpr()
|
| /llvm-project-15.0.7/clang/lib/CodeGen/ |
| H A D | CGClass.cpp | 1083 ConstructorDecl(CD), in ConstructorMemcpyizer() 1095 EmitMemberInitializer(CGF, ConstructorDecl->getParent(), MemberInit, in addMemberInitializer() 1096 ConstructorDecl, Args); in addMemberInitializer() 1106 EmitMemberInitializer(CGF, ConstructorDecl->getParent(), in emitAggregatedInits() 1107 AggregatedInits[0], ConstructorDecl, Args); in emitAggregatedInits() 1141 const CXXConstructorDecl *ConstructorDecl; member in __anon858dc5ae0311::ConstructorMemcpyizer
|
| /llvm-project-15.0.7/clang/lib/Parse/ |
| H A D | ParseDeclCXX.cpp | 3596 void Parser::ParseConstructorInitializer(Decl *ConstructorDecl) { in ParseConstructorInitializer() argument 3611 Actions.CodeCompleteConstructorInitializer(ConstructorDecl, in ParseConstructorInitializer() 3616 MemInitResult MemInit = ParseMemInitializer(ConstructorDecl); in ParseConstructorInitializer() 3643 Actions.ActOnMemInitializers(ConstructorDecl, ColonLoc, MemInitializers, in ParseConstructorInitializer() 3659 MemInitResult Parser::ParseMemInitializer(Decl *ConstructorDecl) { in ParseMemInitializer() argument 3715 return Actions.ActOnMemInitializer(ConstructorDecl, getCurScope(), SS, II, in ParseMemInitializer() 3729 ConstructorDecl, SS, TemplateTypeTy.get(), ArgExprs, II, in ParseMemInitializer() 3753 ConstructorDecl, getCurScope(), SS, II, TemplateTypeTy.get(), DS, IdLoc, in ParseMemInitializer()
|
| /llvm-project-15.0.7/clang/include/clang/Parse/ |
| H A D | Parser.h | 3115 void ParseConstructorInitializer(Decl *ConstructorDecl); 3116 MemInitResult ParseMemInitializer(Decl *ConstructorDecl);
|
| /llvm-project-15.0.7/clang/lib/Sema/ |
| H A D | SemaDeclCXX.cpp | 5543 void Sema::ActOnMemInitializers(Decl *ConstructorDecl, in ActOnMemInitializers() argument 5547 if (!ConstructorDecl) in ActOnMemInitializers() 5550 AdjustDeclIfTemplate(ConstructorDecl); in ActOnMemInitializers() 5553 = dyn_cast<CXXConstructorDecl>(ConstructorDecl); in ActOnMemInitializers()
|
| H A D | SemaCodeComplete.cpp | 6289 Decl *ConstructorDecl, CXXScopeSpec SS, ParsedType TemplateTypeTy, in ProduceCtorInitMemberSignatureHelp() argument 6296 dyn_cast<CXXConstructorDecl>(ConstructorDecl); in ProduceCtorInitMemberSignatureHelp()
|
| /llvm-project-15.0.7/clang/include/clang/Sema/ |
| H A D | Sema.h | 7422 void ActOnMemInitializers(Decl *ConstructorDecl, 12920 Decl *ConstructorDecl, CXXScopeSpec SS, ParsedType TemplateTypeTy,
|