Home
last modified time | relevance | path

Searched refs:CXXDeductionGuideDecl (Results 1 – 24 of 24) sorted by relevance

/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaTemplateDeductionGuide.cpp214 CXXDeductionGuideDecl::Create(SemaRef.Context, DC, LocStart, ES, Name,
1156 auto *GG = cast<CXXDeductionGuideDecl>(FPrime); in BuildDeductionGuideForTypeAlias()
1176 cast<CXXDeductionGuideDecl>(Result->getTemplatedDecl()) in BuildDeductionGuideForTypeAlias()
1206 if (auto *DG = dyn_cast<CXXDeductionGuideDecl>(G)) { in DeclareImplicitDeductionGuidesForTypeAlias()
1250 if (cast<CXXDeductionGuideDecl>(F->getTemplatedDecl()) in DeclareImplicitDeductionGuidesForTypeAlias()
1302 CXXDeductionGuideDecl *GD = Found->getSecond(); in DeclareAggregateDeductionGuideFromInitList()
1309 auto *GD = cast<CXXDeductionGuideDecl>(FTD->getTemplatedDecl()); in DeclareAggregateDeductionGuideFromInitList()
1351 auto *GD = cast<CXXDeductionGuideDecl>(FTD->getTemplatedDecl()); in DeclareAggregateDeductionGuideFromInitList()
1443 cast<CXXDeductionGuideDecl>( in DeclareImplicitDeductionGuides()
H A DSemaTemplateInstantiateDecl.cpp2126 if (auto *DGuide = dyn_cast<CXXDeductionGuideDecl>(D)) { in VisitFunctionDecl()
2190 if (auto *DGuide = dyn_cast<CXXDeductionGuideDecl>(D)) { in VisitFunctionDecl()
2191 Function = CXXDeductionGuideDecl::Create( in VisitFunctionDecl()
3832 TemplateDeclInstantiator::VisitCXXDeductionGuideDecl(CXXDeductionGuideDecl *D) { in VisitCXXDeductionGuideDecl()
4885 if (Function->isInvalidDecl() || isa<CXXDeductionGuideDecl>(Function)) in InstantiateFunctionDefinition()
6155 isa<CXXDeductionGuideDecl>(D->getDeclContext())) in FindInstantiatedDecl()
6222 auto *Guide = dyn_cast<CXXDeductionGuideDecl>(FD); in FindInstantiatedDecl()
H A DSemaAccess.cpp88 if (auto *DGD = dyn_cast<CXXDeductionGuideDecl>(DC)) { in EffectiveContext()
H A DSemaInit.cpp9787 CXXDeductionGuideDecl *GD, in DeduceTemplateSpecializationFromInitializer()
9892 auto *GD = cast<CXXDeductionGuideDecl>(TD->getTemplatedDecl()); in DeduceTemplateSpecializationFromInitializer()
9907 auto *GD = dyn_cast_if_present<CXXDeductionGuideDecl>( in DeduceTemplateSpecializationFromInitializer()
10031 cast<CXXDeductionGuideDecl>(Best->Function)->isExplicit()) { in DeduceTemplateSpecializationFromInitializer()
H A DSema.cpp885 if (isa<CXXDeductionGuideDecl>(ND)) in getUndefinedButUsed()
H A DSemaTemplateInstantiate.cpp4398 isa<CXXDeductionGuideDecl>(D->getDeclContext())) in findInstantiationOf()
H A DSemaOverload.cpp10514 auto *Guide1 = dyn_cast_or_null<CXXDeductionGuideDecl>(Cand1.Function); in isBetterOverloadCandidate()
10515 auto *Guide2 = dyn_cast_or_null<CXXDeductionGuideDecl>(Cand2.Function); in isBetterOverloadCandidate()
11865 auto *DG = dyn_cast<CXXDeductionGuideDecl>(Fn); in NoteImplicitDeductionGuide()
H A DSemaDecl.cpp9268 return CXXDeductionGuideDecl::Create(SemaRef.Context, DC, D.getBeginLoc(), in CreateNewFunctionDecl()
9963 !isa<CXXDeductionGuideDecl>(NewFD)) { in ActOnFunctionDeclarator()
12052 } else if (auto *Guide = dyn_cast<CXXDeductionGuideDecl>(NewFD)) { in CheckFunctionDeclaration()
H A DSemaTemplateDeduction.cpp1360 auto *Guide = dyn_cast<CXXDeductionGuideDecl>(FTD->getTemplatedDecl()); in getFirstInnerIndex()
H A DSemaDeclCXX.cpp686 if (isa<CXXDeductionGuideDecl>(New) && in MergeCXXFunctionDecl()
3554 if (auto *DG = dyn_cast<CXXDeductionGuideDecl>(NonTemplateMember)) { in ActOnCXXMemberDeclarator()
/freebsd/contrib/llvm-project/clang/lib/AST/
H A DDeclCXX.cpp2165 void CXXDeductionGuideDecl::anchor() {} in anchor()
2189 return cast<CXXDeductionGuideDecl>(Function)->getExplicitSpecifier(); in getFromDecl()
2195 CXXDeductionGuideDecl *CXXDeductionGuideDecl::Create( in Create()
2200 return new (C, DC) CXXDeductionGuideDecl(C, DC, StartLoc, ES, NameInfo, T, in Create()
2204 CXXDeductionGuideDecl *
2205 CXXDeductionGuideDecl::CreateDeserialized(ASTContext &C, GlobalDeclID ID) { in CreateDeserialized()
2206 return new (C, ID) CXXDeductionGuideDecl( in CreateDeserialized()
H A DDeclPrinter.cpp663 CXXDeductionGuideDecl *GuideDecl = dyn_cast<CXXDeductionGuideDecl>(D); in VisitFunctionDecl()
1281 !isa<CXXDeductionGuideDecl>(D->getTemplatedDecl())) { in VisitFunctionTemplateDecl()
H A DJSONNodeDumper.cpp863 if (isa<CXXDeductionGuideDecl>(ND)) in VisitNamedDecl()
H A DASTImporter.cpp487 ExpectedDecl VisitCXXDeductionGuideDecl(CXXDeductionGuideDecl *D);
3940 } else if (auto *Guide = dyn_cast<CXXDeductionGuideDecl>(D)) { in VisitFunctionDecl()
3947 if (GetImportedOrCreateDecl<CXXDeductionGuideDecl>( in VisitFunctionDecl()
3951 cast<CXXDeductionGuideDecl>(ToFunction) in VisitFunctionDecl()
4103 ASTNodeImporter::VisitCXXDeductionGuideDecl(CXXDeductionGuideDecl *D) { in VisitCXXDeductionGuideDecl()
H A DTextNodeDumper.cpp2186 const CXXDeductionGuideDecl *D) { in VisitCXXDeductionGuideDecl()
/freebsd/contrib/llvm-project/clang/include/clang/AST/
H A DTextNodeDumper.h360 void VisitCXXDeductionGuideDecl(const CXXDeductionGuideDecl *D);
H A DDeclCXX.h1959 class CXXDeductionGuideDecl : public FunctionDecl {
1963 CXXDeductionGuideDecl(ASTContext &C, DeclContext *DC, SourceLocation StartLoc, in CXXDeductionGuideDecl() function
1984 static CXXDeductionGuideDecl *
1991 static CXXDeductionGuideDecl *CreateDeserialized(ASTContext &C,
H A DDeclBase.h1716 friend class CXXDeductionGuideDecl;
H A DRecursiveASTVisitor.h2274 DEF_TRAVERSE_DECL(CXXDeductionGuideDecl, {
/freebsd/contrib/llvm-project/clang/lib/Index/
H A DIndexDecl.cpp284 } else if (const auto *Guide = dyn_cast<CXXDeductionGuideDecl>(D)) { in VisitFunctionDecl()
/freebsd/contrib/llvm-project/clang/include/clang/ASTMatchers/
H A DASTMatchers.h1335 extern const internal::VariadicDynCastAllOfMatcher<Decl, CXXDeductionGuideDecl>
8018 CXXDeductionGuideDecl)) { in AST_POLYMORPHIC_MATCHER() argument
/freebsd/contrib/llvm-project/clang/lib/Serialization/
H A DASTReaderDecl.cpp372 void VisitCXXDeductionGuideDecl(CXXDeductionGuideDecl *GD);
2271 void ASTDeclReader::VisitCXXDeductionGuideDecl(CXXDeductionGuideDecl *D) { in VisitCXXDeductionGuideDecl()
3919 D = CXXDeductionGuideDecl::CreateDeserialized(Context, ID); in ReadDeclRecord()
H A DASTWriterDecl.cpp93 void VisitCXXDeductionGuideDecl(CXXDeductionGuideDecl *D);
780 void ASTDeclWriter::VisitCXXDeductionGuideDecl(CXXDeductionGuideDecl *D) { in VisitCXXDeductionGuideDecl()
/freebsd/contrib/llvm-project/clang/include/clang/Sema/
H A DSema.h8680 llvm::DenseMap<unsigned, CXXDeductionGuideDecl *>