Home
last modified time | relevance | path

Searched refs:CXXConversionDecl (Results 1 – 25 of 42) sorted by relevance

12

/freebsd/contrib/llvm-project/clang/lib/AST/
H A DDeclCXX.cpp904 if (auto *Conversion = dyn_cast<CXXConversionDecl>(D)) { in addedMember()
1748 cast<CXXConversionDecl>(Conv->getUnderlyingDecl()->getAsFunction()) in GetConversionType()
2187 return cast<CXXConversionDecl>(Function)->getExplicitSpecifier(); in getFromDecl()
2918 void CXXConversionDecl::anchor() {} in anchor()
2920 CXXConversionDecl *CXXConversionDecl::CreateDeserialized(ASTContext &C, in CreateDeserialized()
2922 return new (C, ID) CXXConversionDecl( in CreateDeserialized()
2928 CXXConversionDecl *CXXConversionDecl::Create( in Create()
2937 return new (C, RD) CXXConversionDecl( in Create()
2942 bool CXXConversionDecl::isLambdaToBlockPointerConversion() const { in isLambdaToBlockPointerConversion()
H A DDeclPrinter.cpp662 CXXConversionDecl *ConversionDecl = dyn_cast<CXXConversionDecl>(D); in VisitFunctionDecl()
H A DASTStructuralEquivalence.cpp1521 if (auto *Conversion1 = dyn_cast<CXXConversionDecl>(Method1)) { in IsStructurallyEquivalent()
1522 auto *Conversion2 = cast<CXXConversionDecl>(Method2); in IsStructurallyEquivalent()
/freebsd/contrib/llvm-project/clang/include/clang/Tooling/Refactoring/
H A DRecursiveSymbolVisitor.h44 return isa<CXXConversionDecl>(D) ? true : visit(D, D->getLocation()); in VisitNamedDecl()
/freebsd/contrib/llvm-project/clang/lib/Analysis/
H A DIssueHash.cpp45 !isa<CXXConversionDecl>(Target)) in GetSignature()
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaOverload.cpp3839 CXXConversionDecl *Conv; in IsUserDefinedConversion()
3842 Conv = cast<CXXConversionDecl>(ConvTemplate->getTemplatedDecl()); in IsUserDefinedConversion()
3844 Conv = cast<CXXConversionDecl>(D); in IsUserDefinedConversion()
3894 if (CXXConversionDecl *Conversion in IsUserDefinedConversion()
3895 = dyn_cast<CXXConversionDecl>(Best->Function)) { in IsUserDefinedConversion()
3968 getConversionOpReturnTyAsFunction(CXXConversionDecl *Conv) { in getConversionOpReturnTyAsFunction()
3985 CXXConversionDecl *Conv1 = dyn_cast_or_null<CXXConversionDecl>(Function1); in compareConversionFunctions()
3986 CXXConversionDecl *Conv2 = dyn_cast_or_null<CXXConversionDecl>(Function2); in compareConversionFunctions()
4930 CXXConversionDecl *Conv; in FindConversionForRefInit()
4932 Conv = cast<CXXConversionDecl>(ConvTemplate->getTemplatedDecl()); in FindConversionForRefInit()
[all …]
H A DSemaLambda.cpp1749 CXXConversionDecl *Conversion = CXXConversionDecl::Create( in addFunctionPointerConversion()
1871 CXXConversionDecl *Conversion = CXXConversionDecl::Create( in addBlockPointerConversion()
2288 CXXConversionDecl *Conv, in BuildBlockForLambdaConversion()
H A DSemaInit.cpp4307 CXXConversionDecl *Conv; in ResolveConstructorOverload()
4309 Conv = cast<CXXConversionDecl>(ConvTemplate->getTemplatedDecl()); in ResolveConstructorOverload()
4311 Conv = cast<CXXConversionDecl>(D); in ResolveConstructorOverload()
4459 if (auto *CD = dyn_cast<CXXConversionDecl>(Best->Function)) { in TryConstructorInitialization()
4957 CXXConversionDecl *Conv; in TryRefInitWithConversionFunction()
4959 Conv = cast<CXXConversionDecl>(ConvTemplate->getTemplatedDecl()); in TryRefInitWithConversionFunction()
4961 Conv = cast<CXXConversionDecl>(D); in TryRefInitWithConversionFunction()
5001 if (isa<CXXConversionDecl>(Function)) in TryRefInitWithConversionFunction()
5887 CXXConversionDecl *Conv; in TryUserDefinedConversion()
5889 Conv = cast<CXXConversionDecl>(ConvTemplate->getTemplatedDecl()); in TryUserDefinedConversion()
[all …]
H A DSemaOpenACC.cpp1293 CXXConversionDecl *Conv, in ActOnIntExpr()
1305 noteAmbiguous(Sema &S, CXXConversionDecl *Conv, QualType ConvTy) override { in ActOnIntExpr()
H A DSemaObjC.cpp1411 SmallVector<CXXConversionDecl *, 4> ConversionDecls; in CheckSubscriptingKind()
1415 if (CXXConversionDecl *Conversion = in CheckSubscriptingKind()
1416 dyn_cast<CXXConversionDecl>(D->getUnderlyingDecl())) { in CheckSubscriptingKind()
H A DSemaTemplateDeduction.cpp3777 : cast<CXXConversionDecl>(D)->getExplicitSpecifier(); in instantiateExplicitSpecifierDeferred()
3782 : cast<CXXConversionDecl>(D)->setExplicitSpecifier(ES); in instantiateExplicitSpecifierDeferred()
3935 if (isa<CXXConstructorDecl, CXXConversionDecl>(Specialization)) { in FinishTemplateArgumentDeduction()
4753 CXXConversionDecl *&Specialization, TemplateDeductionInfo &Info) { in DeduceTemplateArguments()
4757 CXXConversionDecl *ConversionGeneric in DeduceTemplateArguments()
4758 = cast<CXXConversionDecl>(ConversionTemplate->getTemplatedDecl()); in DeduceTemplateArguments()
4877 Specialization = cast_or_null<CXXConversionDecl>(ConversionSpecialized); in DeduceTemplateArguments()
H A DSemaConcept.cpp858 if (const auto *MD = dyn_cast<CXXConversionDecl>(FD); in CheckFunctionConstraints()
859 MD && isLambdaConversionOperator(const_cast<CXXConversionDecl *>(MD))) in CheckFunctionConstraints()
H A DSemaExprCXX.cpp2226 Sema &S, CXXConversionDecl *Conv, QualType ConvTy) override { in BuildCXXNew()
2237 Sema &S, CXXConversionDecl *Conv, QualType ConvTy) override { in BuildCXXNew()
3674 SemaDiagnosticBuilder noteExplicitConv(Sema &S, CXXConversionDecl *Conv, in ActOnCXXDelete()
3685 SemaDiagnosticBuilder noteAmbiguous(Sema &S, CXXConversionDecl *Conv, in ActOnCXXDelete()
4182 CXXConversionDecl *Conv = cast<CXXConversionDecl>(Method); in BuildCXXCastArgument()
4224 if (const CXXConversionDecl *Conv = dyn_cast<CXXConversionDecl>(FD)) { in PerformImplicitConversion()
H A DCheckExprLifetime.cpp273 if (auto *Conv = dyn_cast_or_null<CXXConversionDecl>(Callee)) in shouldTrackImplicitObjectArg()
H A DSemaTemplateInstantiateDecl.cpp2624 } else if (CXXConversionDecl *Conversion = dyn_cast<CXXConversionDecl>(D)) { in VisitCXXMethodDecl()
2625 Method = CXXConversionDecl::Create( in VisitCXXMethodDecl()
2896 Decl *TemplateDeclInstantiator::VisitCXXConversionDecl(CXXConversionDecl *D) { in VisitCXXConversionDecl()
/freebsd/contrib/llvm-project/clang/include/clang/AST/
H A DDeclCXX.h2869 class CXXConversionDecl : public CXXMethodDecl {
2870 CXXConversionDecl(ASTContext &C, CXXRecordDecl *RD, SourceLocation StartLoc,
2888 static CXXConversionDecl *
2894 static CXXConversionDecl *CreateDeserialized(ASTContext &C, GlobalDeclID ID);
2917 CXXConversionDecl *getCanonicalDecl() override { in getCanonicalDecl()
2918 return cast<CXXConversionDecl>(FunctionDecl::getCanonicalDecl()); in getCanonicalDecl()
2920 const CXXConversionDecl *getCanonicalDecl() const { in getCanonicalDecl()
2921 return const_cast<CXXConversionDecl*>(this)->getCanonicalDecl(); in getCanonicalDecl()
/freebsd/contrib/llvm-project/clang/include/clang/ExtractAPI/
H A DDeclarationFragments.h352 getFragmentsForConversionFunction(const CXXConversionDecl *);
H A DExtractAPIVisitor.h92 bool VisitCXXConversionDecl(const CXXConversionDecl *Decl);
650 if (isa<CXXConversionDecl>(Decl)) in VisitCXXMethodDecl()
1288 const CXXConversionDecl *Decl) { in VisitCXXConversionDecl()
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/WebKit/
H A DPtrTypesSemantics.cpp190 if (auto *maybeRefToRawOperator = dyn_cast<CXXConversionDecl>(M)) { in isGetterOfRefCounted()
/freebsd/contrib/llvm-project/clang/lib/ExtractAPI/
H A DDeclarationFragments.cpp909 const CXXConversionDecl *ConversionFunction) { in getFragmentsForConversionFunction()
1606 else if (isa<CXXConversionDecl>(Decl)) { in getSubHeading()
1608 cast<CXXConversionDecl>(Decl)->getConversionType().getAsString(), in getSubHeading()
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DMoveChecker.cpp497 dyn_cast_or_null<CXXConversionDecl>(MethodDec)) { in isMoveSafeMethod()
H A DSmartPtrModeling.cpp238 const auto *CD = dyn_cast_or_null<CXXConversionDecl>(Call.getDecl()); in isBoolConversionMethod()
/freebsd/contrib/llvm-project/clang/include/clang/Sema/
H A DOverload.h890 CXXConversionDecl *Surrogate;
H A DSema.h104 class CXXConversionDecl; variable
5238 CXXConversionDecl *Conv);
5248 CXXConversionDecl *Conv);
5584 Decl *ActOnConversionDeclarator(CXXConversionDecl *Conversion);
8874 CXXConversionDecl *Conv, Expr *Src);
10071 noteExplicitConv(Sema &S, CXXConversionDecl *Conv, QualType ConvTy) = 0;
10080 noteAmbiguous(Sema &S, CXXConversionDecl *Conv, QualType ConvTy) = 0;
10257 CXXConversionDecl *Conversion, DeclAccessPair FoundDecl,
10278 void AddSurrogateCandidate(CXXConversionDecl *Conversion,
10623 CXXConversionDecl *Method,
[all …]
/freebsd/contrib/llvm-project/clang/lib/Index/
H A DIndexSymbol.cpp298 else if (isa<CXXConversionDecl>(MD)) in getSymbolInfo()

12