Home
last modified time | relevance | path

Searched refs:Constructor (Results 1 – 25 of 52) sorted by relevance

123

/freebsd/contrib/llvm-project/clang/include/clang/Analysis/
H A DAnyCall.h43 Constructor, enumerator
89 : E(NE), D(NE->getConstructor()), K(Constructor) {} in AnyCall()
96 AnyCall(const CXXConstructorDecl *D) : E(nullptr), D(D), K(Constructor) {} in AnyCall()
102 K = Constructor; in AnyCall()
180 case Constructor: in getReturnType()
H A DCFG.h67 Constructor, enumerator
160 : CFGStmt(CE, Constructor) { in CFGConstructor()
175 return E.getKind() == Constructor; in isKind()
/freebsd/contrib/llvm-project/clang/lib/AST/
H A DDeclCXX.cpp816 if (const auto *Constructor = dyn_cast<CXXConstructorDecl>(D)) { in addedMember() local
817 if (Constructor->isInheritingConstructor()) { in addedMember()
821 if (!Constructor->isImplicit()) { in addedMember()
826 if ((!Constructor->isDeleted() && !Constructor->isDefaulted()) || in addedMember()
837 if (Constructor->isDefaultConstructor()) { in addedMember()
840 if (Constructor->isUserProvided()) in addedMember()
842 if (Constructor->isConstexpr()) in addedMember()
844 if (Constructor->isDefaulted()) in addedMember()
850 if (Constructor->isCopyConstructor(Quals)) { in addedMember()
855 } else if (Constructor->isMoveConstructor()) in addedMember()
[all …]
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaDeclCXX.cpp2321 if (const CXXConstructorDecl *Constructor in CheckConstexprFunctionBody() local
2323 const CXXRecordDecl *RD = Constructor->getParent(); in CheckConstexprFunctionBody()
2331 if (Constructor->getNumCtorInitializers() == 0 && in CheckConstexprFunctionBody()
2343 } else if (!Constructor->isDependentContext() && in CheckConstexprFunctionBody()
2344 !Constructor->isDelegatingConstructor()) { in CheckConstexprFunctionBody()
2363 Constructor->getNumCtorInitializers() != RD->getNumBases() + Fields) { in CheckConstexprFunctionBody()
2368 for (const auto *I: Constructor->inits()) { in CheckConstexprFunctionBody()
3637 const CXXConstructorDecl *Constructor; member in __anon42c808800f11::UninitializedFieldVisitor
3651 Constructor(nullptr), InitList(false), InitListFieldDecl(nullptr) {} in UninitializedFieldVisitor()
3766 if (Constructor) in HandleMemberExpr()
3963 DiagnoseUninitializedFields(Sema & SemaRef,const CXXConstructorDecl * Constructor) DiagnoseUninitializedFields() argument
4301 CXXConstructorDecl *Constructor BuildMemInitializer() local
4783 BuildImplicitBaseInitializer(Sema & SemaRef,CXXConstructorDecl * Constructor,ImplicitInitializerKind ImplicitInitKind,CXXBaseSpecifier * BaseSpec,bool IsInheritedVirtualBase,CXXCtorInitializer * & CXXBaseInit) BuildImplicitBaseInitializer() argument
4866 BuildImplicitMemberInitializer(Sema & SemaRef,CXXConstructorDecl * Constructor,ImplicitInitializerKind ImplicitInitKind,FieldDecl * Field,IndirectFieldDecl * Indirect,CXXCtorInitializer * & CXXMemberInit) BuildImplicitMemberInitializer() argument
5199 SetDelegatingInitializer(CXXConstructorDecl * Constructor,CXXCtorInitializer * Initializer) SetDelegatingInitializer() argument
5220 SetCtorInitializers(CXXConstructorDecl * Constructor,bool AnyErrors,ArrayRef<CXXCtorInitializer * > Initializers) SetCtorInitializers() argument
5435 DiagnoseBaseOrMemInitializerOrder(Sema & SemaRef,const CXXConstructorDecl * Constructor,ArrayRef<CXXCtorInitializer * > Inits) DiagnoseBaseOrMemInitializerOrder() argument
5638 CXXConstructorDecl *Constructor ActOnMemInitializers() local
5844 if (CXXConstructorDecl *Constructor ActOnDefaultCtorInitializers() local
10719 if (CXXConstructorDecl *Constructor = dyn_cast<CXXConstructorDecl>(Method)) ActOnFinishDelayedCXXMethodDeclaration() local
10808 CheckConstructor(CXXConstructorDecl * Constructor) CheckConstructor() argument
13892 DefineImplicitDefaultConstructor(SourceLocation CurrentLocation,CXXConstructorDecl * Constructor) DefineImplicitDefaultConstructor() argument
14036 DefineInheritingConstructor(SourceLocation CurrentLocation,CXXConstructorDecl * Constructor) DefineInheritingConstructor() argument
15918 BuildCXXConstructExpr(SourceLocation ConstructLoc,QualType DeclInitType,NamedDecl * FoundDecl,CXXConstructorDecl * Constructor,MultiExprArg ExprArgs,bool HadMultipleCandidates,bool IsListInitialization,bool IsStdInitListInitialization,bool RequiresZeroInit,CXXConstructionKind ConstructKind,SourceRange ParenRange) BuildCXXConstructExpr() argument
15960 BuildCXXConstructExpr(SourceLocation ConstructLoc,QualType DeclInitType,NamedDecl * FoundDecl,CXXConstructorDecl * Constructor,bool Elidable,MultiExprArg ExprArgs,bool HadMultipleCandidates,bool IsListInitialization,bool IsStdInitListInitialization,bool RequiresZeroInit,CXXConstructionKind ConstructKind,SourceRange ParenRange) BuildCXXConstructExpr() argument
15983 BuildCXXConstructExpr(SourceLocation ConstructLoc,QualType DeclInitType,CXXConstructorDecl * Constructor,bool Elidable,MultiExprArg ExprArgs,bool HadMultipleCandidates,bool IsListInitialization,bool IsStdInitListInitialization,bool RequiresZeroInit,CXXConstructionKind ConstructKind,SourceRange ParenRange) BuildCXXConstructExpr() argument
16067 CompleteConstructorCall(CXXConstructorDecl * Constructor,QualType DeclInitType,MultiExprArg ArgsPtr,SourceLocation Loc,SmallVectorImpl<Expr * > & ConvertedArgs,bool AllowExplicit,bool IsListInitialization) CompleteConstructorCall() argument
[all...]
H A DHLSLExternalSemaSource.cpp167 CXXConstructorDecl *Constructor = CXXConstructorDecl::Create( in addDefaultHandleConstructor() local
181 AST, SourceLocation(), Constructor->getFunctionObjectParameterType(), in addDefaultHandleConstructor()
201 Constructor->setBody( in addDefaultHandleConstructor()
204 Constructor->setAccess(AccessSpecifier::AS_public); in addDefaultHandleConstructor()
205 Record->addDecl(Constructor); in addDefaultHandleConstructor()
H A DSemaInit.cpp3981 DeclAccessPair FoundDecl, CXXConstructorDecl *Constructor, QualType T, in AddConstructorInitializationStep() argument
3989 S.Function.Function = Constructor; in AddConstructorInitializationStep()
4216 if (Info.Constructor->getNumParams() == 0) in hasCopyOrMoveCtorParam()
4220 Info.Constructor->getParamDecl(0)->getType().getNonReferenceType(); in hasCopyOrMoveCtorParam()
4239 if (!Info.Constructor || Info.Constructor->isInvalidDecl()) in ResolveConstructorOverload()
4242 if (OnlyListConstructors && !S.isInitListConstructor(Info.Constructor)) in ResolveConstructorOverload()
4277 S.AddOverloadCandidate(Info.Constructor, Info.FoundDecl, Args, in ResolveConstructorOverload()
4920 if (!Info.Constructor) in TryRefInitWithConversionFunction()
4923 if (!Info.Constructor->isInvalidDecl() && in TryRefInitWithConversionFunction()
4924 Info.Constructor->isConvertingConstructor(/*AllowExplicit*/true)) { in TryRefInitWithConversionFunction()
[all …]
H A DSemaAccess.cpp1655 CXXConstructorDecl *Constructor, in CheckConstructorAccess() argument
1675 << llvm::to_underlying(getSpecialMember(Constructor)); in CheckConstructorAccess()
1683 << llvm::to_underlying(getSpecialMember(Constructor)); in CheckConstructorAccess()
1691 << llvm::to_underlying(getSpecialMember(Constructor)); in CheckConstructorAccess()
1697 return CheckConstructorAccess(UseLoc, Constructor, Found, Entity, PD); in CheckConstructorAccess()
1701 CXXConstructorDecl *Constructor, in CheckConstructorAccess() argument
1709 CXXRecordDecl *NamingClass = Constructor->getParent(); in CheckConstructorAccess()
1734 DeclAccessPair::make(Constructor, Found.getAccess()), in CheckConstructorAccess()
H A DSemaOverload.cpp1619 if (CXXConstructorDecl *Constructor in TryUserDefinedConversion() local
1625 if (Constructor->isCopyConstructor() && in TryUserDefinedConversion()
1635 ICS.Standard.CopyConstructor = Constructor; in TryUserDefinedConversion()
3639 CXXConstructorDecl *Constructor, in isFirstArgumentCompatibleWithType() argument
3641 const auto *CtorType = Constructor->getType()->castAs<FunctionProtoType>(); in isFirstArgumentCompatibleWithType()
3662 bool Usable = !Info.Constructor->isInvalidDecl() && in IsInitializerListConstructorConversion()
3663 S.isInitListConstructor(Info.Constructor); in IsInitializerListConstructorConversion()
3673 S.AddOverloadCandidate(Info.Constructor, Info.FoundDecl, From, in IsInitializerListConstructorConversion()
3687 CXXConstructorDecl *Constructor = cast<CXXConstructorDecl>(Best->Function); in IsInitializerListConstructorConversion() local
3688 QualType ThisType = Constructor->getFunctionObjectParameterType(); in IsInitializerListConstructorConversion()
[all …]
H A DSemaTemplateInstantiateDecl.cpp2606 if (CXXConstructorDecl *Constructor = dyn_cast<CXXConstructorDecl>(D)) { in VisitCXXMethodDecl() local
2609 InstantiatedExplicitSpecifier, Constructor->UsesFPIntrin(), in VisitCXXMethodDecl()
2610 Constructor->isInlineSpecified(), false, in VisitCXXMethodDecl()
2611 Constructor->getConstexprKind(), InheritedConstructor(), in VisitCXXMethodDecl()
2613 Method->setRangeEnd(Constructor->getEndLoc()); in VisitCXXMethodDecl()
2838 if (auto *Constructor = dyn_cast<CXXConstructorDecl>(Method)) { in VisitCXXMethodDecl() local
2839 if (Constructor->isDefaultConstructor() || in VisitCXXMethodDecl()
2840 Constructor->isCopyOrMoveConstructor()) in VisitCXXMethodDecl()
/freebsd/contrib/llvm-project/clang/include/clang/Analysis/FlowSensitive/
H A DCFGMatchSwitch.h80 case CFGElement::Constructor: in Build()
/freebsd/contrib/llvm-project/clang/include/clang/Index/
H A DIndexSymbol.h51 Constructor, enumerator
/freebsd/contrib/llvm-project/clang/include/clang/Sema/
H A DOverload.h1265 CXXConstructorDecl *Constructor; member
1268 explicit operator bool() const { return Constructor; }
1285 Info.Constructor = dyn_cast<CXXConstructorDecl>(D); in getConstructorInfo()
H A DSemaCodeCompletion.h164 Decl *Constructor, ArrayRef<CXXCtorInitializer *> Initializers);
H A DInitialization.h1335 CXXConstructorDecl *Constructor,
/freebsd/contrib/llvm-project/clang/lib/Index/
H A DIndexSymbol.cpp257 Info.Kind = SymbolKind::Constructor; in getSymbolInfo()
295 Info.Kind = SymbolKind::Constructor; in getSymbolInfo()
532 case SymbolKind::Constructor: return "constructor"; in getSymbolKindString()
/freebsd/contrib/llvm-project/clang/lib/Frontend/Rewrite/
H A DRewriteModernObjC.cpp4180 std::string Constructor = " " + Tag; in SynthesizeBlockImpl() local
4186 Constructor += "(void *fp, "; // Invoke function pointer. in SynthesizeBlockImpl()
4187 Constructor += "struct " + Desc; // Descriptor pointer. in SynthesizeBlockImpl()
4188 Constructor += " *desc"; in SynthesizeBlockImpl()
4209 Constructor += ", void *" + ArgName; in SynthesizeBlockImpl()
4216 Constructor += ", " + ArgName; in SynthesizeBlockImpl()
4232 Constructor += ", " + ArgName; in SynthesizeBlockImpl()
4237 Constructor += ", int flags=0)"; in SynthesizeBlockImpl()
4244 Constructor += " : "; in SynthesizeBlockImpl()
4248 Constructor += ", "; in SynthesizeBlockImpl()
[all …]
/freebsd/crypto/openssl/doc/man3/
H A DOSSL_ENCODER_CTX.pod91 described in L</Constructor> below.
133 =head2 Constructor section in DESCRIPTION
H A DOSSL_DECODER_CTX.pod170 =head2 Constructor section in DESCRIPTION
/freebsd/contrib/llvm-project/llvm/lib/DebugInfo/PDB/Native/
H A DNativeTypeFunctionSig.cpp177 return (MemberFunc.getOptions() & FunctionOptions::Constructor) != in hasConstructor()
/freebsd/contrib/llvm-project/llvm/include/llvm/ObjCopy/
H A DCommonConfig.h167 Constructor, enumerator
/freebsd/contrib/kyua/utils/config/
H A Dnodes.ipp146 /// Constructor for a node with an undefined value.
264 /// Constructor for a node with an undefined value.
/freebsd/contrib/llvm-project/llvm/include/llvm/DebugInfo/CodeView/
H A DCodeView.h259 Constructor = 0x02, enumerator
/freebsd/contrib/llvm-project/libcxx/include/
H A Dostream28 // 27.7.2.2 Constructor/destructor:
H A Dios135 // 27.5.4.1 Constructor/destructor:
588 // 27.5.4.1 Constructor/destructor:
/freebsd/contrib/kyua/utils/process/
H A Dexecutor.ipp72 /// Constructor.

123