| /trueos/contrib/llvm/tools/clang/lib/AST/ |
| HD | DeclCXX.cpp | 478 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 …]
|
| HD | Mangle.cpp | 193 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/ |
| HD | GlobalDecl.h | 32 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()
|
| HD | Mangle.h | 28 class CXXConstructorDecl; variable 127 virtual void mangleCXXCtor(const CXXConstructorDecl *D, CXXCtorType Type, 135 void mangleCtorBlock(const CXXConstructorDecl *CD, CXXCtorType CT,
|
| HD | DeclCXX.h | 35 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/ |
| HD | UndefinedArraySubscriptChecker.cpp | 45 if (const CXXConstructorDecl *Ctor = dyn_cast<CXXConstructorDecl>(D)) in checkPreStmt()
|
| /trueos/contrib/llvm/tools/clang/lib/Sema/ |
| HD | SemaDeclCXX.cpp | 576 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 …]
|
| HD | SemaInit.cpp | 2826 ::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 …]
|
| HD | SemaTemplateInstantiateDecl.cpp | 1559 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 …]
|
| HD | SemaAccess.cpp | 1081 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/ |
| HD | ExternalSemaSource.h | 25 class CXXConstructorDecl; variable 116 SmallVectorImpl<CXXConstructorDecl *> &Decls) {} in ReadDelegatingConstructors()
|
| HD | MultiplexExternalSemaSource.h | 23 class CXXConstructorDecl; variable 260 SmallVectorImpl<CXXConstructorDecl*> &Decls);
|
| HD | Overload.h | 32 class CXXConstructorDecl; variable 212 CXXConstructorDecl *CopyConstructor;
|
| HD | Sema.h | 77 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/ |
| HD | CGCXXABI.h | 29 class CXXConstructorDecl; variable 229 virtual void BuildConstructorSignature(const CXXConstructorDecl *Ctor, 244 virtual void EmitCXXConstructors(const CXXConstructorDecl *D) = 0; 305 const CXXConstructorDecl *D,
|
| HD | CGClass.cpp | 534 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 …]
|
| HD | CodeGenTypes.h | 37 class CXXConstructorDecl; variable 189 const CXXConstructorDecl *D,
|
| HD | CGExprCXX.cpp | 42 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 …]
|
| HD | MicrosoftCXXABI.cpp | 64 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 …]
|
| HD | CGCXX.cpp | 197 void CodeGenModule::EmitCXXConstructor(const CXXConstructorDecl *ctor, in EmitCXXConstructor() 225 CodeGenModule::GetAddrOfCXXConstructor(const CXXConstructorDecl *ctor, in GetAddrOfCXXConstructor()
|
| HD | CodeGenModule.h | 605 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);
|
| HD | ItaniumCXXABI.cpp | 117 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/ |
| HD | AnalysisDeclContext.cpp | 237 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/ |
| HD | ASTConsumers.cpp | 304 const CXXConstructorDecl* D = cast<CXXConstructorDecl>(DC); in PrintDeclContext()
|
| /trueos/contrib/llvm/tools/clang/include/clang/ASTMatchers/ |
| HD | ASTMatchers.h | 480 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()
|