/external/clang/lib/AST/ |
D | CXXABI.h | 23 class CXXConstructorDecl; variable 50 CXXConstructorDecl *) = 0; 53 virtual const CXXConstructorDecl * 56 virtual void addDefaultArgExprForConstructor(const CXXConstructorDecl *CD, 59 virtual Expr *getDefaultArgExprForConstructor(const CXXConstructorDecl *CD,
|
D | MicrosoftCXXABI.cpp | 69 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()
|
D | DeclCXX.cpp | 476 if (CXXConstructorDecl *Constructor = dyn_cast<CXXConstructorDecl>(D)) { in addedMember() 939 if (CXXConstructorDecl *Constructor = dyn_cast<CXXConstructorDecl>(D)) { in finishedDefaultedOrDeletedMember() 1572 if (isa<CXXConstructorDecl>(this)) return nullptr; in begin_overridden_methods() 1577 if (isa<CXXConstructorDecl>(this)) return nullptr; in end_overridden_methods() 1582 if (isa<CXXConstructorDecl>(this)) return 0; in size_overridden_methods() 1734 void CXXConstructorDecl::anchor() { } in anchor() 1736 CXXConstructorDecl * 1737 CXXConstructorDecl::CreateDeserialized(ASTContext &C, unsigned ID) { in CreateDeserialized() 1738 return new (C, ID) CXXConstructorDecl(C, nullptr, SourceLocation(), in CreateDeserialized() 1743 CXXConstructorDecl * [all …]
|
D | ItaniumCXXABI.cpp | 136 const CXXConstructorDecl * 142 CXXConstructorDecl *CD) override {} in addCopyConstructorForExceptionObject() 144 void addDefaultArgExprForConstructor(const CXXConstructorDecl *CD, in addDefaultArgExprForConstructor() 147 Expr *getDefaultArgExprForConstructor(const CXXConstructorDecl *CD, in getDefaultArgExprForConstructor()
|
D | Mangle.cpp | 203 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/ |
D | Mangle.h | 28 class CXXConstructorDecl; variable 110 virtual void mangleCXXCtor(const CXXConstructorDecl *D, CXXCtorType Type, 119 void mangleCtorBlock(const CXXConstructorDecl *CD, CXXCtorType CT, 165 virtual void mangleCXXCtorComdat(const CXXConstructorDecl *D, 214 virtual void mangleCXXCatchableType(QualType T, const CXXConstructorDecl *CD,
|
D | 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()
|
D | DeclCXX.h | 34 class CXXConstructorDecl; variable 770 typedef specific_decl_iterator<CXXConstructorDecl> ctor_iterator; 771 typedef llvm::iterator_range<specific_decl_iterator<CXXConstructorDecl>> 2137 class CXXConstructorDecl : public CXXMethodDecl { 2150 CXXConstructorDecl(ASTContext &C, CXXRecordDecl *RD, SourceLocation StartLoc, in CXXConstructorDecl() function 2163 static CXXConstructorDecl *CreateDeserialized(ASTContext &C, unsigned ID); 2164 static CXXConstructorDecl *Create(ASTContext &C, CXXRecordDecl *RD, 2178 return cast<CXXConstructorDecl>(getFirstDecl())->isExplicitSpecified(); in isExplicit() 2251 CXXConstructorDecl *getTargetConstructor() const; 2318 const CXXConstructorDecl *getInheritedConstructor() const; [all …]
|
/external/clang/unittests/AST/ |
D | SourceLocationTest.cpp | 151 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/ |
D | UndefinedArraySubscriptChecker.cpp | 45 if (const CXXConstructorDecl *Ctor = dyn_cast<CXXConstructorDecl>(D)) in checkPreStmt()
|
/external/clang/lib/Sema/ |
D | SemaDeclCXX.cpp | 618 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 …]
|
D | SemaInit.cpp | 416 CXXConstructorDecl *CtorDecl = cast<CXXConstructorDecl>(Best->Function); in PerformEmptyInit() 3142 ::AddConstructorInitializationStep(CXXConstructorDecl *Constructor, in AddConstructorInitializationStep() 3366 CXXConstructorDecl *Constructor = nullptr; in ResolveConstructorOverload() 3369 Constructor = cast<CXXConstructorDecl>( in ResolveConstructorOverload() 3372 Constructor = cast<CXXConstructorDecl>(D); in ResolveConstructorOverload() 3522 !cast<CXXConstructorDecl>(Best->Function)->isUserProvided()) { in TryConstructorInitialization() 3531 CXXConstructorDecl *CtorDecl = cast<CXXConstructorDecl>(Best->Function); in TryConstructorInitialization() 3853 CXXConstructorDecl *Constructor = nullptr; in TryRefInitWithConversionFunction() 3856 Constructor = cast<CXXConstructorDecl>( in TryRefInitWithConversionFunction() 3859 Constructor = cast<CXXConstructorDecl>(D); in TryRefInitWithConversionFunction() [all …]
|
/external/clang/include/clang/Sema/ |
D | ExternalSemaSource.h | 29 class CXXConstructorDecl; variable 124 SmallVectorImpl<CXXConstructorDecl *> &Decls) {} in ReadDelegatingConstructors()
|
D | MultiplexExternalSemaSource.h | 23 class CXXConstructorDecl; variable 257 SmallVectorImpl<CXXConstructorDecl*> &Decls) override;
|
D | Overload.h | 33 class CXXConstructorDecl; variable 201 CXXConstructorDecl *CopyConstructor;
|
/external/clang/lib/CodeGen/ |
D | CodeGenTypes.h | 37 class CXXConstructorDecl; variable 256 const CXXConstructorDecl *D, 273 const CGFunctionInfo &arrangeMSCtorClosure(const CXXConstructorDecl *CD,
|
D | CGCXXABI.h | 30 class CXXConstructorDecl; variable 281 virtual void EmitCXXConstructors(const CXXConstructorDecl *D) = 0; 344 addImplicitConstructorArgs(CodeGenFunction &CGF, const CXXConstructorDecl *D, 425 virtual size_t getSrcArgforCopyCtor(const CXXConstructorDecl *,
|
D | CGClass.cpp | 664 auto *CD = dyn_cast<CXXConstructorDecl>(D); in isMemcpyEquivalentSpecialMember() 697 const CXXConstructorDecl *Constructor, in EmitMemberInitializer() 806 static bool IsConstructorDelegationValid(const CXXConstructorDecl *Ctor) { in IsConstructorDelegationValid() 856 Prologue ? cast<CXXConstructorDecl>(CurGD.getDecl())->getParent() in EmitAsanPrologueOrEpilogue() 918 const CXXConstructorDecl *Ctor = cast<CXXConstructorDecl>(CurGD.getDecl()); in EmitConstructorBody() 1134 const CXXConstructorDecl *CD, in getTrivialCopySource() 1166 ConstructorMemcpyizer(CodeGenFunction &CGF, const CXXConstructorDecl *CD, in ConstructorMemcpyizer() 1227 const CXXConstructorDecl *ConstructorDecl; 1356 void CodeGenFunction::EmitCtorPrologue(const CXXConstructorDecl *CD, in EmitCtorPrologue() 1364 CXXConstructorDecl::init_const_iterator B = CD->init_begin(), in EmitCtorPrologue() [all …]
|
D | CGCXX.cpp | 229 const auto *CD = cast<CXXConstructorDecl>(MD); in codegenCXXStructor() 246 if (auto *CD = dyn_cast<CXXConstructorDecl>(MD)) { in getAddrOfCXXStructor()
|
D | CGExprCXX.cpp | 43 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() 438 const CXXConstructorDecl *CD = E->getConstructor(); in EmitCXXConstructExpr() 514 const CXXConstructorDecl *CD = E->getConstructor(); in EmitSynthesizedCXXCopyCtor() 958 CXXConstructorDecl *Ctor = CCE->getConstructor(); in EmitNewArrayInitializer()
|
/external/clang/unittests/Tooling/ |
D | RecursiveASTVisitorTestExprVisitor.cpp | 82 bool VisitCXXConstructorDecl(CXXConstructorDecl* Ctor) { in VisitCXXConstructorDecl() 121 if (const CXXConstructorDecl* Ctor = Expr->getConstructor()) { in VisitCXXConstructExpr()
|
/external/clang/tools/libclang/ |
D | IndexDecl.cpp | 73 if (const CXXConstructorDecl *Ctor = dyn_cast<CXXConstructorDecl>(D)) { in VisitFunctionDecl()
|
D | CIndexHigh.cpp | 89 } else if (const CXXConstructorDecl *CXXCtorD = in getCanonical() 90 dyn_cast<CXXConstructorDecl>(D)) { in getCanonical()
|
/external/clang/include/clang/ASTMatchers/ |
D | ASTMatchers.h | 765 CXXConstructorDecl> cxxConstructorDecl; 2718 AST_MATCHER_P(CXXConstructorDecl, hasAnyConstructorInitializer, in AST_MATCHER_P() argument 4494 AST_MATCHER_P(CXXConstructorDecl, forEachConstructorInitializer, in AST_MATCHER_P() argument 4520 AST_MATCHER(CXXConstructorDecl, isCopyConstructor) { in AST_MATCHER() argument 4535 AST_MATCHER(CXXConstructorDecl, isMoveConstructor) { in AST_MATCHER() argument 4550 AST_MATCHER(CXXConstructorDecl, isDefaultConstructor) { in AST_MATCHER() argument 4569 AST_POLYMORPHIC_SUPPORTED_TYPES(CXXConstructorDecl, in AST_POLYMORPHIC_MATCHER() argument
|
/external/clang/lib/Frontend/ |
D | ASTConsumers.cpp | 312 const CXXConstructorDecl* D = cast<CXXConstructorDecl>(DC); in PrintDeclContext()
|