Home
last modified time | relevance | path

Searched refs:ConstructorDecl (Results 1 – 10 of 10) sorted by relevance

/llvm-project-15.0.7/clang-tools-extra/clang-tidy/readability/
H A DRedundantMemberInitCheck.cpp50 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 DMoveConstArgCheck.cpp81 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 DMoveChecker.cpp451 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 DTransfer.cpp401 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 DCGClass.cpp1083 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 DParseDeclCXX.cpp3596 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 DParser.h3115 void ParseConstructorInitializer(Decl *ConstructorDecl);
3116 MemInitResult ParseMemInitializer(Decl *ConstructorDecl);
/llvm-project-15.0.7/clang/lib/Sema/
H A DSemaDeclCXX.cpp5543 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 DSemaCodeComplete.cpp6289 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 DSema.h7422 void ActOnMemInitializers(Decl *ConstructorDecl,
12920 Decl *ConstructorDecl, CXXScopeSpec SS, ParsedType TemplateTypeTy,