Home
last modified time | relevance | path

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

1234

/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/llvm-project/clang/include/clang/AST/
DASTLambda.h47 inline bool isLambdaConversionOperator(CXXConversionDecl *C) { in isLambdaConversionOperator()
53 if (CXXConversionDecl *Conv = dyn_cast<CXXConversionDecl>(D)) in isLambdaConversionOperator()
56 if (CXXConversionDecl *Conv = in isLambdaConversionOperator()
57 dyn_cast_or_null<CXXConversionDecl>(F->getTemplatedDecl())) in isLambdaConversionOperator()
DDeclCXX.h2709 class CXXConversionDecl : public CXXMethodDecl {
2710 CXXConversionDecl(ASTContext &C, CXXRecordDecl *RD, SourceLocation StartLoc,
2727 static CXXConversionDecl *
2732 static CXXConversionDecl *CreateDeserialized(ASTContext &C, unsigned ID);
2755 CXXConversionDecl *getCanonicalDecl() override { in getCanonicalDecl()
2756 return cast<CXXConversionDecl>(FunctionDecl::getCanonicalDecl()); in getCanonicalDecl()
2758 const CXXConversionDecl *getCanonicalDecl() const { in getCanonicalDecl()
2759 return const_cast<CXXConversionDecl*>(this)->getCanonicalDecl(); in getCanonicalDecl()
/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()
/external/llvm-project/clang-tools-extra/clang-tidy/modernize/
DUseNodiscardCheck.cpp40 return isa<CXXConversionDecl>(Node); in AST_MATCHER()
/external/llvm-project/clang/include/clang/Tooling/Refactoring/
DRecursiveSymbolVisitor.h44 return isa<CXXConversionDecl>(D) ? true : visit(D, D->getLocation()); in VisitNamedDecl()
/external/clang/lib/Frontend/
DASTConsumers.cpp355 const CXXConversionDecl* D = cast<CXXConversionDecl>(DC); in PrintDeclContext()
/external/llvm-project/clang/lib/StaticAnalyzer/Checkers/WebKit/
DPtrTypesSemantics.cpp157 if (auto *maybeRefToRawOperator = dyn_cast<CXXConversionDecl>(M)) { in isGetterOfRefCounted()
/external/llvm-project/clang-tools-extra/clang-tidy/google/
DExplicitConstructorCheck.cpp88 Result.Nodes.getNodeAs<CXXConversionDecl>("conversion")) { in check()
/external/llvm-project/clang/lib/AST/
DDeclCXX.cpp852 if (auto *Conversion = dyn_cast<CXXConversionDecl>(D)) { in addedMember()
1594 cast<CXXConversionDecl>(Conv->getUnderlyingDecl()->getAsFunction()) in GetConversionType()
2050 return cast<CXXConversionDecl>(Function)->getExplicitSpecifier(); in getFromDecl()
2762 void CXXConversionDecl::anchor() {} in anchor()
2764 CXXConversionDecl *
2765 CXXConversionDecl::CreateDeserialized(ASTContext &C, unsigned ID) { in CreateDeserialized()
2766 return new (C, ID) CXXConversionDecl( in CreateDeserialized()
2772 CXXConversionDecl *CXXConversionDecl::Create( in Create()
2781 CXXConversionDecl(C, RD, StartLoc, NameInfo, T, TInfo, isInline, ES, in Create()
2785 bool CXXConversionDecl::isLambdaToBlockPointerConversion() const { in isLambdaToBlockPointerConversion()
/external/clang/include/clang/Sema/
DOverload.h34 class CXXConversionDecl; variable
614 CXXConversionDecl *Surrogate;
/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()
/external/llvm-project/clang/lib/Sema/
DSemaOverload.cpp3522 CXXConversionDecl *Conv; in IsUserDefinedConversion()
3525 Conv = cast<CXXConversionDecl>(ConvTemplate->getTemplatedDecl()); in IsUserDefinedConversion()
3527 Conv = cast<CXXConversionDecl>(D); in IsUserDefinedConversion()
3578 if (CXXConversionDecl *Conversion in IsUserDefinedConversion()
3579 = dyn_cast<CXXConversionDecl>(Best->Function)) { in IsUserDefinedConversion()
3652 getConversionOpReturnTyAsFunction(CXXConversionDecl *Conv) { in getConversionOpReturnTyAsFunction()
3669 CXXConversionDecl *Conv1 = dyn_cast_or_null<CXXConversionDecl>(Function1); in compareConversionFunctions()
3670 CXXConversionDecl *Conv2 = dyn_cast_or_null<CXXConversionDecl>(Function2); in compareConversionFunctions()
4626 CXXConversionDecl *Conv; in FindConversionForRefInit()
4628 Conv = cast<CXXConversionDecl>(ConvTemplate->getTemplatedDecl()); in FindConversionForRefInit()
[all …]
DSemaLambda.cpp1440 CXXConversionDecl *Conversion = CXXConversionDecl::Create( in addFunctionPointerConversion()
1549 CXXConversionDecl *Conversion = CXXConversionDecl::Create( in addBlockPointerConversion()
1959 CXXConversionDecl *Conv, in BuildBlockForLambdaConversion()
DSemaInit.cpp3979 CXXConversionDecl *Conv; in ResolveConstructorOverload()
3981 Conv = cast<CXXConversionDecl>(ConvTemplate->getTemplatedDecl()); in ResolveConstructorOverload()
3983 Conv = cast<CXXConversionDecl>(D); in ResolveConstructorOverload()
4129 if (auto *CD = dyn_cast<CXXConversionDecl>(Best->Function)) { in TryConstructorInitialization()
4564 CXXConversionDecl *Conv; in TryRefInitWithConversionFunction()
4566 Conv = cast<CXXConversionDecl>(ConvTemplate->getTemplatedDecl()); in TryRefInitWithConversionFunction()
4568 Conv = cast<CXXConversionDecl>(D); in TryRefInitWithConversionFunction()
4608 if (isa<CXXConversionDecl>(Function)) in TryRefInitWithConversionFunction()
5238 CXXConversionDecl *Conv; in TryUserDefinedConversion()
5240 Conv = cast<CXXConversionDecl>(ConvTemplate->getTemplatedDecl()); in TryUserDefinedConversion()
[all …]
DSemaPseudoObject.cpp1080 SmallVector<CXXConversionDecl *, 4> ConversionDecls; in CheckSubscriptingKind()
1084 if (CXXConversionDecl *Conversion = in CheckSubscriptingKind()
1085 dyn_cast<CXXConversionDecl>(D->getUnderlyingDecl())) { in CheckSubscriptingKind()
/external/llvm-project/clang/lib/Analysis/
DIssueHash.cpp44 !isa<CXXConversionDecl>(Target)) in GetSignature()
/external/clang/lib/StaticAnalyzer/Core/
DIssueHash.cpp38 !isa<CXXConversionDecl>(Target)) in GetSignature()
/external/llvm-project/clang-tools-extra/clang-tidy/bugprone/
DVirtualNearMissCheck.cpp191 !isa<CXXConversionDecl>(BaseMD); in isPossibleToBeOverridden()
/external/clang/lib/Index/
DIndexSymbol.cpp204 else if (isa<CXXConversionDecl>(MD)) in getSymbolInfo()
/external/llvm-project/clang-tools-extra/clangd/
DAST.cpp371 if (CurLoc.isInvalid() && dyn_cast<CXXConversionDecl>(D)) in VisitFunctionDecl()
/external/llvm-project/clang/include/clang/Sema/
DOverload.h807 CXXConversionDecl *Surrogate;

1234