/external/llvm-project/clang/lib/Sema/ |
D | SemaTemplateVariadic.cpp | 55 void addUnexpanded(const TemplateTypeParmType *T, in addUnexpanded() 84 bool VisitTemplateTypeParmType(TemplateTypeParmType *T) { in VisitTemplateTypeParmType() 305 if (auto *TTPT = Pack.first.dyn_cast<const TemplateTypeParmType *>()) { in DiagnoseUnexpandedParameterPacks() 358 if (const TemplateTypeParmType *TTP in DiagnoseUnexpandedParameterPacks() 359 = Unexpanded[I].first.dyn_cast<const TemplateTypeParmType *>()) in DiagnoseUnexpandedParameterPacks() 689 if (const TemplateTypeParmType *TTP in CheckParameterPacksForExpansion() 690 = i->first.dyn_cast<const TemplateTypeParmType *>()) { in CheckParameterPacksForExpansion() 818 if (const TemplateTypeParmType *TTP in getNumArgumentsInExpansion() 819 = Unexpanded[I].first.dyn_cast<const TemplateTypeParmType *>()) { in getNumArgumentsInExpansion()
|
D | SemaTemplateInstantiate.cpp | 1265 const TemplateTypeParmType *TTP in TransformFirstQualifierInScope() 1266 = cast<TemplateTypeParmType>(getSema().Context.getTypeDeclType(TTPD)); in TransformFirstQualifierInScope() 1764 const TemplateTypeParmType *T = TL.getTypePtr(); in TransformTemplateTypeParmType() 1793 assert(isa<TemplateTypeParmType>(NewT) && in TransformTemplateTypeParmType() 2236 const TemplateTypeParmType *T) { in VisitTemplateTypeParmType()
|
D | SemaTemplateDeduction.cpp | 1215 auto *TypeParm = ParamRef->getPointeeType()->getAs<TemplateTypeParmType>(); in isForwardingReference() 1474 if (const TemplateTypeParmType *TemplateTypeParm in DeduceTemplateArgumentsByTypeMatch() 1475 = Param->getAs<TemplateTypeParmType>()) { in DeduceTemplateArgumentsByTypeMatch() 4598 assert(isa<TemplateTypeParmType>(Replacement) && in TransformDesugared() 5713 bool VisitTemplateTypeParmType(TemplateTypeParmType *T) { in VisitTemplateTypeParmType() 5957 const TemplateTypeParmType *TTP = cast<TemplateTypeParmType>(T); in MarkUsedTemplateParameters()
|
/external/clang/lib/Sema/ |
D | SemaTemplateVariadic.cpp | 64 bool VisitTemplateTypeParmType(TemplateTypeParmType *T) { in VisitTemplateTypeParmType() 241 if (const TemplateTypeParmType *TTP in DiagnoseUnexpandedParameterPacks() 242 = Unexpanded[I].first.dyn_cast<const TemplateTypeParmType *>()) in DiagnoseUnexpandedParameterPacks() 556 if (const TemplateTypeParmType *TTP in CheckParameterPacksForExpansion() 557 = i->first.dyn_cast<const TemplateTypeParmType *>()) { in CheckParameterPacksForExpansion() 658 if (const TemplateTypeParmType *TTP in getNumArgumentsInExpansion() 659 = Unexpanded[I].first.dyn_cast<const TemplateTypeParmType *>()) { in getNumArgumentsInExpansion()
|
D | SemaTemplateDeduction.cpp | 536 if (const TemplateTypeParmType *TTP in getDepthAndIndex() 537 = UPP.first.dyn_cast<const TemplateTypeParmType *>()) in getDepthAndIndex() 1043 if (isa<TemplateTypeParmType>(ParamRef->getPointeeType()) && in DeduceTemplateArgumentsByTypeMatch() 1058 if (const TemplateTypeParmType *TemplateTypeParm in DeduceTemplateArgumentsByTypeMatch() 1059 = Param->getAs<TemplateTypeParmType>()) { in DeduceTemplateArgumentsByTypeMatch() 3138 isa<TemplateTypeParmType>(ParamType) && in AdjustFunctionParmAndArgTypesForDeduction() 3942 if (!Replacement.isNull() && isa<TemplateTypeParmType>(Replacement)) { in TransformAutoType() 4817 const TemplateTypeParmType *TTP = cast<TemplateTypeParmType>(T); in MarkUsedTemplateParameters()
|
/external/llvm-project/clang/unittests/Tooling/ |
D | RecursiveASTVisitorTestPostOrderVisitor.cpp | 69 bool VisitTemplateTypeParmType(TemplateTypeParmType *T) { in VisitTemplateTypeParmType()
|
/external/clang/unittests/AST/ |
D | PostOrderASTVisitor.cpp | 67 bool VisitTemplateTypeParmType(TemplateTypeParmType *T) { in VisitTemplateTypeParmType()
|
/external/llvm-project/clang/include/clang/Tooling/Refactoring/ |
D | RecursiveSymbolVisitor.h | 91 dyn_cast<TemplateTypeParmType>(Loc.getType())) { in VisitTypeLoc()
|
/external/clang/include/clang/AST/ |
D | Type.h | 3906 class TemplateTypeParmType : public Type, public llvm::FoldingSetNode { 3922 TemplateTypeParmType(TemplateTypeParmDecl *TTPDecl, QualType Canon) 3930 TemplateTypeParmType(unsigned D, unsigned I, bool PP) 3944 return Can->castAs<TemplateTypeParmType>()->CanTTPTInfo; 3988 const TemplateTypeParmType *Replaced; 3990 SubstTemplateTypeParmType(const TemplateTypeParmType *Param, QualType Canon) 4001 const TemplateTypeParmType *getReplacedParameter() const { 4018 const TemplateTypeParmType *Replaced, 4043 const TemplateTypeParmType *Replaced; 4052 SubstTemplateTypeParmPackType(const TemplateTypeParmType *Param, [all …]
|
D | CanonicalType.h | 550 struct CanProxyAdaptor<TemplateTypeParmType> 551 : public CanProxyBase<TemplateTypeParmType> {
|
D | ASTContext.h | 116 mutable llvm::FoldingSet<TemplateTypeParmType> TemplateTypeParmTypes; 1228 QualType getSubstTemplateTypeParmType(const TemplateTypeParmType *Replaced, 1231 const TemplateTypeParmType *Replaced,
|
/external/llvm-project/clang/include/clang/AST/ |
D | CanonicalType.h | 569 struct CanProxyAdaptor<TemplateTypeParmType> 570 : public CanProxyBase<TemplateTypeParmType> {
|
D | Type.h | 4755 class TemplateTypeParmType : public Type, public llvm::FoldingSetNode { 4774 TemplateTypeParmType(TemplateTypeParmDecl *TTPDecl, QualType Canon) 4781 TemplateTypeParmType(unsigned D, unsigned I, bool PP) 4792 return Can->castAs<TemplateTypeParmType>()->CanTTPTInfo; 4838 const TemplateTypeParmType *Replaced; 4840 SubstTemplateTypeParmType(const TemplateTypeParmType *Param, QualType Canon) 4846 const TemplateTypeParmType *getReplacedParameter() const { 4864 const TemplateTypeParmType *Replaced, 4891 const TemplateTypeParmType *Replaced; 4897 SubstTemplateTypeParmPackType(const TemplateTypeParmType *Param, [all …]
|
D | TypeProperties.td | 679 let Class = TemplateTypeParmType in { 711 cast<TemplateTypeParmType>(replacedParameter), 740 cast<TemplateTypeParmType>(replacedParameter),
|
D | TextNodeDumper.h | 314 void VisitTemplateTypeParmType(const TemplateTypeParmType *T);
|
D | JSONNodeDumper.h | 220 void VisitTemplateTypeParmType(const TemplateTypeParmType *TTPT);
|
/external/llvm-project/clang/include/clang/Sema/ |
D | SemaInternal.h | 79 if (const auto *TTP = UPP.first.dyn_cast<const TemplateTypeParmType *>()) in getDepthAndIndex()
|
/external/clang/lib/Index/ |
D | USRGeneration.cpp | 720 if (const TemplateTypeParmType *TTP = T->getAs<TemplateTypeParmType>()) { in VisitType()
|
/external/llvm-project/clang/test/Modules/ |
D | odr_hash.cpp | 1992 namespace TemplateTypeParmType { namespace 2004 using TemplateTypeParmType::S1; 2026 using TemplateTypeParmType::S2; 2051 using TemplateTypeParmType::Valid1; 2061 using TemplateTypeParmType::Invalid1;
|
/external/llvm-project/clang/include/clang/Basic/ |
D | TypeNodes.td | 93 def TemplateTypeParmType : TypeNode<Type>, AlwaysDependent, LeafType;
|
/external/clang/lib/AST/ |
D | DeclTemplate.cpp | 505 return getTypeForDecl()->getAs<TemplateTypeParmType>()->getDepth(); in getDepth() 509 return getTypeForDecl()->getAs<TemplateTypeParmType>()->getIndex(); in getIndex() 513 return getTypeForDecl()->getAs<TemplateTypeParmType>()->isParameterPack(); in isParameterPack()
|
/external/llvm-project/clang/lib/Index/ |
D | USRGeneration.cpp | 846 if (const TemplateTypeParmType *TTP = T->getAs<TemplateTypeParmType>()) { in VisitType()
|
/external/llvm-project/clang/lib/AST/ |
D | DeclTemplate.cpp | 643 return getTypeForDecl()->castAs<TemplateTypeParmType>()->getDepth(); in getDepth() 647 return getTypeForDecl()->castAs<TemplateTypeParmType>()->getIndex(); in getIndex() 651 return getTypeForDecl()->castAs<TemplateTypeParmType>()->isParameterPack(); in isParameterPack()
|
D | TypePrinter.cpp | 1362 void TypePrinter::printTemplateTypeParmBefore(const TemplateTypeParmType *T, in printTemplateTypeParmBefore() 1379 void TypePrinter::printTemplateTypeParmAfter(const TemplateTypeParmType *T, in printTemplateTypeParmAfter() 1834 if (auto *TTPT = Pattern->getAs<TemplateTypeParmType>()) { in isSubstitutedType()
|
/external/llvm-project/clang-tools-extra/clangd/ |
D | DumpAST.cpp | 266 if (const auto *TTPT = dyn_cast<TemplateTypeParmType>(TL.getTypePtr())) in getDetail()
|