Home
last modified time | relevance | path

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

123

/src/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()
/src/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 …]
/src/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 __anonb6c8d9b50f11::UninitializedFieldVisitor
3651 Constructor(nullptr), InitList(false), InitListFieldDecl(nullptr) {} in UninitializedFieldVisitor()
3766 if (Constructor) in HandleMemberExpr()
[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 …]
/src/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()
/src/contrib/llvm-project/clang/lib/Frontend/Rewrite/
H A DRewriteObjC.cpp3391 std::string Constructor = " " + Tag; in SynthesizeBlockImpl() local
3397 Constructor += "(void *fp, "; // Invoke function pointer. in SynthesizeBlockImpl()
3398 Constructor += "struct " + Desc; // Descriptor pointer. in SynthesizeBlockImpl()
3399 Constructor += " *desc"; in SynthesizeBlockImpl()
3420 Constructor += ", void *" + ArgName; in SynthesizeBlockImpl()
3427 Constructor += ", " + ArgName; in SynthesizeBlockImpl()
3443 Constructor += ", " + ArgName; in SynthesizeBlockImpl()
3448 Constructor += ", int flags=0)"; in SynthesizeBlockImpl()
3455 Constructor += " : "; in SynthesizeBlockImpl()
3459 Constructor += ", "; in SynthesizeBlockImpl()
[all …]
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 …]
/src/contrib/llvm-project/clang/include/clang/Analysis/FlowSensitive/
H A DCFGMatchSwitch.h80 case CFGElement::Constructor: in Build()
/src/contrib/llvm-project/clang/include/clang/Index/
H A DIndexSymbol.h51 Constructor, enumerator
/src/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()
/src/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);
/src/crypto/openssl/doc/man3/
H A DOSSL_ENCODER_CTX.pod91 described in L</Constructor> below.
140 =head2 Constructor section in DESCRIPTION
H A DOSSL_DECODER_CTX.pod177 =head2 Constructor section in DESCRIPTION
/src/contrib/llvm-project/llvm/include/llvm/ObjCopy/
H A DCommonConfig.h167 Constructor, enumerator
/src/contrib/llvm-project/llvm/lib/DebugInfo/PDB/Native/
H A DNativeTypeFunctionSig.cpp177 return (MemberFunc.getOptions() & FunctionOptions::Constructor) != in hasConstructor()
/src/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.
/src/contrib/llvm-project/llvm/include/llvm/DebugInfo/CodeView/
H A DCodeView.h259 Constructor = 0x02, enumerator
/src/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:
/src/contrib/kyua/utils/process/
H A Dexecutor.ipp72 /// Constructor.

123