Home
last modified time | relevance | path

Searched refs:CXXConversionDecl (Results 1 – 25 of 33) 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
2395 class CXXConversionDecl : public CXXMethodDecl {
2402 CXXConversionDecl(ASTContext &C, CXXRecordDecl *RD, SourceLocation StartLoc, in CXXConversionDecl() function
2412 static CXXConversionDecl *Create(ASTContext &C, CXXRecordDecl *RD,
2419 static CXXConversionDecl *CreateDeserialized(ASTContext &C, unsigned ID);
2431 return cast<CXXConversionDecl>(getFirstDecl())->isExplicitSpecified(); in isExplicit()
DRecursiveASTVisitor.h1816 DEF_TRAVERSE_DECL(CXXConversionDecl, {
/external/clang/lib/AST/
DDeclCXX.cpp560 if (CXXConversionDecl *Conversion = dyn_cast<CXXConversionDecl>(D)) { in addedMember()
1045 cast<CXXConversionDecl>(Conv->getUnderlyingDecl()->getAsFunction()) in GetConversionType()
1918 void CXXConversionDecl::anchor() { } in anchor()
1920 CXXConversionDecl *
1921 CXXConversionDecl::CreateDeserialized(ASTContext &C, unsigned ID) { in CreateDeserialized()
1922 return new (C, ID) CXXConversionDecl(C, nullptr, SourceLocation(), in CreateDeserialized()
1928 CXXConversionDecl *
1929 CXXConversionDecl::Create(ASTContext &C, CXXRecordDecl *RD, in Create()
1938 return new (C, RD) CXXConversionDecl(C, RD, StartLoc, NameInfo, T, TInfo, in Create()
1943 bool CXXConversionDecl::isLambdaToBlockPointerConversion() const { in isLambdaToBlockPointerConversion()
DDeclPrinter.cpp445 CXXConversionDecl *ConversionDecl = dyn_cast<CXXConversionDecl>(D); in VisitFunctionDecl()
DASTImporter.cpp145 Decl *VisitCXXConversionDecl(CXXConversionDecl *D);
2853 } else if (CXXConversionDecl *FromConversion in VisitFunctionDecl()
2854 = dyn_cast<CXXConversionDecl>(D)) { in VisitFunctionDecl()
2855 ToFunction = CXXConversionDecl::Create(Importer.getToContext(), in VisitFunctionDecl()
2932 Decl *ASTNodeImporter::VisitCXXConversionDecl(CXXConversionDecl *D) { in VisitCXXConversionDecl()
DStmtPrinter.cpp1721 if (MD && isa<CXXConversionDecl>(MD)) { in VisitCXXMemberCallExpr()
/external/clang/lib/Frontend/
DASTConsumers.cpp357 const CXXConversionDecl* D = cast<CXXConversionDecl>(DC); in PrintDeclContext()
/external/clang/include/clang/Sema/
DOverload.h34 class CXXConversionDecl; variable
610 CXXConversionDecl *Surrogate;
DSema.h80 class CXXConversionDecl; variable
2309 noteExplicitConv(Sema &S, CXXConversionDecl *Conv, QualType ConvTy) = 0;
2318 noteAmbiguous(Sema &S, CXXConversionDecl *Conv, QualType ConvTy) = 0;
2430 void AddConversionCandidate(CXXConversionDecl *Conversion,
2442 void AddSurrogateCandidate(CXXConversionDecl *Conversion,
5071 SourceLocation CurrentLoc, CXXConversionDecl *Conv);
5081 CXXConversionDecl *Conv);
5085 CXXConversionDecl *Conv,
5123 CXXConversionDecl *Method,
5344 Decl *ActOnConversionDeclarator(CXXConversionDecl *Conversion);
[all …]
/external/clang/lib/Sema/
DSemaOverload.cpp3177 CXXConversionDecl *Conv; in IsUserDefinedConversion()
3180 Conv = cast<CXXConversionDecl>(ConvTemplate->getTemplatedDecl()); in IsUserDefinedConversion()
3182 Conv = cast<CXXConversionDecl>(D); in IsUserDefinedConversion()
3235 if (CXXConversionDecl *Conversion in IsUserDefinedConversion()
3236 = dyn_cast<CXXConversionDecl>(Best->Function)) { in IsUserDefinedConversion()
3311 CXXConversionDecl *Conv1 = dyn_cast_or_null<CXXConversionDecl>(Function1); in compareConversionFunctions()
3315 CXXConversionDecl *Conv2 = dyn_cast<CXXConversionDecl>(Function2); in compareConversionFunctions()
4121 CXXConversionDecl *Conv; in FindConversionForRefInit()
4123 Conv = cast<CXXConversionDecl>(ConvTemplate->getTemplatedDecl()); in FindConversionForRefInit()
4125 Conv = cast<CXXConversionDecl>(D); in FindConversionForRefInit()
[all …]
DSemaLambda.cpp1250 CXXConversionDecl *Conversion in addFunctionPointerConversion()
1251 = CXXConversionDecl::Create(S.Context, Class, Loc, in addFunctionPointerConversion()
1353 CXXConversionDecl *Conversion in addBlockPointerConversion()
1354 = CXXConversionDecl::Create(S.Context, Class, Loc, in addBlockPointerConversion()
1632 CXXConversionDecl *Conv, in BuildBlockForLambdaConversion()
DSemaPseudoObject.cpp1075 SmallVector<CXXConversionDecl *, 4> ConversionDecls; in CheckSubscriptingKind()
1079 if (CXXConversionDecl *Conversion = in CheckSubscriptingKind()
1080 dyn_cast<CXXConversionDecl>(D->getUnderlyingDecl())) { in CheckSubscriptingKind()
DSemaExprCXX.cpp1413 Sema &S, CXXConversionDecl *Conv, QualType ConvTy) override { in BuildCXXNew()
1424 Sema &S, CXXConversionDecl *Conv, QualType ConvTy) override { in BuildCXXNew()
2668 SemaDiagnosticBuilder noteExplicitConv(Sema &S, CXXConversionDecl *Conv, in ActOnCXXDelete()
2679 SemaDiagnosticBuilder noteAmbiguous(Sema &S, CXXConversionDecl *Conv, in ActOnCXXDelete()
2955 CXXConversionDecl *Conv = cast<CXXConversionDecl>(Method); in BuildCXXCastArgument()
2996 if (const CXXConversionDecl *Conv = dyn_cast<CXXConversionDecl>(FD)) { in PerformImplicitConversion()
6072 CXXConversionDecl *Method, in BuildCXXMemberCallExpr()
DSemaInit.cpp3893 CXXConversionDecl *Conv; in TryRefInitWithConversionFunction()
3895 Conv = cast<CXXConversionDecl>(ConvTemplate->getTemplatedDecl()); in TryRefInitWithConversionFunction()
3897 Conv = cast<CXXConversionDecl>(D); in TryRefInitWithConversionFunction()
3937 if (isa<CXXConversionDecl>(Function)) in TryRefInitWithConversionFunction()
4524 CXXConversionDecl *Conv; in TryUserDefinedConversion()
4526 Conv = cast<CXXConversionDecl>(ConvTemplate->getTemplatedDecl()); in TryUserDefinedConversion()
4528 Conv = cast<CXXConversionDecl>(D); in TryUserDefinedConversion()
6388 CXXConversionDecl *Conversion = cast<CXXConversionDecl>(Fn); in Perform()
DSemaTemplateDeduction.cpp3678 CXXConversionDecl *ConversionSpecialized, in SpecializeCorrespondingLambdaCallOperatorAndInvoker()
3771 CXXConversionDecl *&Specialization, in DeduceTemplateArguments()
3776 CXXConversionDecl *ConversionGeneric in DeduceTemplateArguments()
3777 = cast<CXXConversionDecl>(ConversionTemplate->getTemplatedDecl()); in DeduceTemplateArguments()
3870 Specialization = cast_or_null<CXXConversionDecl>(ConversionSpecialized); in DeduceTemplateArguments()
DSemaTemplateInstantiateDecl.cpp1774 } else if (CXXConversionDecl *Conversion = dyn_cast<CXXConversionDecl>(D)) { in VisitCXXMethodDecl()
1775 Method = CXXConversionDecl::Create(SemaRef.Context, Record, in VisitCXXMethodDecl()
1927 Decl *TemplateDeclInstantiator::VisitCXXConversionDecl(CXXConversionDecl *D) { in VisitCXXConversionDecl()
DSemaStmt.cpp625 Sema &S, CXXConversionDecl *Conv, QualType ConvTy) override { in ActOnStartOfSwitchStmt()
636 Sema &S, CXXConversionDecl *Conv, QualType ConvTy) override { in ActOnStartOfSwitchStmt()
/external/clang/lib/StaticAnalyzer/Core/
DIssueHash.cpp38 !isa<CXXConversionDecl>(Target)) in GetSignature()
/external/clang/include/clang/ASTMatchers/
DASTMatchers.h816 const internal::VariadicDynCastAllOfMatcher<Decl, CXXConversionDecl>
4570 CXXConversionDecl)) { in AST_POLYMORPHIC_MATCHER() argument
/external/clang/lib/CodeGen/
DCodeGenFunction.cpp969 else if (isa<CXXConversionDecl>(FD) && in GenerateCode()
970 cast<CXXConversionDecl>(FD)->isLambdaToBlockPointerConversion()) { in GenerateCode()
DCGDebugInfo.cpp1179 } else if (const CXXConversionDecl *CXXC = in CreateCXXMemberFunction()
1180 dyn_cast<CXXConversionDecl>(Method)) { in CreateCXXMemberFunction()
/external/clang/tools/libclang/
DIndexingContext.cpp1060 else if (isa<CXXConversionDecl>(MD)) in getEntityInfo()
/external/clang/lib/Serialization/
DASTWriterDecl.cpp85 void VisitCXXConversionDecl(CXXConversionDecl *D);
1206 void ASTDeclWriter::VisitCXXConversionDecl(CXXConversionDecl *D) { in VisitCXXConversionDecl()
DASTReaderDecl.cpp284 void VisitCXXConversionDecl(CXXConversionDecl *D);
1725 void ASTDeclReader::VisitCXXConversionDecl(CXXConversionDecl *D) { in VisitCXXConversionDecl()
3174 D = CXXConversionDecl::CreateDeserialized(Context, ID); in ReadDeclRecord()

12