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.h37 class CXXConversionDecl; variable
2461 class CXXConversionDecl : public CXXMethodDecl {
2468 CXXConversionDecl(ASTContext &C, CXXRecordDecl *RD, SourceLocation StartLoc, in CXXConversionDecl() function
2478 static CXXConversionDecl *Create(ASTContext &C, CXXRecordDecl *RD,
2485 static CXXConversionDecl *CreateDeserialized(ASTContext &C, unsigned ID);
2497 return cast<CXXConversionDecl>(getFirstDecl())->isExplicitSpecified(); in isExplicit()
/external/clang/lib/AST/
DDeclCXX.cpp596 if (CXXConversionDecl *Conversion = dyn_cast<CXXConversionDecl>(D)) { in addedMember()
1101 cast<CXXConversionDecl>(Conv->getUnderlyingDecl()->getAsFunction()) in GetConversionType()
1982 void CXXConversionDecl::anchor() { } in anchor()
1984 CXXConversionDecl *
1985 CXXConversionDecl::CreateDeserialized(ASTContext &C, unsigned ID) { in CreateDeserialized()
1986 return new (C, ID) CXXConversionDecl(C, nullptr, SourceLocation(), in CreateDeserialized()
1992 CXXConversionDecl *
1993 CXXConversionDecl::Create(ASTContext &C, CXXRecordDecl *RD, in Create()
2002 return new (C, RD) CXXConversionDecl(C, RD, StartLoc, NameInfo, T, TInfo, in Create()
2007 bool CXXConversionDecl::isLambdaToBlockPointerConversion() const { in isLambdaToBlockPointerConversion()
DDeclPrinter.cpp453 CXXConversionDecl *ConversionDecl = dyn_cast<CXXConversionDecl>(D); in VisitFunctionDecl()
DASTImporter.cpp152 Decl *VisitCXXConversionDecl(CXXConversionDecl *D);
3072 } else if (CXXConversionDecl *FromConversion in VisitFunctionDecl()
3073 = dyn_cast<CXXConversionDecl>(D)) { in VisitFunctionDecl()
3074 ToFunction = CXXConversionDecl::Create(Importer.getToContext(), in VisitFunctionDecl()
3151 Decl *ASTNodeImporter::VisitCXXConversionDecl(CXXConversionDecl *D) { in VisitCXXConversionDecl()
DStmtPrinter.cpp1849 if (MD && isa<CXXConversionDecl>(MD)) { in VisitCXXMemberCallExpr()
/external/clang/lib/Frontend/
DASTConsumers.cpp355 const CXXConversionDecl* D = cast<CXXConversionDecl>(DC); in PrintDeclContext()
/external/clang/lib/Sema/
DSemaOverload.cpp3230 CXXConversionDecl *Conv; in IsUserDefinedConversion()
3233 Conv = cast<CXXConversionDecl>(ConvTemplate->getTemplatedDecl()); in IsUserDefinedConversion()
3235 Conv = cast<CXXConversionDecl>(D); in IsUserDefinedConversion()
3288 if (CXXConversionDecl *Conversion in IsUserDefinedConversion()
3289 = dyn_cast<CXXConversionDecl>(Best->Function)) { in IsUserDefinedConversion()
3364 CXXConversionDecl *Conv1 = dyn_cast_or_null<CXXConversionDecl>(Function1); in compareConversionFunctions()
3368 CXXConversionDecl *Conv2 = dyn_cast<CXXConversionDecl>(Function2); in compareConversionFunctions()
4178 CXXConversionDecl *Conv; in FindConversionForRefInit()
4180 Conv = cast<CXXConversionDecl>(ConvTemplate->getTemplatedDecl()); in FindConversionForRefInit()
4182 Conv = cast<CXXConversionDecl>(D); in FindConversionForRefInit()
[all …]
DSemaLambda.cpp1257 CXXConversionDecl *Conversion in addFunctionPointerConversion()
1258 = CXXConversionDecl::Create(S.Context, Class, Loc, in addFunctionPointerConversion()
1360 CXXConversionDecl *Conversion in addBlockPointerConversion()
1361 = CXXConversionDecl::Create(S.Context, Class, Loc, in addBlockPointerConversion()
1649 CXXConversionDecl *Conv, in BuildBlockForLambdaConversion()
DSemaPseudoObject.cpp1076 SmallVector<CXXConversionDecl *, 4> ConversionDecls; in CheckSubscriptingKind()
1080 if (CXXConversionDecl *Conversion = in CheckSubscriptingKind()
1081 dyn_cast<CXXConversionDecl>(D->getUnderlyingDecl())) { in CheckSubscriptingKind()
DSemaExprCXX.cpp1646 Sema &S, CXXConversionDecl *Conv, QualType ConvTy) override { in BuildCXXNew()
1657 Sema &S, CXXConversionDecl *Conv, QualType ConvTy) override { in BuildCXXNew()
2893 SemaDiagnosticBuilder noteExplicitConv(Sema &S, CXXConversionDecl *Conv, in ActOnCXXDelete()
2904 SemaDiagnosticBuilder noteAmbiguous(Sema &S, CXXConversionDecl *Conv, in ActOnCXXDelete()
3220 CXXConversionDecl *Conv = cast<CXXConversionDecl>(Method); in BuildCXXCastArgument()
3261 if (const CXXConversionDecl *Conv = dyn_cast<CXXConversionDecl>(FD)) { in PerformImplicitConversion()
6348 CXXConversionDecl *Method, in BuildCXXMemberCallExpr()
DSemaInit.cpp4021 CXXConversionDecl *Conv; in TryRefInitWithConversionFunction()
4023 Conv = cast<CXXConversionDecl>(ConvTemplate->getTemplatedDecl()); in TryRefInitWithConversionFunction()
4025 Conv = cast<CXXConversionDecl>(D); in TryRefInitWithConversionFunction()
4065 if (isa<CXXConversionDecl>(Function)) in TryRefInitWithConversionFunction()
4642 CXXConversionDecl *Conv; in TryUserDefinedConversion()
4644 Conv = cast<CXXConversionDecl>(ConvTemplate->getTemplatedDecl()); in TryUserDefinedConversion()
4646 Conv = cast<CXXConversionDecl>(D); in TryUserDefinedConversion()
6552 CXXConversionDecl *Conversion = cast<CXXConversionDecl>(Fn); in Perform()
DSemaTemplateDeduction.cpp3670 CXXConversionDecl *ConversionSpecialized, in SpecializeCorrespondingLambdaCallOperatorAndInvoker()
3763 CXXConversionDecl *&Specialization, in DeduceTemplateArguments()
3768 CXXConversionDecl *ConversionGeneric in DeduceTemplateArguments()
3769 = cast<CXXConversionDecl>(ConversionTemplate->getTemplatedDecl()); in DeduceTemplateArguments()
3862 Specialization = cast_or_null<CXXConversionDecl>(ConversionSpecialized); in DeduceTemplateArguments()
DSemaTemplateInstantiateDecl.cpp1850 } else if (CXXConversionDecl *Conversion = dyn_cast<CXXConversionDecl>(D)) { in VisitCXXMethodDecl()
1851 Method = CXXConversionDecl::Create(SemaRef.Context, Record, in VisitCXXMethodDecl()
2002 Decl *TemplateDeclInstantiator::VisitCXXConversionDecl(CXXConversionDecl *D) { in VisitCXXConversionDecl()
DSemaStmt.cpp635 Sema &S, CXXConversionDecl *Conv, QualType ConvTy) override { in CheckSwitchCondition()
646 Sema &S, CXXConversionDecl *Conv, QualType ConvTy) override { in CheckSwitchCondition()
/external/clang/include/clang/Sema/
DOverload.h34 class CXXConversionDecl; variable
614 CXXConversionDecl *Surrogate;
DSema.h82 class CXXConversionDecl; variable
2374 noteExplicitConv(Sema &S, CXXConversionDecl *Conv, QualType ConvTy) = 0;
2383 noteAmbiguous(Sema &S, CXXConversionDecl *Conv, QualType ConvTy) = 0;
2495 void AddConversionCandidate(CXXConversionDecl *Conversion,
2507 void AddSurrogateCandidate(CXXConversionDecl *Conversion,
5189 SourceLocation CurrentLoc, CXXConversionDecl *Conv);
5199 CXXConversionDecl *Conv);
5203 CXXConversionDecl *Conv,
5239 CXXConversionDecl *Method,
5467 Decl *ActOnConversionDeclarator(CXXConversionDecl *Conversion);
[all …]
/external/clang/lib/StaticAnalyzer/Core/
DIssueHash.cpp38 !isa<CXXConversionDecl>(Target)) in GetSignature()
/external/v8/tools/clang/rewrite_scoped_refptr/
DRewriteScopedRefptr.cpp36 const internal::VariadicDynCastAllOfMatcher<Decl, CXXConversionDecl>
/external/clang/lib/Index/
DIndexSymbol.cpp204 else if (isa<CXXConversionDecl>(MD)) in getSymbolInfo()
/external/clang/include/clang/ASTMatchers/
DASTMatchers.h925 const internal::VariadicDynCastAllOfMatcher<Decl, CXXConversionDecl>
5229 CXXConversionDecl)) { in AST_POLYMORPHIC_MATCHER() argument
/external/clang/lib/CodeGen/
DCodeGenFunction.cpp1039 else if (isa<CXXConversionDecl>(FD) && in GenerateCode()
1040 cast<CXXConversionDecl>(FD)->isLambdaToBlockPointerConversion()) { in GenerateCode()
DCGDebugInfo.cpp1289 } else if (const CXXConversionDecl *CXXC = in CreateCXXMemberFunction()
1290 dyn_cast<CXXConversionDecl>(Method)) { in CreateCXXMemberFunction()
/external/clang/lib/Serialization/
DASTWriterDecl.cpp93 void VisitCXXConversionDecl(CXXConversionDecl *D);
1249 void ASTDeclWriter::VisitCXXConversionDecl(CXXConversionDecl *D) { in VisitCXXConversionDecl()
DASTReaderDecl.cpp308 void VisitCXXConversionDecl(CXXConversionDecl *D);
1807 void ASTDeclReader::VisitCXXConversionDecl(CXXConversionDecl *D) { in VisitCXXConversionDecl()
3292 D = CXXConversionDecl::CreateDeserialized(Context, ID); in ReadDeclRecord()

12