Home
last modified time | relevance | path

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

12345

/freebsd/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()
174 assert(isa<CXXConstructorDecl>(getDecl())); in getWithCtorType()
190 !isa<CXXConstructorDecl>(getDecl()) && in getWithMultiVersionIndex()
H A DMangle.h31 class CXXConstructorDecl; variable
151 void mangleCtorBlock(const CXXConstructorDecl *CD, CXXCtorType CT,
204 virtual void mangleCXXCtorComdat(const CXXConstructorDecl *D,
269 virtual void mangleCXXCatchableType(QualType T, const CXXConstructorDecl *CD,
H A DDeclCXX.h61 class CXXConstructorDecl; variable
677 using ctor_iterator = specific_decl_iterator<CXXConstructorDecl>;
679 llvm::iterator_range<specific_decl_iterator<CXXConstructorDecl>>;
1967 CXXConstructorDecl *Ctor, DeductionCandidate Kind) in CXXDeductionGuideDecl()
1976 CXXConstructorDecl *Ctor;
1988 CXXConstructorDecl *Ctor = nullptr,
2007 CXXConstructorDecl *getCorrespondingConstructor() const { return Ctor; } in getCorrespondingConstructor()
2515 CXXConstructorDecl *BaseCtor = nullptr;
2520 CXXConstructorDecl *BaseCtor) in InheritedConstructor()
2526 CXXConstructorDecl *getConstructor() const { return BaseCtor; } in getConstructor()
[all …]
/freebsd/contrib/llvm-project/clang/lib/AST/
H A DCXXABI.h22 class CXXConstructorDecl; variable
57 CXXConstructorDecl *) = 0;
60 virtual const CXXConstructorDecl *
H A DDeclCXX.cpp816 if (const auto *Constructor = dyn_cast<CXXConstructorDecl>(D)) { in addedMember()
873 if (const auto *Constructor = dyn_cast<CXXConstructorDecl>(DUnderlying)) { in addedMember()
882 if (!isa<CXXConstructorDecl>(D) && Constructor->isDefaultConstructor()) in addedMember()
1512 if (const auto *Constructor = dyn_cast<CXXConstructorDecl>(D)) { in finishedDefaultedOrDeletedMember()
1578 if (const auto *Constructor = dyn_cast<CXXConstructorDecl>(D)) { in setTrivialForCallFlags()
2185 return cast<CXXConstructorDecl>(Function)->getExplicitSpecifier(); in getFromDecl()
2198 TypeSourceInfo *TInfo, SourceLocation EndLocation, CXXConstructorDecl *Ctor, in Create()
2557 if (isa<CXXConstructorDecl>(this)) return nullptr; in begin_overridden_methods()
2562 if (isa<CXXConstructorDecl>(this)) return nullptr; in end_overridden_methods()
2567 if (isa<CXXConstructorDecl>(this)) return 0; in size_overridden_methods()
[all …]
H A DMangle.cpp275 void MangleContext::mangleCtorBlock(const CXXConstructorDecl *CD, in mangleCtorBlock()
295 assert(!isa<CXXConstructorDecl>(DC) && !isa<CXXDestructorDecl>(DC)); in mangleBlock()
308 if (const auto *CD = dyn_cast<CXXConstructorDecl>(DC)) in mangleBlock()
496 if (const auto *CD = dyn_cast_or_null<CXXConstructorDecl>(ND)) { in getAllManglings()
539 if (const auto *CtorD = dyn_cast<CXXConstructorDecl>(D)) in writeFuncOrVarName()
568 if (const auto *CD = dyn_cast_or_null<CXXConstructorDecl>(ND)) in getMangledStructor()
H A DItaniumCXXABI.cpp260 const CXXConstructorDecl *
266 CXXConstructorDecl *CD) override {} in addCopyConstructorForExceptionObject()
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCGCXXABI.h30 class CXXConstructorDecl; variable
124 if (isa<CXXConstructorDecl>(GD.getDecl()) || in HasThisReturn()
323 virtual void EmitCXXConstructors(const CXXConstructorDecl *D) = 0;
423 getImplicitConstructorArgs(CodeGenFunction &CGF, const CXXConstructorDecl *D,
432 addImplicitConstructorArgs(CodeGenFunction &CGF, const CXXConstructorDecl *D,
520 virtual size_t getSrcArgforCopyCtor(const CXXConstructorDecl *,
H A DCodeGenTypes.h33 class CXXConstructorDecl; variable
251 const CXXConstructorDecl *D,
263 const CGFunctionInfo &arrangeMSCtorClosure(const CXXConstructorDecl *CD,
H A DCGClass.cpp600 auto *CD = dyn_cast<CXXConstructorDecl>(D); in isMemcpyEquivalentSpecialMember()
633 const CXXConstructorDecl *Constructor, in EmitMemberInitializer()
731 const CXXConstructorDecl *Ctor) { in IsConstructorDelegationValid()
781 Prologue ? cast<CXXConstructorDecl>(CurGD.getDecl())->getParent() in EmitAsanPrologueOrEpilogue()
842 const CXXConstructorDecl *Ctor = cast<CXXConstructorDecl>(CurGD.getDecl()); in EmitConstructorBody()
1051 const CXXConstructorDecl *CD, in getTrivialCopySource()
1083 ConstructorMemcpyizer(CodeGenFunction &CGF, const CXXConstructorDecl *CD, in ConstructorMemcpyizer()
1144 const CXXConstructorDecl *ConstructorDecl;
1272 void CodeGenFunction::EmitCtorPrologue(const CXXConstructorDecl *CD, in EmitCtorPrologue()
1280 CXXConstructorDecl::init_const_iterator B = CD->init_begin(), in EmitCtorPrologue()
[all …]
H A DCodeGenABITypes.cpp74 const CXXConstructorDecl *D) { in getImplicitCXXConstructorArgs()
H A DMicrosoftCXXABI.cpp87 size_t getSrcArgforCopyCtor(const CXXConstructorDecl *CD, in getSrcArgforCopyCtor()
196 void EmitCXXConstructors(const CXXConstructorDecl *D) override;
291 const CXXConstructorDecl *D,
792 llvm::Function *getAddrOfCXXCtorClosure(const CXXConstructorDecl *CD,
1094 return isa<CXXConstructorDecl>(GD.getDecl()); in HasThisReturn()
1152 if (auto *Ctor = dyn_cast<CXXConstructorDecl>(D)) { in isTrivialForMSVC()
1156 if (isa<CXXConstructorDecl>(Template->getTemplatedDecl())) in isTrivialForMSVC()
1301 void MicrosoftCXXABI::EmitCXXConstructors(const CXXConstructorDecl *D) { in EmitCXXConstructors()
1355 auto *CD = dyn_cast<CXXConstructorDecl>(GD.getDecl()); in buildStructorSignature()
1544 assert(isa<CXXConstructorDecl>(MD) || isa<CXXDestructorDecl>(MD)); in addImplicitStructorParams()
[all …]
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DStdVariantChecker.cpp34 const CXXConstructorDecl *
44 if (const CXXConstructorDecl *ConstructorDecl = in isCopyConstructorCall()
60 const CXXConstructorDecl *ConstructorDecl = in isMoveConstructorCall()
/freebsd/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.h378 CXXConstructorDecl *CopyConstructor;
1265 CXXConstructorDecl *Constructor;
1285 Info.Constructor = dyn_cast<CXXConstructorDecl>(D); in getConstructorInfo()
H A DSemaCUDA.h243 bool isEmptyConstructor(SourceLocation Loc, CXXConstructorDecl *CD);
/freebsd/contrib/llvm-project/clang/include/clang/CodeGen/
H A DCodeGenABITypes.h41 class CXXConstructorDecl; variable
87 getImplicitCXXConstructorArgs(CodeGenModule &CGM, const CXXConstructorDecl *D);
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaDeclCXX.cpp644 if (isa<CXXConstructorDecl>(New) && in MergeCXXFunctionDecl()
1744 PD->getSourceRange(), isa<CXXConstructorDecl>(FD), in CheckConstexprParameterTypes()
1803 << isa<CXXConstructorDecl>(NewFD) in CheckConstexprFunctionDefinition()
1812 if (!isa<CXXConstructorDecl>(NewFD)) { in CheckConstexprFunctionDefinition()
1908 << isa<CXXConstructorDecl>(Dcl); in CheckConstexprDeclStmt()
1924 << isa<CXXConstructorDecl>(Dcl); in CheckConstexprDeclStmt()
1952 << isa<CXXConstructorDecl>(Dcl) in CheckConstexprDeclStmt()
1961 isa<CXXConstructorDecl>(Dcl), in CheckConstexprDeclStmt()
1966 isa<CXXConstructorDecl>(Dcl))) { in CheckConstexprDeclStmt()
1977 << isa<CXXConstructorDecl>(Dc in CheckConstexprDeclStmt()
18638 DelegatingCycleHelper(CXXConstructorDecl * Ctor,llvm::SmallPtrSet<CXXConstructorDecl *,4> & Valid,llvm::SmallPtrSet<CXXConstructorDecl *,4> & Invalid,llvm::SmallPtrSet<CXXConstructorDecl *,4> & Current,Sema & S) DelegatingCycleHelper() argument
[all...]
H A DUsedDeclVisitor.h85 CXXConstructorDecl *D = E->getConstructor(); in VisitCXXConstructExpr()
/freebsd/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/contrib/llvm-project/clang/lib/InstallAPI/
H A DVisitor.cpp264 if (isa<CXXConstructorDecl>(M) || isa<CXXDestructorDecl>(M)) in VisitFunctionDecl()
469 if (const auto *Ctor = dyn_cast<CXXConstructorDecl>(D)) in getMangledCtorDtor()
513 if (isa<CXXConstructorDecl>(Method) || !Method->isVirtual()) in emitVTableSymbols()
628 if (const auto *Ctor = dyn_cast<CXXConstructorDecl>(M)) { in VisitCXXRecordDecl()
/freebsd/contrib/llvm-project/clang/lib/Analysis/FlowSensitive/
H A DASTOps.cpp200 void TraverseConstructorInits(const CXXConstructorDecl *Ctor) { in TraverseConstructorInits()
274 if (const auto *CtorDecl = dyn_cast<CXXConstructorDecl>(&FD)) in getReferencedDecls()
/freebsd/contrib/llvm-project/clang/include/clang/Tooling/Refactoring/
H A DRecursiveSymbolVisitor.h47 bool VisitCXXConstructorDecl(const CXXConstructorDecl *CD) { in VisitCXXConstructorDecl()
/freebsd/contrib/llvm-project/clang/lib/Analysis/
H A DIssueHash.cpp44 if (!isa<CXXConstructorDecl>(Target) && !isa<CXXDestructorDecl>(Target) && in GetSignature()

12345