Home
last modified time | relevance | path

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

12

/external/clang/include/clang/AST/
DASTLambda.h48 inline bool isLambdaConversionOperator(CXXConversionDecl *C) { in isLambdaConversionOperator()
54 if (CXXConversionDecl *Conv = dyn_cast<CXXConversionDecl>(D)) in isLambdaConversionOperator()
57 if (CXXConversionDecl *Conv = in isLambdaConversionOperator()
58 dyn_cast_or_null<CXXConversionDecl>(F->getTemplatedDecl())) in isLambdaConversionOperator()
DDeclCXX.h35 class CXXConversionDecl; variable
2382 class CXXConversionDecl : public CXXMethodDecl {
2389 CXXConversionDecl(ASTContext &C, CXXRecordDecl *RD, SourceLocation StartLoc, in CXXConversionDecl() function
2399 static CXXConversionDecl *Create(ASTContext &C, CXXRecordDecl *RD,
2406 static CXXConversionDecl *CreateDeserialized(ASTContext &C, unsigned ID);
2418 return cast<CXXConversionDecl>(getFirstDecl())->isExplicitSpecified(); in isExplicit()
DDataRecursiveASTVisitor.h1758 DEF_TRAVERSE_DECL(CXXConversionDecl, {
DRecursiveASTVisitor.h1811 DEF_TRAVERSE_DECL(CXXConversionDecl, {
/external/clang/lib/AST/
DDeclCXX.cpp566 if (CXXConversionDecl *Conversion = dyn_cast<CXXConversionDecl>(D)) { in addedMember()
1044 cast<CXXConversionDecl>(Conv->getUnderlyingDecl()->getAsFunction()) in GetConversionType()
1859 void CXXConversionDecl::anchor() { } in anchor()
1861 CXXConversionDecl *
1862 CXXConversionDecl::CreateDeserialized(ASTContext &C, unsigned ID) { in CreateDeserialized()
1863 return new (C, ID) CXXConversionDecl(C, nullptr, SourceLocation(), in CreateDeserialized()
1869 CXXConversionDecl *
1870 CXXConversionDecl::Create(ASTContext &C, CXXRecordDecl *RD, in Create()
1879 return new (C, RD) CXXConversionDecl(C, RD, StartLoc, NameInfo, T, TInfo, in Create()
1884 bool CXXConversionDecl::isLambdaToBlockPointerConversion() const { in isLambdaToBlockPointerConversion()
DDeclPrinter.cpp388 CXXConversionDecl *ConversionDecl = dyn_cast<CXXConversionDecl>(D); in VisitFunctionDecl()
DASTImporter.cpp144 Decl *VisitCXXConversionDecl(CXXConversionDecl *D);
2758 } else if (CXXConversionDecl *FromConversion in VisitFunctionDecl()
2759 = dyn_cast<CXXConversionDecl>(D)) { in VisitFunctionDecl()
2760 ToFunction = CXXConversionDecl::Create(Importer.getToContext(), in VisitFunctionDecl()
2830 Decl *ASTNodeImporter::VisitCXXConversionDecl(CXXConversionDecl *D) { in VisitCXXConversionDecl()
DStmtPrinter.cpp1456 if (MD && isa<CXXConversionDecl>(MD)) { in VisitCXXMemberCallExpr()
/external/clang/lib/Frontend/
DASTConsumers.cpp348 const CXXConversionDecl* D = cast<CXXConversionDecl>(DC); in PrintDeclContext()
/external/clang/lib/Sema/
DSemaOverload.cpp3150 CXXConversionDecl *Conv; in IsUserDefinedConversion()
3153 Conv = cast<CXXConversionDecl>(ConvTemplate->getTemplatedDecl()); in IsUserDefinedConversion()
3155 Conv = cast<CXXConversionDecl>(D); in IsUserDefinedConversion()
3206 if (CXXConversionDecl *Conversion in IsUserDefinedConversion()
3207 = dyn_cast<CXXConversionDecl>(Best->Function)) { in IsUserDefinedConversion()
3285 CXXConversionDecl *Conv1 = dyn_cast_or_null<CXXConversionDecl>(Function1); in compareConversionFunctions()
3289 CXXConversionDecl *Conv2 = dyn_cast<CXXConversionDecl>(Function2); in compareConversionFunctions()
4091 CXXConversionDecl *Conv; in FindConversionForRefInit()
4093 Conv = cast<CXXConversionDecl>(ConvTemplate->getTemplatedDecl()); in FindConversionForRefInit()
4095 Conv = cast<CXXConversionDecl>(D); in FindConversionForRefInit()
[all …]
DSemaLambda.cpp1262 CXXConversionDecl *Conversion in addFunctionPointerConversion()
1263 = CXXConversionDecl::Create(S.Context, Class, Loc, in addFunctionPointerConversion()
1360 CXXConversionDecl *Conversion in addBlockPointerConversion()
1361 = CXXConversionDecl::Create(S.Context, Class, Loc, in addBlockPointerConversion()
1558 CXXConversionDecl *Conv, in BuildBlockForLambdaConversion()
DSemaExprCXX.cpp1307 Sema &S, CXXConversionDecl *Conv, QualType ConvTy) override { in BuildCXXNew()
1318 Sema &S, CXXConversionDecl *Conv, QualType ConvTy) override { in BuildCXXNew()
2295 SemaDiagnosticBuilder noteExplicitConv(Sema &S, CXXConversionDecl *Conv, in ActOnCXXDelete()
2306 SemaDiagnosticBuilder noteAmbiguous(Sema &S, CXXConversionDecl *Conv, in ActOnCXXDelete()
2578 CXXConversionDecl *Conv = cast<CXXConversionDecl>(Method); in BuildCXXCastArgument()
2621 if (const CXXConversionDecl *Conv = dyn_cast<CXXConversionDecl>(FD)) { in PerformImplicitConversion()
5610 CXXConversionDecl *Method, in BuildCXXMemberCallExpr()
DSemaPseudoObject.cpp1051 SmallVector<CXXConversionDecl *, 4> ConversionDecls; in CheckSubscriptingKind()
1055 if (CXXConversionDecl *Conversion in CheckSubscriptingKind()
1056 = dyn_cast<CXXConversionDecl>((*I)->getUnderlyingDecl())) { in CheckSubscriptingKind()
DSemaInit.cpp3621 CXXConversionDecl *Conv; in TryRefInitWithConversionFunction()
3623 Conv = cast<CXXConversionDecl>(ConvTemplate->getTemplatedDecl()); in TryRefInitWithConversionFunction()
3625 Conv = cast<CXXConversionDecl>(D); in TryRefInitWithConversionFunction()
3665 if (isa<CXXConversionDecl>(Function)) in TryRefInitWithConversionFunction()
4254 CXXConversionDecl *Conv; in TryUserDefinedConversion()
4256 Conv = cast<CXXConversionDecl>(ConvTemplate->getTemplatedDecl()); in TryUserDefinedConversion()
4258 Conv = cast<CXXConversionDecl>(D); in TryUserDefinedConversion()
5979 CXXConversionDecl *Conversion = cast<CXXConversionDecl>(Fn); in Perform()
DSemaTemplateDeduction.cpp3654 CXXConversionDecl *ConversionSpecialized, in SpecializeCorrespondingLambdaCallOperatorAndInvoker()
3745 CXXConversionDecl *&Specialization, in DeduceTemplateArguments()
3750 CXXConversionDecl *ConversionGeneric in DeduceTemplateArguments()
3751 = cast<CXXConversionDecl>(ConversionTemplate->getTemplatedDecl()); in DeduceTemplateArguments()
3844 Specialization = cast_or_null<CXXConversionDecl>(ConversionSpecialized); in DeduceTemplateArguments()
DSemaTemplateInstantiateDecl.cpp1621 } else if (CXXConversionDecl *Conversion = dyn_cast<CXXConversionDecl>(D)) { in VisitCXXMethodDecl()
1622 Method = CXXConversionDecl::Create(SemaRef.Context, Record, in VisitCXXMethodDecl()
1774 Decl *TemplateDeclInstantiator::VisitCXXConversionDecl(CXXConversionDecl *D) { in VisitCXXConversionDecl()
DSemaStmt.cpp621 Sema &S, CXXConversionDecl *Conv, QualType ConvTy) override { in ActOnStartOfSwitchStmt()
632 Sema &S, CXXConversionDecl *Conv, QualType ConvTy) override { in ActOnStartOfSwitchStmt()
DSemaOpenMP.cpp1980 SemaDiagnosticBuilder noteExplicitConv(Sema &S, CXXConversionDecl *Conv, in PerformOpenMPImplicitIntegerConversion()
1989 SemaDiagnosticBuilder noteAmbiguous(Sema &S, CXXConversionDecl *Conv, in PerformOpenMPImplicitIntegerConversion()
/external/clang/include/clang/Sema/
DOverload.h33 class CXXConversionDecl; variable
611 CXXConversionDecl *Surrogate;
DSema.h80 class CXXConversionDecl; variable
2163 noteExplicitConv(Sema &S, CXXConversionDecl *Conv, QualType ConvTy) = 0;
2172 noteAmbiguous(Sema &S, CXXConversionDecl *Conv, QualType ConvTy) = 0;
2280 void AddConversionCandidate(CXXConversionDecl *Conversion,
2292 void AddSurrogateCandidate(CXXConversionDecl *Conversion,
4691 SourceLocation CurrentLoc, CXXConversionDecl *Conv);
4701 CXXConversionDecl *Conv);
4705 CXXConversionDecl *Conv,
4743 CXXConversionDecl *Method,
4966 Decl *ActOnConversionDeclarator(CXXConversionDecl *Conversion);
[all …]
/external/chromium_org/tools/clang/rewrite_scoped_refptr/
DRewriteScopedRefptr.cpp35 const internal::VariadicDynCastAllOfMatcher<Decl, CXXConversionDecl>
/external/clang/lib/CodeGen/
DCodeGenFunction.cpp812 else if (isa<CXXConversionDecl>(FD) && in GenerateCode()
813 cast<CXXConversionDecl>(FD)->isLambdaToBlockPointerConversion()) { in GenerateCode()
/external/clang/lib/Serialization/
DASTWriterDecl.cpp85 void VisitCXXConversionDecl(CXXConversionDecl *D);
1052 void ASTDeclWriter::VisitCXXConversionDecl(CXXConversionDecl *D) { in VisitCXXConversionDecl()
DASTReaderDecl.cpp272 void VisitCXXConversionDecl(CXXConversionDecl *D);
1519 void ASTDeclReader::VisitCXXConversionDecl(CXXConversionDecl *D) { in VisitCXXConversionDecl()
2676 D = CXXConversionDecl::CreateDeserialized(Context, ID); in ReadDeclRecord()
/external/clang/tools/libclang/
DIndexingContext.cpp1060 else if (isa<CXXConversionDecl>(MD)) in getEntityInfo()

12