/external/clang/lib/AST/ |
D | DeclTemplate.cpp | 82 if (TemplateTypeParmDecl *TTP = dyn_cast<TemplateTypeParmDecl>(*P)) { in getMinRequiredArguments() 103 if (const TemplateTypeParmDecl *TTP in getDepth() 104 = dyn_cast<TemplateTypeParmDecl>(FirstParm)) in getDepth() 215 if (TemplateTypeParmDecl *TTP = dyn_cast<TemplateTypeParmDecl>(*Param)) { in GenerateInjectedTemplateArgs() 491 TemplateTypeParmDecl * 492 TemplateTypeParmDecl::Create(const ASTContext &C, DeclContext *DC, in Create() 496 TemplateTypeParmDecl *TTPDecl = in Create() 497 new (C, DC) TemplateTypeParmDecl(DC, KeyLoc, NameLoc, Id, Typename); in Create() 503 TemplateTypeParmDecl * 504 TemplateTypeParmDecl::CreateDeserialized(const ASTContext &C, unsigned ID) { in CreateDeserialized() [all …]
|
D | ASTDiagnostic.cpp | 940 TemplateTypeParmDecl *FromDefaultTypeDecl, in DiffTypes() 941 TemplateTypeParmDecl *ToDefaultTypeDecl) { in DiffTypes() 1152 TemplateTypeParmDecl *FromDefaultTypeDecl = in DiffTemplate() 1153 dyn_cast<TemplateTypeParmDecl>(FromParamND); in DiffTemplate() 1154 TemplateTypeParmDecl *ToDefaultTypeDecl = in DiffTemplate() 1155 dyn_cast<TemplateTypeParmDecl>(ToParamND); in DiffTemplate() 1243 TemplateTypeParmDecl *DefaultTTPD) { in GetType()
|
D | DeclBase.cpp | 169 if (const TemplateTypeParmDecl *TTP = dyn_cast<TemplateTypeParmDecl>(this)) in isTemplateParameterPack() 747 isa<TemplateTypeParmDecl>(this) || in AccessDeclContextSanity()
|
D | DeclPrinter.cpp | 890 if (const TemplateTypeParmDecl *TTP = in PrintTemplateParameters() 891 dyn_cast<TemplateTypeParmDecl>(Param)) { in PrintTemplateParameters()
|
D | ASTImporter.cpp | 164 Decl *VisitTemplateTypeParmDecl(TemplateTypeParmDecl *D); 1239 TemplateTypeParmDecl *D1, in IsStructurallyEquivalent() 1240 TemplateTypeParmDecl *D2) { in IsStructurallyEquivalent() 1420 } else if (TemplateTypeParmDecl *TTP1= dyn_cast<TemplateTypeParmDecl>(D1)) { in Finish() 1421 if (TemplateTypeParmDecl *TTP2 = dyn_cast<TemplateTypeParmDecl>(D2)) { in Finish() 4105 Decl *ASTNodeImporter::VisitTemplateTypeParmDecl(TemplateTypeParmDecl *D) { in VisitTemplateTypeParmDecl() 4111 return TemplateTypeParmDecl::Create(Importer.getToContext(), in VisitTemplateTypeParmDecl()
|
D | StmtProfile.cpp | 1542 if (const TemplateTypeParmDecl *TTP = in VisitDecl() 1543 dyn_cast<TemplateTypeParmDecl>(D)) { in VisitDecl()
|
D | ASTContext.cpp | 123 if (isa<TemplateTypeParmDecl>(D) || in getRawCommentForDeclNoCache() 559 if (TemplateTypeParmDecl *TTP = dyn_cast<TemplateTypeParmDecl>(*P)) { in Profile() 606 if (TemplateTypeParmDecl *TTP = dyn_cast<TemplateTypeParmDecl>(*P)) in getCanonicalTemplateTemplateParmDecl() 608 TemplateTypeParmDecl::Create(*this, getTranslationUnitDecl(), in getCanonicalTemplateTemplateParmDecl() 3153 assert(!isa<TemplateTypeParmDecl>(Decl) && in getTypeDeclTypeSlow() 3298 TemplateTypeParmDecl *TTPDecl) const { in getTemplateTypeParmType()
|
D | ASTDumper.cpp | 457 void VisitTemplateTypeParmDecl(const TemplateTypeParmDecl *D); 1355 void ASTDumper::VisitTemplateTypeParmDecl(const TemplateTypeParmDecl *D) { in VisitTemplateTypeParmDecl()
|
D | ItaniumMangle.cpp | 3491 if (const TemplateTypeParmDecl *TTP = dyn_cast<TemplateTypeParmDecl>(Pack)) in mangleExpression()
|
/external/clang/lib/Index/ |
D | USRGeneration.cpp | 89 void VisitTemplateTypeParmDecl(const TemplateTypeParmDecl *D); 501 void USRGenerator::VisitTemplateTypeParmDecl(const TemplateTypeParmDecl *D) { in VisitTemplateTypeParmDecl() 736 if (isa<TemplateTypeParmDecl>(*P)) { in VisitTemplateParameterList() 737 if (cast<TemplateTypeParmDecl>(*P)->isParameterPack()) in VisitTemplateParameterList()
|
/external/clang/include/clang/AST/ |
D | DeclTemplate.h | 35 class TemplateTypeParmDecl; variable 43 typedef llvm::PointerUnion3<TemplateTypeParmDecl*, NonTypeTemplateParmDecl*, 1032 class TemplateTypeParmDecl : public TypeDecl { 1040 typedef DefaultArgStorage<TemplateTypeParmDecl, TypeSourceInfo *> 1044 TemplateTypeParmDecl(DeclContext *DC, SourceLocation KeyLoc, 1054 static TemplateTypeParmDecl *Create(const ASTContext &C, DeclContext *DC, 1060 static TemplateTypeParmDecl *CreateDeserialized(const ASTContext &C, 1101 TemplateTypeParmDecl *Prev) {
|
D | CanonicalType.h | 552 LLVM_CLANG_CANPROXY_SIMPLE_ACCESSOR(TemplateTypeParmDecl *, getDecl)
|
D | Type.h | 79 class TemplateTypeParmDecl; 3748 TemplateTypeParmDecl *TTPDecl; 3752 TemplateTypeParmType(TemplateTypeParmDecl *TTPDecl, QualType Canon) 3782 TemplateTypeParmDecl *getDecl() const { 3797 TemplateTypeParmDecl *TTPDecl) {
|
D | TypeLoc.h | 693 TemplateTypeParmDecl *getDecl() const { return getTypePtr()->getDecl(); } in getDecl()
|
/external/clang/lib/Sema/ |
D | SemaTemplate.cpp | 565 TemplateTypeParmDecl *Param in ActOnTypeParameter() 566 = TemplateTypeParmDecl::Create(Context, Context.getTranslationUnitDecl(), in ActOnTypeParameter() 1327 if (TemplateTypeParmDecl *NewTypeParm in CheckTemplateParameterList() 1328 = dyn_cast<TemplateTypeParmDecl>(*NewParam)) { in CheckTemplateParameterList() 1338 TemplateTypeParmDecl *OldTypeParm in CheckTemplateParameterList() 1339 = OldParams? cast<TemplateTypeParmDecl>(*OldParam) : nullptr; in CheckTemplateParameterList() 1495 if (TemplateTypeParmDecl *TTP = dyn_cast<TemplateTypeParmDecl>(*NewParam)) in CheckTemplateParameterList() 1523 if (TemplateTypeParmDecl *PD = dyn_cast<TemplateTypeParmDecl>(ND)) { in DependencyChecker() 3065 bool Sema::CheckTemplateTypeArgument(TemplateTypeParmDecl *Param, in CheckTemplateTypeArgument() 3208 TemplateTypeParmDecl *Param, in SubstDefaultTemplateArgument() [all …]
|
D | SemaTemplateInstantiate.cpp | 611 if (TemplateTypeParmDecl *TTP = dyn_cast<TemplateTypeParmDecl>(ND)) in getDepthAndIndex() 911 if (TemplateTypeParmDecl *TTPD = dyn_cast_or_null<TemplateTypeParmDecl>(D)) { in TransformFirstQualifierInScope() 1383 TemplateTypeParmDecl *NewTTPDecl = nullptr; in TransformTemplateTypeParmType() 1384 if (TemplateTypeParmDecl *OldTTPDecl = T->getDecl()) in TransformTemplateTypeParmType() 1385 NewTTPDecl = cast_or_null<TemplateTypeParmDecl>( in TransformTemplateTypeParmType() 2767 if (isa<NonTypeTemplateParmDecl>(D) || isa<TemplateTypeParmDecl>(D) || in findInstantiationOf()
|
D | SemaTemplateDeduction.cpp | 527 if (TemplateTypeParmDecl *TTP = dyn_cast<TemplateTypeParmDecl>(ND)) in getDepthAndIndex() 550 if (TemplateTypeParmDecl *TTP = dyn_cast<TemplateTypeParmDecl>(D)) in makeTemplateParameter() 1086 Info.Param = cast<TemplateTypeParmDecl>(TemplateParams->getParam(Index)); in DeduceTemplateArgumentsByTypeMatch() 1113 Info.Param = cast<TemplateTypeParmDecl>(TemplateParams->getParam(Index)); in DeduceTemplateArgumentsByTypeMatch() 1138 Info.Param = cast<TemplateTypeParmDecl>(TemplateParams->getParam(Index)); in DeduceTemplateArgumentsByTypeMatch() 4042 TemplateTypeParmDecl *TemplParam = in DeduceAutoType() 4043 TemplateTypeParmDecl::Create(Context, nullptr, SourceLocation(), Loc, 0, 0, in DeduceAutoType()
|
D | SemaTemplateVariadic.cpp | 528 if (TemplateTypeParmDecl *TTP = dyn_cast<TemplateTypeParmDecl>(ND)) in getDepthAndIndex()
|
D | SemaTemplateInstantiateDecl.cpp | 1937 TemplateTypeParmDecl *D) { in VisitTemplateTypeParmDecl() 1941 TemplateTypeParmDecl *Inst = in VisitTemplateTypeParmDecl() 1942 TemplateTypeParmDecl::Create(SemaRef.Context, Owner, in VisitTemplateTypeParmDecl() 4430 isa<TemplateTypeParmDecl>(D) || isa<TemplateTemplateParmDecl>(D) || in FindInstantiatedDecl() 4451 if (isa<NonTypeTemplateParmDecl>(D) || isa<TemplateTypeParmDecl>(D) || in FindInstantiatedDecl()
|
/external/clang/include/clang/Sema/ |
D | ScopeInfo.h | 42 class TemplateTypeParmDecl; variable 677 SmallVector<TemplateTypeParmDecl*, 4> AutoTemplateParams;
|
/external/clang/tools/libclang/ |
D | CursorVisitor.h | 211 bool VisitTemplateTypeParmDecl(TemplateTypeParmDecl *D);
|
D | CIndex.cpp | 744 bool CursorVisitor::VisitTemplateTypeParmDecl(TemplateTypeParmDecl *D) { in VisitTemplateTypeParmDecl() 2798 if (isa<TemplateTypeParmDecl>(Pack)) { in RunVisitorWorkList() 2799 if (Visit(MakeCursorTypeRef(cast<TemplateTypeParmDecl>(Pack), in RunVisitorWorkList() 4105 if (TemplateTypeParmDecl *TTP = dyn_cast<TemplateTypeParmDecl>(Param)) in clang_getCursorDisplayName()
|
/external/clang/lib/Serialization/ |
D | ASTReaderDecl.cpp | 275 void VisitTemplateTypeParmDecl(TemplateTypeParmDecl *D); 2086 void ASTDeclReader::VisitTemplateTypeParmDecl(TemplateTypeParmDecl *D) { in VisitTemplateTypeParmDecl() 2461 if (const TemplateTypeParmDecl *TX = dyn_cast<TemplateTypeParmDecl>(X)) { in isSameTemplateParameter() 2462 const TemplateTypeParmDecl *TY = cast<TemplateTypeParmDecl>(Y); in isSameTemplateParameter() 3002 if (auto *FTTP = dyn_cast<TemplateTypeParmDecl>(FromParam)) { in inheritDefaultTemplateArguments() 3210 D = TemplateTypeParmDecl::CreateDeserialized(Context, ID); in ReadDeclRecord()
|
D | ASTWriterDecl.cpp | 76 void VisitTemplateTypeParmDecl(TemplateTypeParmDecl *D); 1430 void ASTDeclWriter::VisitTemplateTypeParmDecl(TemplateTypeParmDecl *D) { in VisitTemplateTypeParmDecl()
|
/external/clang/include/clang/ASTMatchers/ |
D | ASTMatchers.h | 437 TemplateTypeParmDecl> templateTypeParmDecl;
|