Home
last modified time | relevance | path

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

123456

/freebsd-14.2/contrib/llvm-project/clang/include/clang/AST/
H A DGlobalDecl.h61 assert(!isa<CXXConstructorDecl>(D) && "Use other ctor with ctor decls!"); in Init()
89 GlobalDecl(const CXXConstructorDecl *D, CXXCtorType Type) : Value(D, Type) {} in GlobalDecl()
106 assert(isa<CXXConstructorDecl>(getDecl()) && "Decl is not a ctor!"); in getCtorType()
126 !isa<CXXConstructorDecl>(getDecl()) && in getMultiVersionIndex()
170 assert(isa<CXXConstructorDecl>(getDecl())); in getWithCtorType()
186 !isa<CXXConstructorDecl>(getDecl()) && in getWithMultiVersionIndex()
H A DMangle.h31 class CXXConstructorDecl; variable
151 void mangleCtorBlock(const CXXConstructorDecl *CD, CXXCtorType CT,
205 virtual void mangleCXXCtorComdat(const CXXConstructorDecl *D,
270 virtual void mangleCXXCatchableType(QualType T, const CXXConstructorDecl *CD,
H A DDeclCXX.h61 class CXXConstructorDecl; variable
676 using ctor_iterator = specific_decl_iterator<CXXConstructorDecl>;
1964 CXXConstructorDecl *Ctor;
1976 CXXConstructorDecl *Ctor = nullptr,
2501 CXXConstructorDecl *BaseCtor = nullptr;
2506 CXXConstructorDecl *BaseCtor) in InheritedConstructor()
2525 class CXXConstructorDecl final
2580 static CXXConstructorDecl *
2686 CXXConstructorDecl *getTargetConstructor() const;
2770 CXXConstructorDecl *getCanonicalDecl() override { in getCanonicalDecl()
[all …]
/freebsd-14.2/contrib/llvm-project/clang/lib/AST/
H A DCXXABI.h22 class CXXConstructorDecl; variable
57 CXXConstructorDecl *) = 0;
60 virtual const CXXConstructorDecl *
H A DDeclCXX.cpp2515 if (isa<CXXConstructorDecl>(this)) return nullptr; in begin_overridden_methods()
2520 if (isa<CXXConstructorDecl>(this)) return nullptr; in end_overridden_methods()
2525 if (isa<CXXConstructorDecl>(this)) return 0; in size_overridden_methods()
2531 if (isa<CXXConstructorDecl>(this)) in overridden_methods()
2668 CXXConstructorDecl::CXXConstructorDecl( in CXXConstructorDecl() function in CXXConstructorDecl
2686 void CXXConstructorDecl::anchor() {} in anchor()
2688 CXXConstructorDecl *CXXConstructorDecl::CreateDeserialized(ASTContext &C, in CreateDeserialized()
2708 CXXConstructorDecl *CXXConstructorDecl::Create( in Create()
2720 return new (C, RD, Extra) CXXConstructorDecl( in Create()
2725 CXXConstructorDecl::init_const_iterator CXXConstructorDecl::init_begin() const { in init_begin()
[all …]
H A DMangle.cpp275 void MangleContext::mangleCtorBlock(const CXXConstructorDecl *CD, in mangleCtorBlock()
295 assert(!isa<CXXConstructorDecl>(DC) && !isa<CXXDestructorDecl>(DC)); in mangleBlock()
309 if (const auto *CD = dyn_cast<CXXConstructorDecl>(DC)) in mangleBlock()
497 if (const auto *CD = dyn_cast_or_null<CXXConstructorDecl>(ND)) { in getAllManglings()
530 if (const auto *CtorD = dyn_cast<CXXConstructorDecl>(D)) in writeFuncOrVarName()
559 if (const auto *CD = dyn_cast_or_null<CXXConstructorDecl>(ND)) in getMangledStructor()
H A DMicrosoftCXXABI.cpp109 llvm::SmallDenseMap<CXXRecordDecl *, CXXConstructorDecl *> RecordToCopyCtor;
149 const CXXConstructorDecl *
156 CXXConstructorDecl *CD) override { in addCopyConstructorForExceptionObject()
H A DItaniumCXXABI.cpp260 const CXXConstructorDecl *
266 CXXConstructorDecl *CD) override {} in addCopyConstructorForExceptionObject()
/freebsd-14.2/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/UninitializedObject/
H A DUninitializedObjectChecker.cpp106 getConstructedRegion(const CXXConstructorDecl *CtorDecl,
112 static bool willObjectBeAnalyzedLater(const CXXConstructorDecl *Ctor,
136 const auto *CtorDecl = dyn_cast_or_null<CXXConstructorDecl>( in checkEndFunction()
453 getConstructedRegion(const CXXConstructorDecl *CtorDecl, in getConstructedRegion()
468 static bool willObjectBeAnalyzedLater(const CXXConstructorDecl *Ctor, in willObjectBeAnalyzedLater()
479 const auto *OtherCtor = dyn_cast<CXXConstructorDecl>(LC->getDecl()); in willObjectBeAnalyzedLater()
511 if (isa<CXXConstructorDecl>(M)) in getMethodBody()
/freebsd-14.2/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DUndefinedArraySubscriptChecker.cpp44 if (const CXXConstructorDecl *Ctor = dyn_cast<CXXConstructorDecl>(D)) in checkPreStmt()
H A DStdVariantChecker.cpp34 const CXXConstructorDecl *
44 if (const CXXConstructorDecl *ConstructorDecl = in isCopyConstructorCall()
60 const CXXConstructorDecl *ConstructorDecl = in isMoveConstructorCall()
H A DUndefinedAssignmentChecker.cpp87 dyn_cast<CXXConstructorDecl>(C.getStackFrame()->getDecl())) { in checkBind()
/freebsd-14.2/contrib/llvm-project/clang/lib/CodeGen/
H A DCGCXXABI.h30 class CXXConstructorDecl; variable
128 if (isa<CXXConstructorDecl>(GD.getDecl()) || in HasThisReturn()
328 virtual void EmitCXXConstructors(const CXXConstructorDecl *D) = 0;
428 getImplicitConstructorArgs(CodeGenFunction &CGF, const CXXConstructorDecl *D,
437 addImplicitConstructorArgs(CodeGenFunction &CGF, const CXXConstructorDecl *D,
529 virtual size_t getSrcArgforCopyCtor(const CXXConstructorDecl *,
H A DCodeGenTypes.h33 class CXXConstructorDecl; variable
234 const CXXConstructorDecl *D,
246 const CGFunctionInfo &arrangeMSCtorClosure(const CXXConstructorDecl *CD,
H A DCGClass.cpp591 auto *CD = dyn_cast<CXXConstructorDecl>(D); in isMemcpyEquivalentSpecialMember()
722 const CXXConstructorDecl *Ctor) { in IsConstructorDelegationValid()
772 Prologue ? cast<CXXConstructorDecl>(CurGD.getDecl())->getParent() in EmitAsanPrologueOrEpilogue()
833 const CXXConstructorDecl *Ctor = cast<CXXConstructorDecl>(CurGD.getDecl()); in EmitConstructorBody()
1135 const CXXConstructorDecl *ConstructorDecl;
1263 void CodeGenFunction::EmitCtorPrologue(const CXXConstructorDecl *CD, in EmitCtorPrologue()
1271 CXXConstructorDecl::init_const_iterator B = CD->init_begin(), in EmitCtorPrologue()
1975 const CXXConstructorDecl *ctor, const ArrayType *arrayType, in EmitCXXAggrConstructorCall()
2162 const CXXConstructorDecl *Ctor, in canEmitDelegateCallArgs()
2263 const CXXConstructorDecl *D, bool ForVirtualBase, Address This, in EmitInheritedCXXConstructorCall()
[all …]
H A DCodeGenABITypes.cpp74 const CXXConstructorDecl *D) { in getImplicitCXXConstructorArgs()
/freebsd-14.2/contrib/llvm-project/clang/include/clang/CodeGen/
H A DCodeGenABITypes.h41 class CXXConstructorDecl; variable
86 getImplicitCXXConstructorArgs(CodeGenModule &CGM, const CXXConstructorDecl *D);
/freebsd-14.2/contrib/llvm-project/clang/include/clang/Sema/
H A DExternalSemaSource.h28 class CXXConstructorDecl; variable
126 SmallVectorImpl<CXXConstructorDecl *> &Decls) {} in ReadDelegatingConstructors()
H A DMultiplexExternalSemaSource.h22 class CXXConstructorDecl; variable
265 SmallVectorImpl<CXXConstructorDecl*> &Decls) override;
H A DOverload.h332 CXXConstructorDecl *CopyConstructor;
1207 CXXConstructorDecl *Constructor;
1227 Info.Constructor = dyn_cast<CXXConstructorDecl>(D); in getConstructorInfo()
/freebsd-14.2/contrib/llvm-project/clang/include/clang/Analysis/
H A DAnyCall.h96 AnyCall(const CXXConstructorDecl *D) : E(nullptr), D(D), K(Constructor) {} in AnyCall()
101 if (isa<CXXConstructorDecl>(D)) { in AnyCall()
/freebsd-14.2/contrib/llvm-project/clang/lib/Sema/
H A DSemaDeclCXX.cpp4451 CXXConstructorDecl *Constructor in BuildMemInitializer()
5173 CXXConstructorDecl *Ctor;
5785 CXXConstructorDecl *Constructor in ActOnMemInitializers()
6766 if (const CXXConstructorDecl *Ctor = dyn_cast<CXXConstructorDecl>(FD)) { in getDefaultedFunctionKind()
10004 if (CXXConstructorDecl *CD = in findUserDeclaredCtor()
10802 if (CXXConstructorDecl *Constructor = dyn_cast<CXXConstructorDecl>(Method)) in ActOnFinishDelayedCXXMethodDeclaration()
13984 CXXConstructorDecl *DefaultCon = CXXConstructorDecl::Create( in DeclareImplicitDefaultConstructor()
14070 CXXConstructorDecl *
14106 CXXConstructorDecl *DerivedCtor = CXXConstructorDecl::Create( in findInheritingConstructor()
15652 CXXConstructorDecl *CopyConstructor = CXXConstructorDecl::Create( in DeclareImplicitCopyConstructor()
[all …]
/freebsd-14.2/contrib/llvm-project/clang/lib/Analysis/
H A DCallGraph.cpp97 CXXConstructorDecl *Ctor = E->getConstructor(); in VisitCXXConstructExpr()
190 if (auto constructor = dyn_cast<CXXConstructorDecl>(D)) { in addNodeForDecl()
/freebsd-14.2/contrib/llvm-project/clang/lib/Tooling/Refactoring/Rename/
H A DUSRFindingAction.cpp46 if (const auto *CtorDecl = dyn_cast<CXXConstructorDecl>(FoundDecl)) in getCanonicalSymbolDeclaration()
172 dyn_cast<CXXConstructorDecl>(FTD->getTemplatedDecl())) in addUSRsOfCtorDtors()
/freebsd-14.2/contrib/llvm-project/clang/include/clang/Tooling/Refactoring/
H A DRecursiveSymbolVisitor.h47 bool VisitCXXConstructorDecl(const CXXConstructorDecl *CD) { in VisitCXXConstructorDecl()

123456