Home
last modified time | relevance | path

Searched refs:Constructor (Results 1 – 25 of 62) 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
161 : CFGStmt(CE, Constructor) { in CFGConstructor()
176 return E.getKind() == Constructor; in isKind()
/freebsd/contrib/llvm-project/clang/lib/AST/
H A DDeclCXX.cpp823 if (const auto *Constructor = dyn_cast<CXXConstructorDecl>(D)) { in addedMember() local
824 if (Constructor->isInheritingConstructor()) { in addedMember()
828 if (!Constructor->isImplicit()) { in addedMember()
833 if ((!Constructor->isDeleted() && !Constructor->isDefaulted()) || in addedMember()
844 if (Constructor->isDefaultConstructor()) { in addedMember()
847 if (Constructor->isUserProvided()) in addedMember()
849 if (Constructor->isConstexpr()) in addedMember()
851 if (Constructor->isDefaulted()) in addedMember()
857 if (Constructor->isCopyConstructor(Quals)) { in addedMember()
862 } else if (Constructor->isMoveConstructor()) in addedMember()
[all …]
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaDeclCXX.cpp2417 if (const CXXConstructorDecl *Constructor in CheckConstexprFunctionBody() local
2419 const CXXRecordDecl *RD = Constructor->getParent(); in CheckConstexprFunctionBody()
2427 if (Constructor->getNumCtorInitializers() == 0 && in CheckConstexprFunctionBody()
2436 } else if (!Constructor->isDependentContext() && in CheckConstexprFunctionBody()
2437 !Constructor->isDelegatingConstructor()) { in CheckConstexprFunctionBody()
2456 Constructor->getNumCtorInitializers() != RD->getNumBases() + Fields) { in CheckConstexprFunctionBody()
2461 for (const auto *I: Constructor->inits()) { in CheckConstexprFunctionBody()
3736 const CXXConstructorDecl *Constructor; member in __anon42c808800f11::UninitializedFieldVisitor
3750 Constructor(nullptr), InitList(false), InitListFieldDecl(nullptr) {} in UninitializedFieldVisitor()
3865 if (Constructor) in HandleMemberExpr()
[all …]
H A DSemaInit.cpp4063 DeclAccessPair FoundDecl, CXXConstructorDecl *Constructor, QualType T, in AddConstructorInitializationStep() argument
4071 S.Function.Function = Constructor; in AddConstructorInitializationStep()
4335 if (Info.Constructor->getNumParams() == 0) in hasCopyOrMoveCtorParam()
4339 Info.Constructor->getParamDecl(0)->getType().getNonReferenceType(); in hasCopyOrMoveCtorParam()
4358 if (!Info.Constructor || Info.Constructor->isInvalidDecl()) in ResolveConstructorOverload()
4361 if (OnlyListConstructors && !S.isInitListConstructor(Info.Constructor)) in ResolveConstructorOverload()
4396 S.AddOverloadCandidate(Info.Constructor, Info.FoundDecl, Args, in ResolveConstructorOverload()
5177 if (!Info.Constructor) in TryRefInitWithConversionFunction()
5180 if (!Info.Constructor->isInvalidDecl() && in TryRefInitWithConversionFunction()
5181 Info.Constructor->isConvertingConstructor(/*AllowExplicit*/true)) { in TryRefInitWithConversionFunction()
[all …]
H A DSemaAccess.cpp1654 CXXConstructorDecl *Constructor, in CheckConstructorAccess() argument
1673 << Entity.getBaseSpecifier()->getType() << getSpecialMember(Constructor); in CheckConstructorAccess()
1680 PD << Field->getType() << getSpecialMember(Constructor); in CheckConstructorAccess()
1687 PD << VarName << Entity.getType() << getSpecialMember(Constructor); in CheckConstructorAccess()
1693 return CheckConstructorAccess(UseLoc, Constructor, Found, Entity, PD); in CheckConstructorAccess()
1697 CXXConstructorDecl *Constructor, in CheckConstructorAccess() argument
1705 CXXRecordDecl *NamingClass = Constructor->getParent(); in CheckConstructorAccess()
1730 DeclAccessPair::make(Constructor, Found.getAccess()), in CheckConstructorAccess()
H A DSemaTypeTraits.cpp87 SemaRef.AddOverloadCandidate(CtorInfo.Constructor, CtorInfo.FoundDecl, in LookupSpecialMemberFromXValue()
1056 auto *Constructor = cast<CXXConstructorDecl>(ND->getUnderlyingDecl()); in EvaluateUnaryTypeTrait() local
1057 if (Constructor->isCopyConstructor(FoundTQs)) { in EvaluateUnaryTypeTrait()
1059 auto *CPT = Constructor->getType()->castAs<FunctionProtoType>(); in EvaluateUnaryTypeTrait()
1094 auto *Constructor = cast<CXXConstructorDecl>(ND->getUnderlyingDecl()); in EvaluateUnaryTypeTrait() local
1095 if (Constructor->isDefaultConstructor()) { in EvaluateUnaryTypeTrait()
1097 auto *CPT = Constructor->getType()->castAs<FunctionProtoType>(); in EvaluateUnaryTypeTrait()
H A DSemaOverload.cpp1687 if (CXXConstructorDecl *Constructor in TryUserDefinedConversion() local
1700 !S.isInitListConstructor(Constructor)) { in TryUserDefinedConversion()
1723 ICS.Standard.CopyConstructor = Constructor; in TryUserDefinedConversion()
3871 CXXConstructorDecl *Constructor, in isFirstArgumentCompatibleWithType() argument
3873 const auto *CtorType = Constructor->getType()->castAs<FunctionProtoType>(); in isFirstArgumentCompatibleWithType()
3894 bool Usable = !Info.Constructor->isInvalidDecl() && in IsInitializerListConstructorConversion()
3895 S.isInitListConstructor(Info.Constructor); in IsInitializerListConstructorConversion()
3905 S.AddOverloadCandidate(Info.Constructor, Info.FoundDecl, From, in IsInitializerListConstructorConversion()
3919 CXXConstructorDecl *Constructor = cast<CXXConstructorDecl>(Best->Function); in IsInitializerListConstructorConversion() local
3920 QualType ThisType = Constructor->getFunctionObjectParameterType(); in IsInitializerListConstructorConversion()
[all …]
/freebsd/contrib/llvm-project/clang/lib/Analysis/
H A DConsumed.cpp765 CXXConstructorDecl *Constructor = Call->getConstructor(); in VisitCXXConstructExpr() local
767 QualType ThisType = Constructor->getFunctionObjectParameterType(); in VisitCXXConstructExpr()
773 if (ReturnTypestateAttr *RTA = Constructor->getAttr<ReturnTypestateAttr>()) { in VisitCXXConstructExpr()
777 } else if (Constructor->isDefaultConstructor()) { in VisitCXXConstructExpr()
780 } else if (Constructor->isMoveConstructor()) { in VisitCXXConstructExpr()
782 } else if (Constructor->isCopyConstructor()) { in VisitCXXConstructExpr()
785 isSetOnReadPtrType(Constructor->getThisType()) ? in VisitCXXConstructExpr()
1194 if (const auto *Constructor = dyn_cast<CXXConstructorDecl>(D)) { in determineExpectedReturnState() local
1195 ReturnType = Constructor->getFunctionObjectParameterType(); in determineExpectedReturnState()
/freebsd/contrib/llvm-project/clang/lib/Frontend/Rewrite/
H A DRewriteObjC.cpp3389 std::string Constructor = " " + Tag; in SynthesizeBlockImpl() local
3395 Constructor += "(void *fp, "; // Invoke function pointer. in SynthesizeBlockImpl()
3396 Constructor += "struct " + Desc; // Descriptor pointer. in SynthesizeBlockImpl()
3397 Constructor += " *desc"; in SynthesizeBlockImpl()
3418 Constructor += ", void *" + ArgName; in SynthesizeBlockImpl()
3425 Constructor += ", " + ArgName; in SynthesizeBlockImpl()
3441 Constructor += ", " + ArgName; in SynthesizeBlockImpl()
3446 Constructor += ", int flags=0)"; in SynthesizeBlockImpl()
3453 Constructor += " : "; in SynthesizeBlockImpl()
3457 Constructor += ", "; in SynthesizeBlockImpl()
[all …]
H A DRewriteModernObjC.cpp4177 std::string Constructor = " " + Tag; in SynthesizeBlockImpl() local
4183 Constructor += "(void *fp, "; // Invoke function pointer. in SynthesizeBlockImpl()
4184 Constructor += "struct " + Desc; // Descriptor pointer. in SynthesizeBlockImpl()
4185 Constructor += " *desc"; in SynthesizeBlockImpl()
4205 Constructor += ", void *" + ArgName; in SynthesizeBlockImpl()
4212 Constructor += ", " + ArgName; in SynthesizeBlockImpl()
4227 Constructor += ", " + ArgName; in SynthesizeBlockImpl()
4232 Constructor += ", int flags=0)"; in SynthesizeBlockImpl()
4238 Constructor += " : "; in SynthesizeBlockImpl()
4241 Constructor += ", "; in SynthesizeBlockImpl()
[all …]
/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/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/llvm/lib/Support/
H A DTrieRawHashMap.cpp262 Constructor) { in insert()
286 const uint8_t *HashStorage = Constructor(Memory + ContentOffset, Hash); in insert()
/freebsd/contrib/llvm-project/clang/include/clang/Sema/
H A DOverload.h1506 CXXConstructorDecl *Constructor; member
1509 explicit operator bool() const { return Constructor; }
1526 Info.Constructor = dyn_cast<CXXConstructorDecl>(D); in getConstructorInfo()
H A DSemaCodeCompletion.h167 Decl *Constructor, ArrayRef<CXXCtorInitializer *> Initializers);
/freebsd/crypto/openssl/doc/man3/
H A DOSSL_ENCODER_CTX.pod91 described in L</Constructor> below.
140 =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.h180 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.h232 Constructor = 0x02, enumerator
/freebsd/contrib/llvm-project/llvm/include/llvm/ADT/
H A DTrieRawHashMap.h131 Constructor);
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/
H A DSymbolManager.cpp102 case CFGElement::Constructor: in getStmt()
/freebsd/contrib/llvm-project/libcxx/include/__cxx03/
H A Dostream28 // 27.7.2.2 Constructor/destructor:

123