Home
last modified time | relevance | path

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

12

/external/clang/lib/AST/
DDeclTemplate.cpp84 if (TemplateTypeParmDecl *TTP = dyn_cast<TemplateTypeParmDecl>(*P)) { in getMinRequiredArguments()
105 if (const TemplateTypeParmDecl *TTP in getDepth()
106 = dyn_cast<TemplateTypeParmDecl>(FirstParm)) in getDepth()
184 if (TemplateTypeParmDecl *TTP = dyn_cast<TemplateTypeParmDecl>(*Param)) { in GenerateInjectedTemplateArgs()
469 TemplateTypeParmDecl *
470 TemplateTypeParmDecl::Create(const ASTContext &C, DeclContext *DC, in Create()
474 TemplateTypeParmDecl *TTPDecl = in Create()
475 new (C) TemplateTypeParmDecl(DC, KeyLoc, NameLoc, Id, Typename); in Create()
481 TemplateTypeParmDecl *
482 TemplateTypeParmDecl::CreateDeserialized(const ASTContext &C, unsigned ID) { in CreateDeserialized()
[all …]
DDeclBase.cpp138 if (const TemplateTypeParmDecl *TTP = dyn_cast<TemplateTypeParmDecl>(this)) in isTemplateParameterPack()
665 isa<TemplateTypeParmDecl>(this) || in CheckAccessDeclContext()
DASTDiagnostic.cpp848 if (TemplateTypeParmDecl *DefaultTTPD = in DiffTemplate()
849 dyn_cast<TemplateTypeParmDecl>(ParamND)) { in DiffTemplate()
1052 QualType GetType(const TSTiterator &Iter, TemplateTypeParmDecl *DefaultTTPD) { in GetType()
DDumpXML.cpp695 void visitTemplateTypeParmDeclAttrs(TemplateTypeParmDecl *D) { in visitTemplateTypeParmDeclAttrs()
699 void visitTemplateTypeParmDeclChildren(TemplateTypeParmDecl *D) { in visitTemplateTypeParmDeclChildren()
DASTImporter.cpp159 Decl *VisitTemplateTypeParmDecl(TemplateTypeParmDecl *D);
1197 TemplateTypeParmDecl *D1, in IsStructurallyEquivalent()
1198 TemplateTypeParmDecl *D2) { in IsStructurallyEquivalent()
1378 } else if (TemplateTypeParmDecl *TTP1= dyn_cast<TemplateTypeParmDecl>(D1)) { in Finish()
1379 if (TemplateTypeParmDecl *TTP2 = dyn_cast<TemplateTypeParmDecl>(D2)) { in Finish()
3887 Decl *ASTNodeImporter::VisitTemplateTypeParmDecl(TemplateTypeParmDecl *D) { in VisitTemplateTypeParmDecl()
3893 return TemplateTypeParmDecl::Create(Importer.getToContext(), in VisitTemplateTypeParmDecl()
DStmtProfile.cpp1166 if (const TemplateTypeParmDecl *TTP = in VisitDecl()
1167 dyn_cast<TemplateTypeParmDecl>(D)) { in VisitDecl()
DDeclPrinter.cpp819 if (const TemplateTypeParmDecl *TTP = in PrintTemplateParameters()
820 dyn_cast<TemplateTypeParmDecl>(Param)) { in PrintTemplateParameters()
DASTDumper.cpp222 void VisitTemplateTypeParmDecl(const TemplateTypeParmDecl *D);
1086 void ASTDumper::VisitTemplateTypeParmDecl(const TemplateTypeParmDecl *D) { in VisitTemplateTypeParmDecl()
DASTContext.cpp113 if (isa<TemplateTypeParmDecl>(D) || in getRawCommentForDeclNoCache()
543 if (TemplateTypeParmDecl *TTP = dyn_cast<TemplateTypeParmDecl>(*P)) { in Profile()
590 if (TemplateTypeParmDecl *TTP = dyn_cast<TemplateTypeParmDecl>(*P)) in getCanonicalTemplateTemplateParmDecl()
592 TemplateTypeParmDecl::Create(*this, getTranslationUnitDecl(), in getCanonicalTemplateTemplateParmDecl()
2916 assert(!isa<TemplateTypeParmDecl>(Decl) && in getTypeDeclTypeSlow()
3066 TemplateTypeParmDecl *TTPDecl) const { in getTemplateTypeParmType()
DItaniumMangle.cpp3120 if (const TemplateTypeParmDecl *TTP = dyn_cast<TemplateTypeParmDecl>(Pack)) in mangleExpression()
/external/clang/tools/libclang/
DCIndexUSRs.cpp83 void VisitTemplateTypeParmDecl(const TemplateTypeParmDecl *D);
468 void USRGenerator::VisitTemplateTypeParmDecl(const TemplateTypeParmDecl *D) { in VisitTemplateTypeParmDecl()
690 if (isa<TemplateTypeParmDecl>(*P)) { in VisitTemplateParameterList()
691 if (cast<TemplateTypeParmDecl>(*P)->isParameterPack()) in VisitTemplateParameterList()
DCursorVisitor.h210 bool VisitTemplateTypeParmDecl(TemplateTypeParmDecl *D);
DCIndex.cpp712 bool CursorVisitor::VisitTemplateTypeParmDecl(TemplateTypeParmDecl *D) { in VisitTemplateTypeParmDecl()
2396 if (isa<TemplateTypeParmDecl>(Pack)) { in RunVisitorWorkList()
2397 if (Visit(MakeCursorTypeRef(cast<TemplateTypeParmDecl>(Pack), in RunVisitorWorkList()
3488 if (TemplateTypeParmDecl *TTP = dyn_cast<TemplateTypeParmDecl>(Param)) in clang_getCursorDisplayName()
/external/clang/lib/Sema/
DSemaTemplate.cpp577 TemplateTypeParmDecl *Param in ActOnTypeParameter()
578 = TemplateTypeParmDecl::Create(Context, Context.getTranslationUnitDecl(), in ActOnTypeParameter()
1297 if (TemplateTypeParmDecl *NewTypeParm in CheckTemplateParameterList()
1298 = dyn_cast<TemplateTypeParmDecl>(*NewParam)) { in CheckTemplateParameterList()
1308 TemplateTypeParmDecl *OldTypeParm in CheckTemplateParameterList()
1309 = OldParams? cast<TemplateTypeParmDecl>(*OldParam) : 0; in CheckTemplateParameterList()
1475 if (TemplateTypeParmDecl *TTP = dyn_cast<TemplateTypeParmDecl>(*NewParam)) in CheckTemplateParameterList()
1500 if (TemplateTypeParmDecl *PD = dyn_cast<TemplateTypeParmDecl>(ND)) { in DependencyChecker()
2893 bool Sema::CheckTemplateTypeArgument(TemplateTypeParmDecl *Param, in CheckTemplateTypeArgument()
3012 TemplateTypeParmDecl *Param, in SubstDefaultTemplateArgument()
[all …]
DSemaTemplateInstantiate.cpp711 if (TemplateTypeParmDecl *TTP = dyn_cast<TemplateTypeParmDecl>(ND)) in getDepthAndIndex()
997 if (TemplateTypeParmDecl *TTPD = dyn_cast_or_null<TemplateTypeParmDecl>(D)) { in TransformFirstQualifierInScope()
1476 TemplateTypeParmDecl *NewTTPDecl = 0; in TransformTemplateTypeParmType()
1477 if (TemplateTypeParmDecl *OldTTPDecl = T->getDecl()) in TransformTemplateTypeParmType()
1478 NewTTPDecl = cast_or_null<TemplateTypeParmDecl>( in TransformTemplateTypeParmType()
2752 if (isa<NonTypeTemplateParmDecl>(D) || isa<TemplateTypeParmDecl>(D) || in findInstantiationOf()
DSemaTemplateVariadic.cpp519 if (TemplateTypeParmDecl *TTP = dyn_cast<TemplateTypeParmDecl>(ND)) in getDepthAndIndex()
DSemaTemplateDeduction.cpp553 if (TemplateTypeParmDecl *TTP = dyn_cast<TemplateTypeParmDecl>(ND)) in getDepthAndIndex()
576 if (TemplateTypeParmDecl *TTP = dyn_cast<TemplateTypeParmDecl>(D)) in makeTemplateParameter()
1063 Info.Param = cast<TemplateTypeParmDecl>(TemplateParams->getParam(Index)); in DeduceTemplateArgumentsByTypeMatch()
1090 Info.Param = cast<TemplateTypeParmDecl>(TemplateParams->getParam(Index)); in DeduceTemplateArgumentsByTypeMatch()
1115 Info.Param = cast<TemplateTypeParmDecl>(TemplateParams->getParam(Index)); in DeduceTemplateArgumentsByTypeMatch()
3842 TemplateTypeParmDecl *TemplParam = in DeduceAutoType()
3843 TemplateTypeParmDecl::Create(Context, 0, SourceLocation(), Loc, 0, 0, 0, in DeduceAutoType()
DSemaTemplateInstantiateDecl.cpp1743 TemplateTypeParmDecl *D) { in VisitTemplateTypeParmDecl()
1747 TemplateTypeParmDecl *Inst = in VisitTemplateTypeParmDecl()
1748 TemplateTypeParmDecl::Create(SemaRef.Context, Owner, in VisitTemplateTypeParmDecl()
4029 isa<TemplateTypeParmDecl>(D) || isa<TemplateTemplateParmDecl>(D) || in FindInstantiatedDecl()
4050 if (isa<NonTypeTemplateParmDecl>(D) || isa<TemplateTypeParmDecl>(D) || in FindInstantiatedDecl()
/external/clang/include/clang/AST/
DDeclTemplate.h33 class TemplateTypeParmDecl; variable
41 typedef llvm::PointerUnion3<TemplateTypeParmDecl*, NonTypeTemplateParmDecl*,
928 class TemplateTypeParmDecl : public TypeDecl {
942 TemplateTypeParmDecl(DeclContext *DC, SourceLocation KeyLoc,
952 static TemplateTypeParmDecl *Create(const ASTContext &C, DeclContext *DC,
958 static TemplateTypeParmDecl *CreateDeserialized(const ASTContext &C,
DCanonicalType.h626 LLVM_CLANG_CANPROXY_SIMPLE_ACCESSOR(TemplateTypeParmDecl *, getDecl)
DType.h76 class TemplateTypeParmDecl;
3447 TemplateTypeParmDecl *TTPDecl;
3451 TemplateTypeParmType(TemplateTypeParmDecl *TTPDecl, QualType Canon)
3481 TemplateTypeParmDecl *getDecl() const {
3496 TemplateTypeParmDecl *TTPDecl) {
DTypeLoc.h657 TemplateTypeParmDecl *getDecl() const { return getTypePtr()->getDecl(); } in getDecl()
DASTContext.h1052 TemplateTypeParmDecl *ParmDecl = 0) const;
/external/clang/lib/Serialization/
DASTReaderDecl.cpp249 void VisitTemplateTypeParmDecl(TemplateTypeParmDecl *D);
1657 void ASTDeclReader::VisitTemplateTypeParmDecl(TemplateTypeParmDecl *D) { in VisitTemplateTypeParmDecl()
1929 if (const TemplateTypeParmDecl *TX = dyn_cast<TemplateTypeParmDecl>(X)) { in isSameTemplateParameter()
1930 const TemplateTypeParmDecl *TY = cast<TemplateTypeParmDecl>(Y); in isSameTemplateParameter()
2323 D = TemplateTypeParmDecl::CreateDeserialized(Context, ID); in ReadDeclRecord()
DASTWriterDecl.cpp76 void VisitTemplateTypeParmDecl(TemplateTypeParmDecl *D);
1297 void ASTDeclWriter::VisitTemplateTypeParmDecl(TemplateTypeParmDecl *D) { in VisitTemplateTypeParmDecl()

12