Home
last modified time | relevance | path

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

1234

/external/clang/lib/AST/
DCXXABI.h23 class CXXConstructorDecl; variable
50 CXXConstructorDecl *) = 0;
53 virtual const CXXConstructorDecl *
56 virtual void addDefaultArgExprForConstructor(const CXXConstructorDecl *CD,
59 virtual Expr *getDefaultArgExprForConstructor(const CXXConstructorDecl *CD,
DMicrosoftCXXABI.cpp69 llvm::SmallDenseMap<CXXRecordDecl *, CXXConstructorDecl *> RecordToCopyCtor;
70 llvm::SmallDenseMap<std::pair<const CXXConstructorDecl *, unsigned>, Expr *>
95 void addDefaultArgExprForConstructor(const CXXConstructorDecl *CD, in addDefaultArgExprForConstructor()
100 Expr *getDefaultArgExprForConstructor(const CXXConstructorDecl *CD, in getDefaultArgExprForConstructor()
105 const CXXConstructorDecl *
112 CXXConstructorDecl *CD) override { in addCopyConstructorForExceptionObject()
DItaniumCXXABI.cpp136 const CXXConstructorDecl *
142 CXXConstructorDecl *CD) override {} in addCopyConstructorForExceptionObject()
144 void addDefaultArgExprForConstructor(const CXXConstructorDecl *CD, in addDefaultArgExprForConstructor()
147 Expr *getDefaultArgExprForConstructor(const CXXConstructorDecl *CD, in getDefaultArgExprForConstructor()
DDeclCXX.cpp503 if (CXXConstructorDecl *Constructor = dyn_cast<CXXConstructorDecl>(D)) { in addedMember()
539 if (CXXConstructorDecl *Constructor = in addedMember()
540 dyn_cast<CXXConstructorDecl>(DUnderlying)) { in addedMember()
995 if (CXXConstructorDecl *Constructor = dyn_cast<CXXConstructorDecl>(D)) { in finishedDefaultedOrDeletedMember()
1640 if (isa<CXXConstructorDecl>(this)) return nullptr; in begin_overridden_methods()
1645 if (isa<CXXConstructorDecl>(this)) return nullptr; in end_overridden_methods()
1650 if (isa<CXXConstructorDecl>(this)) return 0; in size_overridden_methods()
1656 if (isa<CXXConstructorDecl>(this)) in overridden_methods()
1808 void CXXConstructorDecl::anchor() { } in anchor()
1810 CXXConstructorDecl *CXXConstructorDecl::CreateDeserialized(ASTContext &C, in CreateDeserialized()
[all …]
DMangle.cpp203 void MangleContext::mangleCtorBlock(const CXXConstructorDecl *CD, in mangleCtorBlock()
223 assert(!isa<CXXConstructorDecl>(DC) && !isa<CXXDestructorDecl>(DC)); in mangleBlock()
237 if (const auto *CD = dyn_cast<CXXConstructorDecl>(DC)) in mangleBlock()
/external/clang/include/clang/AST/
DMangle.h29 class CXXConstructorDecl; variable
111 virtual void mangleCXXCtor(const CXXConstructorDecl *D, CXXCtorType Type,
120 void mangleCtorBlock(const CXXConstructorDecl *CD, CXXCtorType CT,
167 virtual void mangleCXXCtorComdat(const CXXConstructorDecl *D,
217 virtual void mangleCXXCatchableType(QualType T, const CXXConstructorDecl *CD,
DGlobalDecl.h33 assert(!isa<CXXConstructorDecl>(D) && "Use other ctor with ctor decls!"); in Init()
49 GlobalDecl(const CXXConstructorDecl *D, CXXCtorType Type) in GlobalDecl()
65 assert(isa<CXXConstructorDecl>(getDecl()) && "Decl is not a ctor!"); in getCtorType()
DDeclCXX.h36 class CXXConstructorDecl; variable
775 typedef specific_decl_iterator<CXXConstructorDecl> ctor_iterator;
776 typedef llvm::iterator_range<specific_decl_iterator<CXXConstructorDecl>>
2163 CXXConstructorDecl *BaseCtor;
2168 CXXConstructorDecl *BaseCtor) in InheritedConstructor()
2174 CXXConstructorDecl *getConstructor() const { return BaseCtor; } in getConstructor()
2187 class CXXConstructorDecl final
2189 private llvm::TrailingObjects<CXXConstructorDecl, InheritedConstructor> {
2207 CXXConstructorDecl(ASTContext &C, CXXRecordDecl *RD, SourceLocation StartLoc, in CXXConstructorDecl() function
2224 static CXXConstructorDecl *CreateDeserialized(ASTContext &C, unsigned ID,
[all …]
/external/clang/unittests/AST/
DSourceLocationTest.cpp151 TEST(CXXConstructorDecl, NoRetFunTypeLocRange) { in TEST() argument
152 RangeVerifier<CXXConstructorDecl> Verifier; in TEST()
157 TEST(CXXConstructorDecl, DefaultedCtorLocRange) { in TEST() argument
158 RangeVerifier<CXXConstructorDecl> Verifier; in TEST()
163 TEST(CXXConstructorDecl, DeletedCtorLocRange) { in TEST() argument
164 RangeVerifier<CXXConstructorDecl> Verifier; in TEST()
/external/clang/lib/StaticAnalyzer/Checkers/
DUndefinedArraySubscriptChecker.cpp45 if (const CXXConstructorDecl *Ctor = dyn_cast<CXXConstructorDecl>(D)) in checkPreStmt()
/external/clang/lib/Sema/
DSemaDeclCXX.cpp618 if (isa<CXXConstructorDecl>(New) && in MergeCXXFunctionDecl()
777 isa<CXXConstructorDecl>(FD))) in CheckConstexprParameterTypes()
813 << isa<CXXConstructorDecl>(NewFD) in CheckConstexprFunctionDecl()
822 if (!isa<CXXConstructorDecl>(NewFD)) { in CheckConstexprFunctionDecl()
891 << isa<CXXConstructorDecl>(Dcl); in CheckConstexprDeclStmt()
905 << isa<CXXConstructorDecl>(Dcl); in CheckConstexprDeclStmt()
924 << isa<CXXConstructorDecl>(Dcl) in CheckConstexprDeclStmt()
932 isa<CXXConstructorDecl>(Dcl))) in CheckConstexprDeclStmt()
938 << isa<CXXConstructorDecl>(Dcl); in CheckConstexprDeclStmt()
946 << isa<CXXConstructorDecl>(Dcl); in CheckConstexprDeclStmt()
[all …]
/external/clang/lib/Index/
DCodegenNameGenerator.cpp89 if (const auto *CD = dyn_cast_or_null<CXXConstructorDecl>(ND)) { in getAllManglings()
121 if (const auto *CtorD = dyn_cast<CXXConstructorDecl>(D)) in writeFuncOrVarName()
150 if (const auto *CD = dyn_cast_or_null<CXXConstructorDecl>(ND)) in getMangledStructor()
DIndexDecl.cpp113 if (const CXXConstructorDecl *Ctor = dyn_cast<CXXConstructorDecl>(D)) { in VisitFunctionDecl()
/external/clang/include/clang/Sema/
DExternalSemaSource.h29 class CXXConstructorDecl; variable
128 SmallVectorImpl<CXXConstructorDecl *> &Decls) {} in ReadDelegatingConstructors()
DOverload.h33 class CXXConstructorDecl; variable
201 CXXConstructorDecl *CopyConstructor;
804 CXXConstructorDecl *Constructor;
822 Info.Constructor = dyn_cast<CXXConstructorDecl>(D); in getConstructorInfo()
DMultiplexExternalSemaSource.h23 class CXXConstructorDecl; variable
261 SmallVectorImpl<CXXConstructorDecl*> &Decls) override;
/external/clang/lib/CodeGen/
DCodeGenTypes.h36 class CXXConstructorDecl; variable
304 const CXXConstructorDecl *D,
312 const CGFunctionInfo &arrangeMSCtorClosure(const CXXConstructorDecl *CD,
DCGClass.cpp665 auto *CD = dyn_cast<CXXConstructorDecl>(D); in isMemcpyEquivalentSpecialMember()
698 const CXXConstructorDecl *Constructor, in EmitMemberInitializer()
807 static bool IsConstructorDelegationValid(const CXXConstructorDecl *Ctor) { in IsConstructorDelegationValid()
857 Prologue ? cast<CXXConstructorDecl>(CurGD.getDecl())->getParent() in EmitAsanPrologueOrEpilogue()
919 const CXXConstructorDecl *Ctor = cast<CXXConstructorDecl>(CurGD.getDecl()); in EmitConstructorBody()
1132 const CXXConstructorDecl *CD, in getTrivialCopySource()
1164 ConstructorMemcpyizer(CodeGenFunction &CGF, const CXXConstructorDecl *CD, in ConstructorMemcpyizer()
1225 const CXXConstructorDecl *ConstructorDecl;
1352 void CodeGenFunction::EmitCtorPrologue(const CXXConstructorDecl *CD, in EmitCtorPrologue()
1360 CXXConstructorDecl::init_const_iterator B = CD->init_begin(), in EmitCtorPrologue()
[all …]
DCGCXXABI.h30 class CXXConstructorDecl; variable
291 virtual void EmitCXXConstructors(const CXXConstructorDecl *D) = 0;
360 addImplicitConstructorArgs(CodeGenFunction &CGF, const CXXConstructorDecl *D,
441 virtual size_t getSrcArgforCopyCtor(const CXXConstructorDecl *,
DCGExprCXX.cpp44 isa<CXXConstructorDecl>(MD) ? CodeGenFunction::TCK_ConstructorCall in commonEmitCXXMemberOrOperatorCall()
178 if (isa<CXXConstructorDecl>(MD) && in EmitCXXMemberOrOperatorMemberCallExpr()
179 cast<CXXConstructorDecl>(MD)->isDefaultConstructor()) in EmitCXXMemberOrOperatorMemberCallExpr()
193 if (isa<CXXConstructorDecl>(MD) && in EmitCXXMemberOrOperatorMemberCallExpr()
194 cast<CXXConstructorDecl>(MD)->isCopyOrMoveConstructor()) { in EmitCXXMemberOrOperatorMemberCallExpr()
212 else if (const auto *Ctor = dyn_cast<CXXConstructorDecl>(CalleeDecl)) in EmitCXXMemberOrOperatorMemberCallExpr()
253 if (const CXXConstructorDecl *Ctor = dyn_cast<CXXConstructorDecl>(MD)) { in EmitCXXMemberOrOperatorMemberCallExpr()
443 const CXXConstructorDecl *CD = E->getConstructor(); in EmitCXXConstructExpr()
519 const CXXConstructorDecl *CD = E->getConstructor(); in EmitSynthesizedCXXCopyCtor()
963 CXXConstructorDecl *Ctor = CCE->getConstructor(); in EmitNewArrayInitializer()
DCGCXX.cpp229 const auto *CD = cast<CXXConstructorDecl>(MD); in codegenCXXStructor()
246 if (auto *CD = dyn_cast<CXXConstructorDecl>(MD)) { in getAddrOfCXXStructor()
DCodeGenFunction.h1096 cast<CXXConstructorDecl>(GD.getDecl()); in InlinedInheritingConstructorScope()
1434 void EmitCtorPrologue(const CXXConstructorDecl *CD, CXXCtorType Type,
1944 void EmitDelegateCXXConstructorCall(const CXXConstructorDecl *Ctor,
1952 void EmitDelegatingCXXConstructorCall(const CXXConstructorDecl *Ctor,
1959 void EmitInlinedInheritingCXXConstructorCall(const CXXConstructorDecl *Ctor,
1968 void EmitInheritedCXXConstructorCall(const CXXConstructorDecl *D,
1973 void EmitCXXConstructorCall(const CXXConstructorDecl *D, CXXCtorType Type,
1977 void EmitCXXConstructorCall(const CXXConstructorDecl *D, CXXCtorType Type,
1988 void EmitSynthesizedCXXCopyCtorCall(const CXXConstructorDecl *D,
1992 void EmitCXXAggrConstructorCall(const CXXConstructorDecl *D,
[all …]
/external/clang/unittests/Tooling/
DRecursiveASTVisitorTestExprVisitor.cpp82 bool VisitCXXConstructorDecl(CXXConstructorDecl* Ctor) { in VisitCXXConstructorDecl()
121 if (const CXXConstructorDecl* Ctor = Expr->getConstructor()) { in VisitCXXConstructExpr()
/external/clang/include/clang/ASTMatchers/
DASTMatchers.h874 CXXConstructorDecl> cxxConstructorDecl;
3014 AST_MATCHER_P(CXXConstructorDecl, hasAnyConstructorInitializer, in AST_MATCHER_P() argument
5136 AST_MATCHER_P(CXXConstructorDecl, forEachConstructorInitializer, in AST_MATCHER_P() argument
5162 AST_MATCHER(CXXConstructorDecl, isCopyConstructor) { in AST_MATCHER() argument
5177 AST_MATCHER(CXXConstructorDecl, isMoveConstructor) { in AST_MATCHER() argument
5192 AST_MATCHER(CXXConstructorDecl, isDefaultConstructor) { in AST_MATCHER() argument
5209 AST_MATCHER(CXXConstructorDecl, isDelegatingConstructor) { in AST_MATCHER() argument
5228 AST_POLYMORPHIC_SUPPORTED_TYPES(CXXConstructorDecl, in AST_POLYMORPHIC_MATCHER() argument
/external/clang/lib/Frontend/
DASTConsumers.cpp311 const CXXConstructorDecl* D = cast<CXXConstructorDecl>(DC); in PrintDeclContext()

1234