Home
last modified time | relevance | path

Searched refs:CXXConstructorDecl (Results 1 – 25 of 70) sorted by relevance

123

/trueos/contrib/llvm/tools/clang/lib/AST/
HDDeclCXX.cpp478 if (CXXConstructorDecl *Constructor = dyn_cast<CXXConstructorDecl>(D)) { in addedMember()
918 if (CXXConstructorDecl *Constructor = dyn_cast<CXXConstructorDecl>(D)) { in finishedDefaultedOrDeletedMember()
1514 if (isa<CXXConstructorDecl>(this)) return 0; in begin_overridden_methods()
1519 if (isa<CXXConstructorDecl>(this)) return 0; in end_overridden_methods()
1524 if (isa<CXXConstructorDecl>(this)) return 0; in size_overridden_methods()
1676 void CXXConstructorDecl::anchor() { } in anchor()
1678 CXXConstructorDecl *
1679 CXXConstructorDecl::CreateDeserialized(ASTContext &C, unsigned ID) { in CreateDeserialized()
1680 void *Mem = AllocateDeserializedDecl(C, ID, sizeof(CXXConstructorDecl)); in CreateDeserialized()
1681 return new (Mem) CXXConstructorDecl(0, SourceLocation(),DeclarationNameInfo(), in CreateDeserialized()
[all …]
HDMangle.cpp193 void MangleContext::mangleCtorBlock(const CXXConstructorDecl *CD, in mangleCtorBlock()
215 assert(!isa<CXXConstructorDecl>(DC) && !isa<CXXDestructorDecl>(DC)); in mangleBlock()
/trueos/contrib/llvm/tools/clang/include/clang/AST/
HDGlobalDecl.h32 assert(!isa<CXXConstructorDecl>(D) && "Use other ctor with ctor decls!"); in Init()
47 GlobalDecl(const CXXConstructorDecl *D, CXXCtorType Type) in GlobalDecl()
63 assert(isa<CXXConstructorDecl>(getDecl()) && "Decl is not a ctor!"); in getCtorType()
HDMangle.h28 class CXXConstructorDecl; variable
127 virtual void mangleCXXCtor(const CXXConstructorDecl *D, CXXCtorType Type,
135 void mangleCtorBlock(const CXXConstructorDecl *CD, CXXCtorType CT,
HDDeclCXX.h35 class CXXConstructorDecl; variable
746 typedef specific_decl_iterator<CXXConstructorDecl> ctor_iterator;
2068 class CXXConstructorDecl : public CXXMethodDecl {
2081 CXXConstructorDecl(CXXRecordDecl *RD, SourceLocation StartLoc, in CXXConstructorDecl() function
2094 static CXXConstructorDecl *CreateDeserialized(ASTContext &C, unsigned ID);
2095 static CXXConstructorDecl *Create(ASTContext &C, CXXRecordDecl *RD,
2109 return cast<CXXConstructorDecl>(getFirstDecl())->isExplicitSpecified(); in isExplicit()
2171 CXXConstructorDecl *getTargetConstructor() const;
2238 const CXXConstructorDecl *getInheritedConstructor() const;
2241 void setInheritedConstructor(const CXXConstructorDecl *BaseCtor);
[all …]
/trueos/contrib/llvm/tools/clang/lib/StaticAnalyzer/Checkers/
HDUndefinedArraySubscriptChecker.cpp45 if (const CXXConstructorDecl *Ctor = dyn_cast<CXXConstructorDecl>(D)) in checkPreStmt()
/trueos/contrib/llvm/tools/clang/lib/Sema/
HDSemaDeclCXX.cpp576 if (isa<CXXConstructorDecl>(New) && in MergeCXXFunctionDecl()
725 isa<CXXConstructorDecl>(FD))) in CheckConstexprParameterTypes()
761 << isa<CXXConstructorDecl>(NewFD) in CheckConstexprFunctionDecl()
771 if (!isa<CXXConstructorDecl>(NewFD)) { in CheckConstexprFunctionDecl()
840 << isa<CXXConstructorDecl>(Dcl); in CheckConstexprDeclStmt()
854 << isa<CXXConstructorDecl>(Dcl); in CheckConstexprDeclStmt()
873 << isa<CXXConstructorDecl>(Dcl) in CheckConstexprDeclStmt()
881 isa<CXXConstructorDecl>(Dcl))) in CheckConstexprDeclStmt()
886 << isa<CXXConstructorDecl>(Dcl); in CheckConstexprDeclStmt()
894 << isa<CXXConstructorDecl>(Dcl); in CheckConstexprDeclStmt()
[all …]
HDSemaInit.cpp2826 ::AddConstructorInitializationStep(CXXConstructorDecl *Constructor, in AddConstructorInitializationStep()
3029 CXXConstructorDecl *Constructor = 0; in ResolveConstructorOverload()
3032 Constructor = cast<CXXConstructorDecl>( in ResolveConstructorOverload()
3035 Constructor = cast<CXXConstructorDecl>(D); in ResolveConstructorOverload()
3181 !cast<CXXConstructorDecl>(Best->Function)->isUserProvided()) { in TryConstructorInitialization()
3189 CXXConstructorDecl *CtorDecl = cast<CXXConstructorDecl>(Best->Function); in TryConstructorInitialization()
3463 CXXConstructorDecl *Constructor = 0; in TryRefInitWithConversionFunction()
3466 Constructor = cast<CXXConstructorDecl>( in TryRefInitWithConversionFunction()
3469 Constructor = cast<CXXConstructorDecl>(D); in TryRefInitWithConversionFunction()
3962 CXXConstructorDecl *CD = S.LookupDefaultConstructor(ClassDecl); in TryValueInitialization()
[all …]
HDSemaTemplateInstantiateDecl.cpp1559 if (CXXConstructorDecl *Constructor = dyn_cast<CXXConstructorDecl>(D)) { in VisitCXXMethodDecl()
1560 Method = CXXConstructorDecl::Create(SemaRef.Context, Record, in VisitCXXMethodDecl()
1568 if (CXXConstructorDecl *Inh = const_cast<CXXConstructorDecl *>( in VisitCXXMethodDecl()
1588 Inh = cast_or_null<CXXConstructorDecl>( in VisitCXXMethodDecl()
1593 cast<CXXConstructorDecl>(Method)->setInheritedConstructor(Inh); in VisitCXXMethodDecl()
1745 Decl *TemplateDeclInstantiator::VisitCXXConstructorDecl(CXXConstructorDecl *D) { in VisitCXXConstructorDecl()
3399 if (const CXXConstructorDecl *Ctor = in InstantiateFunctionDefinition()
3400 dyn_cast<CXXConstructorDecl>(PatternDecl)) { in InstantiateFunctionDefinition()
3401 InstantiateMemInitializers(cast<CXXConstructorDecl>(Function), Ctor, in InstantiateFunctionDefinition()
3946 Sema::InstantiateMemInitializers(CXXConstructorDecl *New, in InstantiateMemInitializers()
[all …]
HDSemaAccess.cpp1081 if (isa<CXXConstructorDecl>(D) || isa<CXXDestructorDecl>(D) || in TryDiagnoseProtectedAccess()
1083 isa<CXXConstructorDecl>( in TryDiagnoseProtectedAccess()
1623 CXXConstructorDecl *Constructor, in CheckConstructorAccess()
1666 CXXConstructorDecl *Constructor, in CheckConstructorAccess()
1681 ObjectClass = cast<CXXConstructorDecl>(CurContext)->getParent(); in CheckConstructorAccess()
/trueos/contrib/llvm/tools/clang/include/clang/Sema/
HDExternalSemaSource.h25 class CXXConstructorDecl; variable
116 SmallVectorImpl<CXXConstructorDecl *> &Decls) {} in ReadDelegatingConstructors()
HDMultiplexExternalSemaSource.h23 class CXXConstructorDecl; variable
260 SmallVectorImpl<CXXConstructorDecl*> &Decls);
HDOverload.h32 class CXXConstructorDecl; variable
212 CXXConstructorDecl *CopyConstructor;
HDSema.h77 class CXXConstructorDecl; variable
373 typedef LazyVector<CXXConstructorDecl *, ExternalSemaSource,
2476 CXXConstructorDecl *LookupDefaultConstructor(CXXRecordDecl *Class);
2477 CXXConstructorDecl *LookupCopyingConstructor(CXXRecordDecl *Class,
2481 CXXConstructorDecl *LookupMovingConstructor(CXXRecordDecl *Class,
3650 bool isInitListConstructor(const CXXConstructorDecl *Ctor);
3721 CXXConstructorDecl *Constructor, MultiExprArg Exprs,
3730 CXXConstructorDecl *Constructor, bool Elidable,
3850 ComputeInheritingCtorExceptionSpec(CXXConstructorDecl *CD);
3876 CXXConstructorDecl *DeclareImplicitDefaultConstructor(
[all …]
/trueos/contrib/llvm/tools/clang/lib/CodeGen/
HDCGCXXABI.h29 class CXXConstructorDecl; variable
229 virtual void BuildConstructorSignature(const CXXConstructorDecl *Ctor,
244 virtual void EmitCXXConstructors(const CXXConstructorDecl *D) = 0;
305 const CXXConstructorDecl *D,
HDCGClass.cpp534 const CXXConstructorDecl *Constructor, in EmitMemberInitializer()
653 static bool IsConstructorDelegationValid(const CXXConstructorDecl *Ctor) { in IsConstructorDelegationValid()
699 const CXXConstructorDecl *Ctor = cast<CXXConstructorDecl>(CurGD.getDecl()); in EmitConstructorBody()
911 static const VarDecl* getTrivialCopySource(const CXXConstructorDecl *CD, in getTrivialCopySource()
943 ConstructorMemcpyizer(CodeGenFunction &CGF, const CXXConstructorDecl *CD, in ConstructorMemcpyizer()
999 const CXXConstructorDecl *ConstructorDecl;
1124 void CodeGenFunction::EmitCtorPrologue(const CXXConstructorDecl *CD, in EmitCtorPrologue()
1132 CXXConstructorDecl::init_const_iterator B = CD->init_begin(), in EmitCtorPrologue()
1535 CodeGenFunction::EmitCXXAggrConstructorCall(const CXXConstructorDecl *ctor, in EmitCXXAggrConstructorCall()
1559 CodeGenFunction::EmitCXXAggrConstructorCall(const CXXConstructorDecl *ctor, in EmitCXXAggrConstructorCall()
[all …]
HDCodeGenTypes.h37 class CXXConstructorDecl; variable
189 const CXXConstructorDecl *D,
HDCGExprCXX.cpp42 EmitTypeCheck(isa<CXXConstructorDecl>(MD) ? TCK_ConstructorCall in EmitCXXMemberCall()
136 if (isa<CXXConstructorDecl>(MD) && in EmitCXXMemberCallExpr()
137 cast<CXXConstructorDecl>(MD)->isDefaultConstructor()) in EmitCXXMemberCallExpr()
148 if (isa<CXXConstructorDecl>(MD) && in EmitCXXMemberCallExpr()
149 cast<CXXConstructorDecl>(MD)->isCopyOrMoveConstructor()) { in EmitCXXMemberCallExpr()
152 EmitSynthesizedCXXCopyCtorCall(cast<CXXConstructorDecl>(MD), This, RHS, in EmitCXXMemberCallExpr()
165 else if (const CXXConstructorDecl *Ctor = dyn_cast<CXXConstructorDecl>(CalleeDecl)) in EmitCXXMemberCallExpr()
207 if (const CXXConstructorDecl *Ctor = dyn_cast<CXXConstructorDecl>(MD)) { in EmitCXXMemberCallExpr()
356 const CXXConstructorDecl *CD = E->getConstructor(); in EmitCXXConstructExpr()
434 const CXXConstructorDecl *CD = E->getConstructor(); in EmitSynthesizedCXXCopyCtor()
[all …]
HDMicrosoftCXXABI.cpp64 void BuildConstructorSignature(const CXXConstructorDecl *Ctor,
75 void EmitCXXConstructors(const CXXConstructorDecl *D);
153 const CXXConstructorDecl *D, CXXCtorType Type,
446 return isa<CXXConstructorDecl>(GD.getDecl()); in HasThisReturn()
449 void MicrosoftCXXABI::BuildConstructorSignature(const CXXConstructorDecl *Ctor, in BuildConstructorSignature()
541 void MicrosoftCXXABI::EmitCXXConstructors(const CXXConstructorDecl *D) { in EmitCXXConstructors()
617 isa<CXXConstructorDecl>(CGF.CurGD.getDecl())); in adjustThisArgumentForVirtualCall()
624 if (isa<CXXConstructorDecl>(CGF.CurGD.getDecl())) in adjustThisArgumentForVirtualCall()
688 if (isa<CXXConstructorDecl>(MD) && MD->getParent()->getNumVBases()) { in BuildInstanceFunctionParams()
768 if (isa<CXXConstructorDecl>(MD) && MD->getParent()->getNumVBases()) { in EmitInstanceFunctionProlog()
[all …]
HDCGCXX.cpp197 void CodeGenModule::EmitCXXConstructor(const CXXConstructorDecl *ctor, in EmitCXXConstructor()
225 CodeGenModule::GetAddrOfCXXConstructor(const CXXConstructorDecl *ctor, in GetAddrOfCXXConstructor()
HDCodeGenModule.h605 if (isa<CXXConstructorDecl>(GD.getDecl())) in GetAddrOfGlobal()
606 return GetAddrOfCXXConstructor(cast<CXXConstructorDecl>(GD.getDecl()), in GetAddrOfGlobal()
770 llvm::GlobalValue *GetAddrOfCXXConstructor(const CXXConstructorDecl *ctor,
1060 void EmitCXXConstructor(const CXXConstructorDecl *D, CXXCtorType Type);
HDItaniumCXXABI.cpp117 void BuildConstructorSignature(const CXXConstructorDecl *Ctor,
122 void EmitCXXConstructors(const CXXConstructorDecl *D);
146 const CXXConstructorDecl *D, CXXCtorType Type,
225 return (isa<CXXConstructorDecl>(GD.getDecl()) || ( in HasThisReturn()
800 void ItaniumCXXABI::BuildConstructorSignature(const CXXConstructorDecl *Ctor, in BuildConstructorSignature()
814 void ItaniumCXXABI::EmitCXXConstructors(const CXXConstructorDecl *D) { in EmitCXXConstructors()
909 const CXXConstructorDecl *D, in EmitConstructorCall()
1666 if (isa<CXXConstructorDecl>(MD) && GD.getCtorType() == Ctor_Base) in NeedsVTTParameter()
/trueos/contrib/llvm/tools/clang/lib/Analysis/
HDAnalysisDeclContext.cpp237 if (const CXXConstructorDecl *C = dyn_cast<CXXConstructorDecl>(getDecl())) { in getParentMap()
238 for (CXXConstructorDecl::init_const_iterator I = C->init_begin(), in getParentMap()
/trueos/contrib/llvm/tools/clang/lib/Frontend/
HDASTConsumers.cpp304 const CXXConstructorDecl* D = cast<CXXConstructorDecl>(DC); in PrintDeclContext()
/trueos/contrib/llvm/tools/clang/include/clang/ASTMatchers/
HDASTMatchers.h480 CXXConstructorDecl> constructorDecl;
2079 AST_MATCHER_P(CXXConstructorDecl, hasAnyConstructorInitializer, in AST_MATCHER_P() argument
2144 AST_MATCHER(CXXConstructorDecl, isImplicit) { in AST_MATCHER() argument
3462 AST_MATCHER_P(CXXConstructorDecl, forEachConstructorInitializer, in AST_MATCHER_P() argument
3466 for (CXXConstructorDecl::init_const_iterator I = Node.init_begin(), in AST_MATCHER_P()

123