/external/clang/lib/AST/ |
D | DeclTemplate.cpp | 79 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 …]
|
D | DeclBase.cpp | 170 if (const TemplateTypeParmDecl *TTP = dyn_cast<TemplateTypeParmDecl>(this)) in isTemplateParameterPack() 790 isa<TemplateTypeParmDecl>(this) || in AccessDeclContextSanity()
|
D | DeclPrinter.cpp | 908 if (const TemplateTypeParmDecl *TTP = in PrintTemplateParameters() 909 dyn_cast<TemplateTypeParmDecl>(Param)) { in PrintTemplateParameters()
|
D | ASTImporter.cpp | 171 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()
|
D | StmtProfile.cpp | 1662 if (const TemplateTypeParmDecl *TTP = in VisitDecl() 1663 dyn_cast<TemplateTypeParmDecl>(D)) { in VisitDecl()
|
D | ASTContext.cpp | 124 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()
|
D | ASTDumper.cpp | 470 void VisitTemplateTypeParmDecl(const TemplateTypeParmDecl *D); 1440 void ASTDumper::VisitTemplateTypeParmDecl(const TemplateTypeParmDecl *D) { in VisitTemplateTypeParmDecl()
|
D | ItaniumMangle.cpp | 3883 if (const TemplateTypeParmDecl *TTP = dyn_cast<TemplateTypeParmDecl>(Pack)) in mangleExpression()
|
/external/clang/lib/Index/ |
D | USRGeneration.cpp | 89 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()
|
D | IndexingContext.cpp | 53 if (isa<NonTypeTemplateParmDecl>(D) || isa<TemplateTypeParmDecl>(D)) in handleReference()
|
/external/clang/include/clang/AST/ |
D | DeclTemplate.h | 36 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) {
|
D | CanonicalType.h | 555 LLVM_CLANG_CANPROXY_SIMPLE_ACCESSOR(TemplateTypeParmDecl *, getDecl)
|
D | Type.h | 79 class TemplateTypeParmDecl; 3918 TemplateTypeParmDecl *TTPDecl; 3922 TemplateTypeParmType(TemplateTypeParmDecl *TTPDecl, QualType Canon) 3952 TemplateTypeParmDecl *getDecl() const { 3967 TemplateTypeParmDecl *TTPDecl) {
|
D | TypeLoc.h | 693 TemplateTypeParmDecl *getDecl() const { return getTypePtr()->getDecl(); } in getDecl()
|
D | ASTContext.h | 1237 TemplateTypeParmDecl *ParmDecl = nullptr) const;
|
/external/clang/lib/Sema/ |
D | SemaTemplate.cpp | 578 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 …]
|
D | SemaTemplateInstantiate.cpp | 608 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()
|
D | SemaTemplateDeduction.cpp | 523 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()
|
D | SemaTemplateVariadic.cpp | 528 if (TemplateTypeParmDecl *TTP = dyn_cast<TemplateTypeParmDecl>(ND)) in getDepthAndIndex()
|
D | SemaTemplateInstantiateDecl.cpp | 2012 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/ |
D | ScopeInfo.h | 43 class TemplateTypeParmDecl; variable 706 SmallVector<TemplateTypeParmDecl*, 4> AutoTemplateParams;
|
/external/clang/tools/libclang/ |
D | CursorVisitor.h | 211 bool VisitTemplateTypeParmDecl(TemplateTypeParmDecl *D);
|
D | CIndex.cpp | 748 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/ |
D | ASTReaderDecl.cpp | 299 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()
|
D | ASTWriterDecl.cpp | 84 void VisitTemplateTypeParmDecl(TemplateTypeParmDecl *D); 1470 void ASTDeclWriter::VisitTemplateTypeParmDecl(TemplateTypeParmDecl *D) { in VisitTemplateTypeParmDecl()
|