Home
last modified time | relevance | path

Searched refs:TemplateTypeParmDecl (Results 1 – 25 of 38) sorted by relevance

12

/external/clang/lib/AST/
DDeclTemplate.cpp79 if (const auto *TTP = dyn_cast<TemplateTypeParmDecl>(P)) { in getMinRequiredArguments()
99 if (const TemplateTypeParmDecl *TTP in getDepth()
100 = dyn_cast<TemplateTypeParmDecl>(FirstParm)) in getDepth()
207 if (auto *TTP = dyn_cast<TemplateTypeParmDecl>(Param)) { in GenerateInjectedTemplateArgs()
472 TemplateTypeParmDecl *
473 TemplateTypeParmDecl::Create(const ASTContext &C, DeclContext *DC, in Create()
477 TemplateTypeParmDecl *TTPDecl = in Create()
478 new (C, DC) TemplateTypeParmDecl(DC, KeyLoc, NameLoc, Id, Typename); in Create()
484 TemplateTypeParmDecl *
485 TemplateTypeParmDecl::CreateDeserialized(const ASTContext &C, unsigned ID) { in CreateDeserialized()
[all …]
DDeclBase.cpp170 if (const TemplateTypeParmDecl *TTP = dyn_cast<TemplateTypeParmDecl>(this)) in isTemplateParameterPack()
790 isa<TemplateTypeParmDecl>(this) || in AccessDeclContextSanity()
DDeclPrinter.cpp908 if (const TemplateTypeParmDecl *TTP = in PrintTemplateParameters()
909 dyn_cast<TemplateTypeParmDecl>(Param)) { in PrintTemplateParameters()
DASTImporter.cpp171 Decl *VisitTemplateTypeParmDecl(TemplateTypeParmDecl *D);
1318 TemplateTypeParmDecl *D1, in IsStructurallyEquivalent()
1319 TemplateTypeParmDecl *D2) { in IsStructurallyEquivalent()
1499 } else if (TemplateTypeParmDecl *TTP1= dyn_cast<TemplateTypeParmDecl>(D1)) { in Finish()
1500 if (TemplateTypeParmDecl *TTP2 = dyn_cast<TemplateTypeParmDecl>(D2)) { in Finish()
1900 TemplateTypeParmDecl *ParmDecl = in VisitTemplateTypeParmType()
1901 cast_or_null<TemplateTypeParmDecl>(Importer.Import(T->getDecl())); in VisitTemplateTypeParmType()
4330 Decl *ASTNodeImporter::VisitTemplateTypeParmDecl(TemplateTypeParmDecl *D) { in VisitTemplateTypeParmDecl()
4336 return TemplateTypeParmDecl::Create(Importer.getToContext(), in VisitTemplateTypeParmDecl()
DStmtProfile.cpp1662 if (const TemplateTypeParmDecl *TTP = in VisitDecl()
1663 dyn_cast<TemplateTypeParmDecl>(D)) { in VisitDecl()
DASTContext.cpp124 if (isa<TemplateTypeParmDecl>(D) || in getRawCommentForDeclNoCache()
560 if (TemplateTypeParmDecl *TTP = dyn_cast<TemplateTypeParmDecl>(*P)) { in Profile()
607 if (TemplateTypeParmDecl *TTP = dyn_cast<TemplateTypeParmDecl>(*P)) in getCanonicalTemplateTemplateParmDecl()
609 TemplateTypeParmDecl::Create(*this, getTranslationUnitDecl(), in getCanonicalTemplateTemplateParmDecl()
3196 assert(!isa<TemplateTypeParmDecl>(Decl) && in getTypeDeclTypeSlow()
3341 TemplateTypeParmDecl *TTPDecl) const { in getTemplateTypeParmType()
DASTDumper.cpp470 void VisitTemplateTypeParmDecl(const TemplateTypeParmDecl *D);
1440 void ASTDumper::VisitTemplateTypeParmDecl(const TemplateTypeParmDecl *D) { in VisitTemplateTypeParmDecl()
DItaniumMangle.cpp3883 if (const TemplateTypeParmDecl *TTP = dyn_cast<TemplateTypeParmDecl>(Pack)) in mangleExpression()
/external/clang/lib/Index/
DUSRGeneration.cpp89 void VisitTemplateTypeParmDecl(const TemplateTypeParmDecl *D);
521 void USRGenerator::VisitTemplateTypeParmDecl(const TemplateTypeParmDecl *D) { in VisitTemplateTypeParmDecl()
765 if (isa<TemplateTypeParmDecl>(*P)) { in VisitTemplateParameterList()
766 if (cast<TemplateTypeParmDecl>(*P)->isParameterPack()) in VisitTemplateParameterList()
DIndexingContext.cpp53 if (isa<NonTypeTemplateParmDecl>(D) || isa<TemplateTypeParmDecl>(D)) in handleReference()
/external/clang/include/clang/AST/
DDeclTemplate.h36 class TemplateTypeParmDecl; variable
44 typedef llvm::PointerUnion3<TemplateTypeParmDecl*, NonTypeTemplateParmDecl*,
1037 class TemplateTypeParmDecl : public TypeDecl {
1045 typedef DefaultArgStorage<TemplateTypeParmDecl, TypeSourceInfo *>
1049 TemplateTypeParmDecl(DeclContext *DC, SourceLocation KeyLoc,
1059 static TemplateTypeParmDecl *Create(const ASTContext &C, DeclContext *DC,
1065 static TemplateTypeParmDecl *CreateDeserialized(const ASTContext &C,
1106 TemplateTypeParmDecl *Prev) {
DCanonicalType.h555 LLVM_CLANG_CANPROXY_SIMPLE_ACCESSOR(TemplateTypeParmDecl *, getDecl)
DType.h79 class TemplateTypeParmDecl;
3918 TemplateTypeParmDecl *TTPDecl;
3922 TemplateTypeParmType(TemplateTypeParmDecl *TTPDecl, QualType Canon)
3952 TemplateTypeParmDecl *getDecl() const {
3967 TemplateTypeParmDecl *TTPDecl) {
DTypeLoc.h693 TemplateTypeParmDecl *getDecl() const { return getTypePtr()->getDecl(); } in getDecl()
DASTContext.h1237 TemplateTypeParmDecl *ParmDecl = nullptr) const;
/external/clang/lib/Sema/
DSemaTemplate.cpp578 TemplateTypeParmDecl *Param in ActOnTypeParameter()
579 = TemplateTypeParmDecl::Create(Context, Context.getTranslationUnitDecl(), in ActOnTypeParameter()
1344 if (TemplateTypeParmDecl *NewTypeParm in CheckTemplateParameterList()
1345 = dyn_cast<TemplateTypeParmDecl>(*NewParam)) { in CheckTemplateParameterList()
1355 TemplateTypeParmDecl *OldTypeParm in CheckTemplateParameterList()
1356 = OldParams? cast<TemplateTypeParmDecl>(*OldParam) : nullptr; in CheckTemplateParameterList()
1512 if (TemplateTypeParmDecl *TTP = dyn_cast<TemplateTypeParmDecl>(*NewParam)) in CheckTemplateParameterList()
1540 if (TemplateTypeParmDecl *PD = dyn_cast<TemplateTypeParmDecl>(ND)) { in DependencyChecker()
3108 bool Sema::CheckTemplateTypeArgument(TemplateTypeParmDecl *Param, in CheckTemplateTypeArgument()
3251 TemplateTypeParmDecl *Param, in SubstDefaultTemplateArgument()
[all …]
DSemaTemplateInstantiate.cpp608 if (TemplateTypeParmDecl *TTP = dyn_cast<TemplateTypeParmDecl>(ND)) in getDepthAndIndex()
913 if (TemplateTypeParmDecl *TTPD = dyn_cast_or_null<TemplateTypeParmDecl>(D)) { in TransformFirstQualifierInScope()
1385 TemplateTypeParmDecl *NewTTPDecl = nullptr; in TransformTemplateTypeParmType()
1386 if (TemplateTypeParmDecl *OldTTPDecl = T->getDecl()) in TransformTemplateTypeParmType()
1387 NewTTPDecl = cast_or_null<TemplateTypeParmDecl>( in TransformTemplateTypeParmType()
2792 if (isa<NonTypeTemplateParmDecl>(D) || isa<TemplateTypeParmDecl>(D) || in findInstantiationOf()
DSemaTemplateDeduction.cpp523 if (TemplateTypeParmDecl *TTP = dyn_cast<TemplateTypeParmDecl>(ND)) in getDepthAndIndex()
546 if (TemplateTypeParmDecl *TTP = dyn_cast<TemplateTypeParmDecl>(D)) in makeTemplateParameter()
1082 Info.Param = cast<TemplateTypeParmDecl>(TemplateParams->getParam(Index)); in DeduceTemplateArgumentsByTypeMatch()
1109 Info.Param = cast<TemplateTypeParmDecl>(TemplateParams->getParam(Index)); in DeduceTemplateArgumentsByTypeMatch()
1134 Info.Param = cast<TemplateTypeParmDecl>(TemplateParams->getParam(Index)); in DeduceTemplateArgumentsByTypeMatch()
4034 TemplateTypeParmDecl *TemplParam = in DeduceAutoType()
4035 TemplateTypeParmDecl::Create(Context, nullptr, SourceLocation(), Loc, 0, 0, in DeduceAutoType()
DSemaTemplateVariadic.cpp528 if (TemplateTypeParmDecl *TTP = dyn_cast<TemplateTypeParmDecl>(ND)) in getDepthAndIndex()
DSemaTemplateInstantiateDecl.cpp2012 TemplateTypeParmDecl *D) { in VisitTemplateTypeParmDecl()
2016 TemplateTypeParmDecl *Inst = in VisitTemplateTypeParmDecl()
2017 TemplateTypeParmDecl::Create(SemaRef.Context, Owner, in VisitTemplateTypeParmDecl()
4640 isa<TemplateTypeParmDecl>(D) || isa<TemplateTemplateParmDecl>(D) || in FindInstantiatedDecl()
4661 if (isa<NonTypeTemplateParmDecl>(D) || isa<TemplateTypeParmDecl>(D) || in FindInstantiatedDecl()
/external/clang/include/clang/Sema/
DScopeInfo.h43 class TemplateTypeParmDecl; variable
706 SmallVector<TemplateTypeParmDecl*, 4> AutoTemplateParams;
/external/clang/tools/libclang/
DCursorVisitor.h211 bool VisitTemplateTypeParmDecl(TemplateTypeParmDecl *D);
DCIndex.cpp748 bool CursorVisitor::VisitTemplateTypeParmDecl(TemplateTypeParmDecl *D) { in VisitTemplateTypeParmDecl()
2908 if (isa<TemplateTypeParmDecl>(Pack)) { in RunVisitorWorkList()
2909 if (Visit(MakeCursorTypeRef(cast<TemplateTypeParmDecl>(Pack), in RunVisitorWorkList()
4452 if (TemplateTypeParmDecl *TTP = dyn_cast<TemplateTypeParmDecl>(Param)) in clang_getCursorDisplayName()
/external/clang/lib/Serialization/
DASTReaderDecl.cpp299 void VisitTemplateTypeParmDecl(TemplateTypeParmDecl *D);
2166 void ASTDeclReader::VisitTemplateTypeParmDecl(TemplateTypeParmDecl *D) { in VisitTemplateTypeParmDecl()
2553 if (const TemplateTypeParmDecl *TX = dyn_cast<TemplateTypeParmDecl>(X)) { in isSameTemplateParameter()
2554 const TemplateTypeParmDecl *TY = cast<TemplateTypeParmDecl>(Y); in isSameTemplateParameter()
3119 if (auto *FTTP = dyn_cast<TemplateTypeParmDecl>(FromParam)) { in inheritDefaultTemplateArguments()
3328 D = TemplateTypeParmDecl::CreateDeserialized(Context, ID); in ReadDeclRecord()
DASTWriterDecl.cpp84 void VisitTemplateTypeParmDecl(TemplateTypeParmDecl *D);
1470 void ASTDeclWriter::VisitTemplateTypeParmDecl(TemplateTypeParmDecl *D) { in VisitTemplateTypeParmDecl()

12