/external/clang/lib/AST/ |
D | DeclTemplate.cpp | 84 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 …]
|
D | DeclBase.cpp | 138 if (const TemplateTypeParmDecl *TTP = dyn_cast<TemplateTypeParmDecl>(this)) in isTemplateParameterPack() 665 isa<TemplateTypeParmDecl>(this) || in CheckAccessDeclContext()
|
D | ASTDiagnostic.cpp | 848 if (TemplateTypeParmDecl *DefaultTTPD = in DiffTemplate() 849 dyn_cast<TemplateTypeParmDecl>(ParamND)) { in DiffTemplate() 1052 QualType GetType(const TSTiterator &Iter, TemplateTypeParmDecl *DefaultTTPD) { in GetType()
|
D | DumpXML.cpp | 695 void visitTemplateTypeParmDeclAttrs(TemplateTypeParmDecl *D) { in visitTemplateTypeParmDeclAttrs() 699 void visitTemplateTypeParmDeclChildren(TemplateTypeParmDecl *D) { in visitTemplateTypeParmDeclChildren()
|
D | ASTImporter.cpp | 159 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()
|
D | StmtProfile.cpp | 1166 if (const TemplateTypeParmDecl *TTP = in VisitDecl() 1167 dyn_cast<TemplateTypeParmDecl>(D)) { in VisitDecl()
|
D | DeclPrinter.cpp | 819 if (const TemplateTypeParmDecl *TTP = in PrintTemplateParameters() 820 dyn_cast<TemplateTypeParmDecl>(Param)) { in PrintTemplateParameters()
|
D | ASTDumper.cpp | 222 void VisitTemplateTypeParmDecl(const TemplateTypeParmDecl *D); 1086 void ASTDumper::VisitTemplateTypeParmDecl(const TemplateTypeParmDecl *D) { in VisitTemplateTypeParmDecl()
|
D | ASTContext.cpp | 113 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()
|
D | ItaniumMangle.cpp | 3120 if (const TemplateTypeParmDecl *TTP = dyn_cast<TemplateTypeParmDecl>(Pack)) in mangleExpression()
|
/external/clang/tools/libclang/ |
D | CIndexUSRs.cpp | 83 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()
|
D | CursorVisitor.h | 210 bool VisitTemplateTypeParmDecl(TemplateTypeParmDecl *D);
|
D | CIndex.cpp | 712 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/ |
D | SemaTemplate.cpp | 577 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 …]
|
D | SemaTemplateInstantiate.cpp | 711 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()
|
D | SemaTemplateVariadic.cpp | 519 if (TemplateTypeParmDecl *TTP = dyn_cast<TemplateTypeParmDecl>(ND)) in getDepthAndIndex()
|
D | SemaTemplateDeduction.cpp | 553 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()
|
D | SemaTemplateInstantiateDecl.cpp | 1743 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/ |
D | DeclTemplate.h | 33 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,
|
D | CanonicalType.h | 626 LLVM_CLANG_CANPROXY_SIMPLE_ACCESSOR(TemplateTypeParmDecl *, getDecl)
|
D | Type.h | 76 class TemplateTypeParmDecl; 3447 TemplateTypeParmDecl *TTPDecl; 3451 TemplateTypeParmType(TemplateTypeParmDecl *TTPDecl, QualType Canon) 3481 TemplateTypeParmDecl *getDecl() const { 3496 TemplateTypeParmDecl *TTPDecl) {
|
D | TypeLoc.h | 657 TemplateTypeParmDecl *getDecl() const { return getTypePtr()->getDecl(); } in getDecl()
|
D | ASTContext.h | 1052 TemplateTypeParmDecl *ParmDecl = 0) const;
|
/external/clang/lib/Serialization/ |
D | ASTReaderDecl.cpp | 249 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()
|
D | ASTWriterDecl.cpp | 76 void VisitTemplateTypeParmDecl(TemplateTypeParmDecl *D); 1297 void ASTDeclWriter::VisitTemplateTypeParmDecl(TemplateTypeParmDecl *D) { in VisitTemplateTypeParmDecl()
|