Home
last modified time | relevance | path

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

123

/freebsd-14.2/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-14.2/contrib/llvm-project/clang/lib/AST/
H A DDeclCXX.cpp779 if (!Constructor->isImplicit()) { in addedMember()
784 if ((!Constructor->isDeleted() && !Constructor->isDefaulted()) || in addedMember()
798 if (Constructor->isUserProvided()) in addedMember()
800 if (Constructor->isConstexpr()) in addedMember()
802 if (Constructor->isDefaulted()) in addedMember()
825 : (Constructor->isUserProvided() || Constructor->isExplicit())) in addedMember()
838 if (Constructor->isConstexpr() && !Constructor->isCopyOrMoveConstructor()) in addedMember()
1472 if (Constructor->isConstexpr()) in finishedDefaultedOrDeletedMember()
1475 if (Constructor->isCopyConstructor()) in finishedDefaultedOrDeletedMember()
1479 else if (Constructor->isConstexpr()) in finishedDefaultedOrDeletedMember()
[all …]
/freebsd-14.2/contrib/llvm-project/clang/lib/Sema/
H A DSemaDeclCXX.cpp3907 if (Constructor) in HandleMemberExpr()
3910 << (Constructor->isDefaultConstructor() && Constructor->isImplicit()); in HandleMemberExpr()
4451 CXXConstructorDecl *Constructor in BuildMemInitializer() local
4453 if (!Constructor) { in BuildMemInitializer()
5785 CXXConstructorDecl *Constructor in ActOnMemInitializers() local
5788 if (!Constructor) { in ActOnMemInitializers()
14024 assert((Constructor->isDefaulted() && Constructor->isDefaultConstructor() && in DefineImplicitDefaultConstructor()
14028 if (Constructor->willHaveBody() || Constructor->isInvalidDecl()) in DefineImplicitDefaultConstructor()
14167 if (Constructor->willHaveBody() || Constructor->isInvalidDecl()) in DefineInheritingConstructor()
16083 Constructor = findInheritingConstructor(ConstructLoc, Constructor, Shadow); in BuildCXXConstructExpr()
[all …]
H A DHLSLExternalSemaSource.cpp162 CXXConstructorDecl *Constructor = CXXConstructorDecl::Create( in addDefaultHandleConstructor() local
177 AST, SourceLocation(), Constructor->getFunctionObjectParameterType(), in addDefaultHandleConstructor()
197 Constructor->setBody( in addDefaultHandleConstructor()
200 Constructor->setAccess(AccessSpecifier::AS_public); in addDefaultHandleConstructor()
201 Record->addDecl(Constructor); in addDefaultHandleConstructor()
H A DSemaInit.cpp3852 S.Function.Function = Constructor; in AddConstructorInitializationStep()
4079 if (Info.Constructor->getNumParams() == 0) in hasCopyOrMoveCtorParam()
4102 if (!Info.Constructor || Info.Constructor->isInvalidDecl()) in ResolveConstructorOverload()
4783 if (!Info.Constructor) in TryRefInitWithConversionFunction()
4786 if (!Info.Constructor->isInvalidDecl() && in TryRefInitWithConversionFunction()
5704 if (!Info.Constructor) in TryUserDefinedConversion()
7017 CXXConstructorDecl *Constructor in PerformConstructorInitialization() local
7032 if (Constructor->isDefaulted() && Constructor->isDefaultConstructor() && in PerformConstructorInitialization()
7033 Constructor->isTrivial() && !Constructor->isUsed(false)) { in PerformConstructorInitialization()
9890 CXXConstructorDecl *Constructor in Diagnose() local
[all …]
H A DSemaAccess.cpp1642 CXXConstructorDecl *Constructor, in CheckConstructorAccess() argument
1661 << Entity.getBaseSpecifier()->getType() << getSpecialMember(Constructor); in CheckConstructorAccess()
1668 PD << Field->getType() << getSpecialMember(Constructor); in CheckConstructorAccess()
1675 PD << VarName << Entity.getType() << getSpecialMember(Constructor); in CheckConstructorAccess()
1681 return CheckConstructorAccess(UseLoc, Constructor, Found, Entity, PD); in CheckConstructorAccess()
1686 CXXConstructorDecl *Constructor, in CheckConstructorAccess() argument
1694 CXXRecordDecl *NamingClass = Constructor->getParent(); in CheckConstructorAccess()
1719 DeclAccessPair::make(Constructor, Found.getAccess()), in CheckConstructorAccess()
H A DSemaOverload.cpp1569 if (CXXConstructorDecl *Constructor in TryUserDefinedConversion() local
1575 if (Constructor->isCopyConstructor() && in TryUserDefinedConversion()
1585 ICS.Standard.CopyConstructor = Constructor; in TryUserDefinedConversion()
3628 bool Usable = !Info.Constructor->isInvalidDecl() && in IsInitializerListConstructorConversion()
3658 User.ConversionFunction = Constructor; in IsInitializerListConstructorConversion()
3749 bool Usable = !Info.Constructor->isInvalidDecl(); in IsUserDefinedConversion()
3833 if (CXXConstructorDecl *Constructor in IsUserDefinedConversion() local
3853 User.ConversionFunction = Constructor; in IsUserDefinedConversion()
6784 if (Constructor && Constructor->isDefaulted() && Constructor->isDeleted() && in AddOverloadCandidate()
6785 Constructor->isMoveConstructor()) in AddOverloadCandidate()
[all …]
H A DTreeTransform.h3466 CXXConstructorDecl *FoundCtor = Constructor; in RebuildCXXConstructExpr()
3467 if (Constructor->isInheritingConstructor()) in RebuildCXXConstructExpr()
3475 return getSema().BuildCXXConstructExpr(Loc, T, Constructor, in RebuildCXXConstructExpr()
3492 Loc, T, Constructor, ConstructsVBase, InheritedFromVBase); in RebuildCXXInheritedCtorInitExpr()
13264 if (!Constructor) in TransformCXXConstructExpr()
13280 Constructor == E->getConstructor() && in TransformCXXConstructExpr()
13304 if (!Constructor) in TransformCXXInheritedCtorInitExpr()
13309 Constructor == E->getConstructor()) { in TransformCXXInheritedCtorInitExpr()
13317 T, E->getLocation(), Constructor, in TransformCXXInheritedCtorInitExpr()
13356 if (!Constructor) in TransformCXXTemporaryObjectExpr()
[all …]
/freebsd-14.2/contrib/llvm-project/clang/lib/Analysis/
H A DConsumed.cpp772 CXXConstructorDecl *Constructor = Call->getConstructor(); in VisitCXXConstructExpr() local
774 QualType ThisType = Constructor->getFunctionObjectParameterType(); in VisitCXXConstructExpr()
780 if (ReturnTypestateAttr *RTA = Constructor->getAttr<ReturnTypestateAttr>()) { in VisitCXXConstructExpr()
784 } else if (Constructor->isDefaultConstructor()) { in VisitCXXConstructExpr()
787 } else if (Constructor->isMoveConstructor()) { in VisitCXXConstructExpr()
789 } else if (Constructor->isCopyConstructor()) { in VisitCXXConstructExpr()
792 isSetOnReadPtrType(Constructor->getThisType()) ? in VisitCXXConstructExpr()
1201 if (const auto *Constructor = dyn_cast<CXXConstructorDecl>(D)) { in determineExpectedReturnState() local
1202 ReturnType = Constructor->getFunctionObjectParameterType(); in determineExpectedReturnState()
/freebsd-14.2/contrib/llvm-project/clang/include/clang/Analysis/FlowSensitive/
H A DCFGMatchSwitch.h80 case CFGElement::Constructor: in Build()
/freebsd-14.2/contrib/llvm-project/clang/lib/Frontend/Rewrite/
H A DRewriteObjC.cpp3399 Constructor += " *desc"; in SynthesizeBlockImpl()
3427 Constructor += ", " + ArgName; in SynthesizeBlockImpl()
3448 Constructor += ", int flags=0)"; in SynthesizeBlockImpl()
3455 Constructor += " : "; in SynthesizeBlockImpl()
3459 Constructor += ", "; in SynthesizeBlockImpl()
3470 Constructor += " : "; in SynthesizeBlockImpl()
3474 Constructor += ", "; in SynthesizeBlockImpl()
3478 Constructor += " {\n"; in SynthesizeBlockImpl()
3496 Constructor += " "; in SynthesizeBlockImpl()
3497 Constructor += "}\n"; in SynthesizeBlockImpl()
[all …]
H A DRewriteModernObjC.cpp4189 Constructor += " *desc"; in SynthesizeBlockImpl()
4217 Constructor += ", " + ArgName; in SynthesizeBlockImpl()
4238 Constructor += ", int flags=0)"; in SynthesizeBlockImpl()
4245 Constructor += " : "; in SynthesizeBlockImpl()
4249 Constructor += ", "; in SynthesizeBlockImpl()
4260 Constructor += " : "; in SynthesizeBlockImpl()
4264 Constructor += ", "; in SynthesizeBlockImpl()
4268 Constructor += " {\n"; in SynthesizeBlockImpl()
4286 Constructor += " "; in SynthesizeBlockImpl()
4287 Constructor += "}\n"; in SynthesizeBlockImpl()
[all …]
/freebsd-14.2/contrib/llvm-project/clang/include/clang/Index/
H A DIndexSymbol.h51 Constructor, enumerator
/freebsd-14.2/contrib/llvm-project/clang/include/clang/Sema/
H A DOverload.h1207 CXXConstructorDecl *Constructor; member
1210 explicit operator bool() const { return Constructor; }
1227 Info.Constructor = dyn_cast<CXXConstructorDecl>(D); in getConstructorInfo()
H A DInitialization.h1335 CXXConstructorDecl *Constructor,
/freebsd-14.2/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-14.2/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-14.2/contrib/llvm-project/llvm/lib/DebugInfo/PDB/Native/
H A DNativeTypeFunctionSig.cpp177 return (MemberFunc.getOptions() & FunctionOptions::Constructor) != in hasConstructor()
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/ObjCopy/
H A DCommonConfig.h174 Constructor, enumerator
/freebsd-14.2/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-14.2/contrib/llvm-project/llvm/include/llvm/DebugInfo/CodeView/
H A DCodeView.h252 Constructor = 0x02, enumerator
/freebsd-14.2/contrib/kyua/utils/process/
H A Dexecutor.ipp72 /// Constructor.
/freebsd-14.2/contrib/llvm-project/libcxx/include/
H A Dios135 // 27.5.4.1 Constructor/destructor:
553 // 27.5.4.1 Constructor/destructor:

123