Home
last modified time | relevance | path

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

1234

/openbsd-src/gnu/llvm/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.h66 Constructor, enumerator
158 : CFGStmt(CE, Constructor) { in CFGConstructor()
173 return E.getKind() == Constructor; in isKind()
/openbsd-src/gnu/llvm/clang/lib/AST/
H A DDeclCXX.cpp762 if (const auto *Constructor = dyn_cast<CXXConstructorDecl>(D)) { in addedMember() local
763 if (Constructor->isInheritingConstructor()) { in addedMember()
767 if (!Constructor->isImplicit()) { in addedMember()
772 if ((!Constructor->isDeleted() && !Constructor->isDefaulted()) || in addedMember()
783 if (Constructor->isDefaultConstructor()) { in addedMember()
786 if (Constructor->isUserProvided()) in addedMember()
788 if (Constructor->isConstexpr()) in addedMember()
790 if (Constructor->isDefaulted()) in addedMember()
796 if (Constructor->isCopyConstructor(Quals)) { in addedMember()
801 } else if (Constructor->isMoveConstructor()) in addedMember()
[all …]
/openbsd-src/gnu/llvm/clang/lib/Sema/
H A DSemaDeclCXX.cpp2301 if (const CXXConstructorDecl *Constructor in CheckConstexprFunctionBody() local
2303 const CXXRecordDecl *RD = Constructor->getParent(); in CheckConstexprFunctionBody()
2311 if (Constructor->getNumCtorInitializers() == 0 && in CheckConstexprFunctionBody()
2323 } else if (!Constructor->isDependentContext() && in CheckConstexprFunctionBody()
2324 !Constructor->isDelegatingConstructor()) { in CheckConstexprFunctionBody()
2343 Constructor->getNumCtorInitializers() != RD->getNumBases() + Fields) { in CheckConstexprFunctionBody()
2348 for (const auto *I: Constructor->inits()) { in CheckConstexprFunctionBody()
3628 const CXXConstructorDecl *Constructor; member in __anonb2dcaa771011::UninitializedFieldVisitor
3642 Constructor(nullptr), InitList(false), InitListFieldDecl(nullptr) {} in UninitializedFieldVisitor()
3757 if (Constructor) in HandleMemberExpr()
[all …]
H A DHLSLExternalSemaSource.cpp164 CXXConstructorDecl *Constructor = CXXConstructorDecl::Create( in addDefaultHandleConstructor() local
180 Constructor->getThisType().getTypePtr()->getPointeeType(), true); in addDefaultHandleConstructor()
200 Constructor->setBody( in addDefaultHandleConstructor()
203 Constructor->setAccess(AccessSpecifier::AS_public); in addDefaultHandleConstructor()
204 Record->addDecl(Constructor); in addDefaultHandleConstructor()
H A DSemaInit.cpp3733 DeclAccessPair FoundDecl, CXXConstructorDecl *Constructor, QualType T, in AddConstructorInitializationStep() argument
3741 S.Function.Function = Constructor; in AddConstructorInitializationStep()
3968 if (Info.Constructor->getNumParams() == 0) in hasCopyOrMoveCtorParam()
3972 Info.Constructor->getParamDecl(0)->getType().getNonReferenceType(); in hasCopyOrMoveCtorParam()
3994 if (!Info.Constructor || Info.Constructor->isInvalidDecl()) in ResolveConstructorOverload()
3997 if (OnlyListConstructors && !S.isInitListConstructor(Info.Constructor)) in ResolveConstructorOverload()
4032 S.AddOverloadCandidate(Info.Constructor, Info.FoundDecl, Args, in ResolveConstructorOverload()
4645 if (!Info.Constructor) in TryRefInitWithConversionFunction()
4648 if (!Info.Constructor->isInvalidDecl() && in TryRefInitWithConversionFunction()
4649 Info.Constructor->isConvertingConstructor(/*AllowExplicit*/true)) { in TryRefInitWithConversionFunction()
[all …]
H A DSemaAccess.cpp1632 CXXConstructorDecl *Constructor, in CheckConstructorAccess() argument
1651 << Entity.getBaseSpecifier()->getType() << getSpecialMember(Constructor); in CheckConstructorAccess()
1658 PD << Field->getType() << getSpecialMember(Constructor); in CheckConstructorAccess()
1665 PD << VarName << Entity.getType() << getSpecialMember(Constructor); in CheckConstructorAccess()
1671 return CheckConstructorAccess(UseLoc, Constructor, Found, Entity, PD); in CheckConstructorAccess()
1676 CXXConstructorDecl *Constructor, in CheckConstructorAccess() argument
1684 CXXRecordDecl *NamingClass = Constructor->getParent(); in CheckConstructorAccess()
1709 DeclAccessPair::make(Constructor, Found.getAccess()), in CheckConstructorAccess()
H A DSemaOverload.cpp1459 if (CXXConstructorDecl *Constructor in TryUserDefinedConversion() local
1465 if (Constructor->isCopyConstructor() && in TryUserDefinedConversion()
1475 ICS.Standard.CopyConstructor = Constructor; in TryUserDefinedConversion()
3449 CXXConstructorDecl *Constructor, in isFirstArgumentCompatibleWithType() argument
3451 const auto *CtorType = Constructor->getType()->castAs<FunctionProtoType>(); in isFirstArgumentCompatibleWithType()
3472 bool Usable = !Info.Constructor->isInvalidDecl() && in IsInitializerListConstructorConversion()
3473 S.isInitListConstructor(Info.Constructor); in IsInitializerListConstructorConversion()
3483 S.AddOverloadCandidate(Info.Constructor, Info.FoundDecl, From, in IsInitializerListConstructorConversion()
3497 CXXConstructorDecl *Constructor = cast<CXXConstructorDecl>(Best->Function); in IsInitializerListConstructorConversion() local
3498 QualType ThisType = Constructor->getThisType(); in IsInitializerListConstructorConversion()
[all …]
/openbsd-src/gnu/llvm/clang/lib/Analysis/
H A DConsumed.cpp772 CXXConstructorDecl *Constructor = Call->getConstructor(); in VisitCXXConstructExpr() local
774 QualType ThisType = Constructor->getThisType()->getPointeeType(); 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->getThisType()->getPointeeType(); in determineExpectedReturnState()
/openbsd-src/gnu/llvm/clang/include/clang/Analysis/FlowSensitive/
H A DCFGMatchSwitch.h80 case CFGElement::Constructor: in Build()
/openbsd-src/gnu/llvm/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.cpp4182 std::string Constructor = " " + Tag; in SynthesizeBlockImpl() local
4188 Constructor += "(void *fp, "; // Invoke function pointer. in SynthesizeBlockImpl()
4189 Constructor += "struct " + Desc; // Descriptor pointer. in SynthesizeBlockImpl()
4190 Constructor += " *desc"; in SynthesizeBlockImpl()
4211 Constructor += ", void *" + ArgName; in SynthesizeBlockImpl()
4218 Constructor += ", " + ArgName; in SynthesizeBlockImpl()
4234 Constructor += ", " + ArgName; in SynthesizeBlockImpl()
4239 Constructor += ", int flags=0)"; in SynthesizeBlockImpl()
4246 Constructor += " : "; in SynthesizeBlockImpl()
4250 Constructor += ", "; in SynthesizeBlockImpl()
[all …]
/openbsd-src/gnu/llvm/clang/include/clang/Index/
H A DIndexSymbol.h51 Constructor, enumerator
/openbsd-src/gnu/llvm/clang/include/clang/Sema/
H A DOverload.h1204 CXXConstructorDecl *Constructor; member
1207 explicit operator bool() const { return Constructor; }
1224 Info.Constructor = dyn_cast<CXXConstructorDecl>(D); in getConstructorInfo()
/openbsd-src/gnu/llvm/clang/lib/Index/
H A DIndexSymbol.cpp256 Info.Kind = SymbolKind::Constructor; in getSymbolInfo()
294 Info.Kind = SymbolKind::Constructor; in getSymbolInfo()
532 case SymbolKind::Constructor: return "constructor"; in getSymbolKindString()
/openbsd-src/gnu/llvm/compiler-rt/lib/scudo/standalone/tests/
H A Dstrings_test.cpp15 TEST(ScudoStringsTest, Constructor) { in TEST() argument
/openbsd-src/gnu/usr.bin/perl/ext/Pod-Html/t/
H A Dhtmlview.pod33 Constructor method. Accepts the following config options:
H A Dhtmlview.t95 <p>Constructor method. Accepts the following config options:</p>
/openbsd-src/gnu/llvm/llvm/lib/DebugInfo/PDB/Native/
H A DNativeTypeFunctionSig.cpp177 return (MemberFunc.getOptions() & FunctionOptions::Constructor) != in hasConstructor()
/openbsd-src/gnu/llvm/llvm/include/llvm/ObjCopy/
H A DCommonConfig.h173 Constructor, enumerator
/openbsd-src/gnu/usr.bin/binutils/gdb/
H A DPROBLEMS74 gdb/1091: Constructor breakpoints ignored
/openbsd-src/gnu/llvm/llvm/include/llvm/DebugInfo/CodeView/
H A DCodeView.h249 Constructor = 0x02, enumerator
/openbsd-src/gnu/lib/libstdc++/libstdc++/include/backward/
H A Dstrstream70 // Constructor, destructor
/openbsd-src/gnu/gcc/libstdc++-v3/include/backward/
H A Dstrstream70 // Constructor, destructor
/openbsd-src/gnu/llvm/clang/tools/libclang/
H A DCIndex.cpp872 if (CXXConstructorDecl *Constructor = dyn_cast<CXXConstructorDecl>(ND)) { in VisitFunctionDecl() local
875 for (auto *I : Constructor->inits()) { in VisitFunctionDecl()
8822 const CXXConstructorDecl *Constructor = in clang_CXXConstructor_isDefaultConstructor() local
8824 return (Constructor && Constructor->isDefaultConstructor()) ? 1 : 0; in clang_CXXConstructor_isDefaultConstructor()
8832 const CXXConstructorDecl *Constructor = in clang_CXXConstructor_isCopyConstructor() local
8834 return (Constructor && Constructor->isCopyConstructor()) ? 1 : 0; in clang_CXXConstructor_isCopyConstructor()
8842 const CXXConstructorDecl *Constructor = in clang_CXXConstructor_isMoveConstructor() local
8844 return (Constructor && Constructor->isMoveConstructor()) ? 1 : 0; in clang_CXXConstructor_isMoveConstructor()
8852 const CXXConstructorDecl *Constructor = in clang_CXXConstructor_isConvertingConstructor() local
8855 return (Constructor && Constructor->isConvertingConstructor(false)) ? 1 : 0; in clang_CXXConstructor_isConvertingConstructor()

1234