Home
last modified time | relevance | path

Searched refs:TemplateTypeParmType (Results 1 – 25 of 68) sorted by relevance

123

/external/llvm-project/clang/lib/Sema/
DSemaTemplateVariadic.cpp55 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()
DSemaTemplateInstantiate.cpp1265 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()
DSemaTemplateDeduction.cpp1215 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/
DSemaTemplateVariadic.cpp64 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()
DSemaTemplateDeduction.cpp536 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/
DRecursiveASTVisitorTestPostOrderVisitor.cpp69 bool VisitTemplateTypeParmType(TemplateTypeParmType *T) { in VisitTemplateTypeParmType()
/external/clang/unittests/AST/
DPostOrderASTVisitor.cpp67 bool VisitTemplateTypeParmType(TemplateTypeParmType *T) { in VisitTemplateTypeParmType()
/external/llvm-project/clang/include/clang/Tooling/Refactoring/
DRecursiveSymbolVisitor.h91 dyn_cast<TemplateTypeParmType>(Loc.getType())) { in VisitTypeLoc()
/external/clang/include/clang/AST/
DType.h3906 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 …]
DCanonicalType.h550 struct CanProxyAdaptor<TemplateTypeParmType>
551 : public CanProxyBase<TemplateTypeParmType> {
DASTContext.h116 mutable llvm::FoldingSet<TemplateTypeParmType> TemplateTypeParmTypes;
1228 QualType getSubstTemplateTypeParmType(const TemplateTypeParmType *Replaced,
1231 const TemplateTypeParmType *Replaced,
/external/llvm-project/clang/include/clang/AST/
DCanonicalType.h569 struct CanProxyAdaptor<TemplateTypeParmType>
570 : public CanProxyBase<TemplateTypeParmType> {
DType.h4755 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 …]
DTypeProperties.td679 let Class = TemplateTypeParmType in {
711 cast<TemplateTypeParmType>(replacedParameter),
740 cast<TemplateTypeParmType>(replacedParameter),
DTextNodeDumper.h314 void VisitTemplateTypeParmType(const TemplateTypeParmType *T);
DJSONNodeDumper.h220 void VisitTemplateTypeParmType(const TemplateTypeParmType *TTPT);
/external/llvm-project/clang/include/clang/Sema/
DSemaInternal.h79 if (const auto *TTP = UPP.first.dyn_cast<const TemplateTypeParmType *>()) in getDepthAndIndex()
/external/clang/lib/Index/
DUSRGeneration.cpp720 if (const TemplateTypeParmType *TTP = T->getAs<TemplateTypeParmType>()) { in VisitType()
/external/llvm-project/clang/test/Modules/
Dodr_hash.cpp1992 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/
DTypeNodes.td93 def TemplateTypeParmType : TypeNode<Type>, AlwaysDependent, LeafType;
/external/clang/lib/AST/
DDeclTemplate.cpp505 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/
DUSRGeneration.cpp846 if (const TemplateTypeParmType *TTP = T->getAs<TemplateTypeParmType>()) { in VisitType()
/external/llvm-project/clang/lib/AST/
DDeclTemplate.cpp643 return getTypeForDecl()->castAs<TemplateTypeParmType>()->getDepth(); in getDepth()
647 return getTypeForDecl()->castAs<TemplateTypeParmType>()->getIndex(); in getIndex()
651 return getTypeForDecl()->castAs<TemplateTypeParmType>()->isParameterPack(); in isParameterPack()
DTypePrinter.cpp1362 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/
DDumpAST.cpp266 if (const auto *TTPT = dyn_cast<TemplateTypeParmType>(TL.getTypePtr())) in getDetail()

123