Home
last modified time | relevance | path

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

12

/freebsd-11-stable/contrib/llvm-project/clang/lib/Sema/
HDSemaTemplateVariadic.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()
665 if (const TemplateTypeParmType *TTP in CheckParameterPacksForExpansion()
666 = i->first.dyn_cast<const TemplateTypeParmType *>()) { in CheckParameterPacksForExpansion()
794 if (const TemplateTypeParmType *TTP in getNumArgumentsInExpansion()
795 = Unexpanded[I].first.dyn_cast<const TemplateTypeParmType *>()) { in getNumArgumentsInExpansion()
HDSemaTemplateDeduction.cpp1197 auto *TypeParm = ParamRef->getPointeeType()->getAs<TemplateTypeParmType>(); in isForwardingReference()
1342 if (const TemplateTypeParmType *TemplateTypeParm in DeduceTemplateArgumentsByTypeMatch()
1343 = Param->getAs<TemplateTypeParmType>()) { in DeduceTemplateArgumentsByTypeMatch()
4380 assert(isa<TemplateTypeParmType>(Replacement) && in TransformDesugared()
5465 bool VisitTemplateTypeParmType(TemplateTypeParmType *T) { in VisitTemplateTypeParmType()
5710 const TemplateTypeParmType *TTP = cast<TemplateTypeParmType>(T); in MarkUsedTemplateParameters()
HDSemaTemplateInstantiate.cpp1243 const TemplateTypeParmType *TTP in TransformFirstQualifierInScope()
1244 = cast<TemplateTypeParmType>(getSema().Context.getTypeDeclType(TTPD)); in TransformFirstQualifierInScope()
1714 const TemplateTypeParmType *T = TL.getTypePtr(); in TransformTemplateTypeParmType()
2168 const TemplateTypeParmType *T) { in VisitTemplateTypeParmType()
HDSemaCXXScopeSpec.cpp739 } else if (isa<TemplateTypeParmType>(T)) { in BuildCXXNestedNameSpecifier()
/freebsd-11-stable/contrib/llvm-project/clang/include/clang/Tooling/Refactoring/
HDRecursiveSymbolVisitor.h91 dyn_cast<TemplateTypeParmType>(Loc.getType())) { in VisitTypeLoc()
/freebsd-11-stable/contrib/llvm-project/clang/include/clang/AST/
HDCanonicalType.h567 struct CanProxyAdaptor<TemplateTypeParmType>
568 : public CanProxyBase<TemplateTypeParmType> {
HDType.h4647 class TemplateTypeParmType : public Type, public llvm::FoldingSetNode {
4666 TemplateTypeParmType(TemplateTypeParmDecl *TTPDecl, QualType Canon)
4674 TemplateTypeParmType(unsigned D, unsigned I, bool PP)
4686 return Can->castAs<TemplateTypeParmType>()->CanTTPTInfo;
4732 const TemplateTypeParmType *Replaced;
4734 SubstTemplateTypeParmType(const TemplateTypeParmType *Param, QualType Canon)
4743 const TemplateTypeParmType *getReplacedParameter() const {
4761 const TemplateTypeParmType *Replaced,
4788 const TemplateTypeParmType *Replaced;
4794 SubstTemplateTypeParmPackType(const TemplateTypeParmType *Param,
[all …]
HDTypeProperties.td633 let Class = TemplateTypeParmType in {
665 cast<TemplateTypeParmType>(replacedParameter),
693 cast<TemplateTypeParmType>(replacedParameter),
HDTextNodeDumper.h290 void VisitTemplateTypeParmType(const TemplateTypeParmType *T);
HDJSONNodeDumper.h216 void VisitTemplateTypeParmType(const TemplateTypeParmType *TTPT);
HDASTContext.h196 mutable llvm::FoldingSet<TemplateTypeParmType> TemplateTypeParmTypes;
1446 QualType getSubstTemplateTypeParmType(const TemplateTypeParmType *Replaced,
1449 const TemplateTypeParmType *Replaced,
HDRecursiveASTVisitor.h1057 DEF_TRAVERSE_TYPE(TemplateTypeParmType, {})
1311 DEF_TRAVERSE_TYPELOC(TemplateTypeParmType, {})
/freebsd-11-stable/contrib/llvm-project/clang/include/clang/Sema/
HDSemaInternal.h79 if (const auto *TTP = UPP.first.dyn_cast<const TemplateTypeParmType *>()) in getDepthAndIndex()
/freebsd-11-stable/contrib/llvm-project/clang/include/clang/Basic/
HDTypeNodes.td90 def TemplateTypeParmType : TypeNode<Type>, AlwaysDependent, LeafType;
/freebsd-11-stable/contrib/llvm-project/clang/lib/AST/
HDDeclTemplate.cpp643 return getTypeForDecl()->castAs<TemplateTypeParmType>()->getDepth(); in getDepth()
647 return getTypeForDecl()->castAs<TemplateTypeParmType>()->getIndex(); in getIndex()
651 return getTypeForDecl()->castAs<TemplateTypeParmType>()->isParameterPack(); in isParameterPack()
HDTypePrinter.cpp1242 void TypePrinter::printTemplateTypeParmBefore(const TemplateTypeParmType *T, in printTemplateTypeParmBefore()
1259 void TypePrinter::printTemplateTypeParmAfter(const TemplateTypeParmType *T, in printTemplateTypeParmAfter()
HDASTStructuralEquivalence.cpp778 const auto *Parm1 = cast<TemplateTypeParmType>(T1); in IsStructurallyEquivalent()
779 const auto *Parm2 = cast<TemplateTypeParmType>(T2); in IsStructurallyEquivalent()
HDODRHash.cpp1025 void VisitTemplateTypeParmType(const TemplateTypeParmType *T) { in VisitTemplateTypeParmType()
HDType.cpp3390 IdentifierInfo *TemplateTypeParmType::getIdentifier() const { in getIdentifier()
3395 SubstTemplateTypeParmPackType(const TemplateTypeParmType *Param, in SubstTemplateTypeParmPackType()
3412 const TemplateTypeParmType *Replaced, in Profile()
HDASTContext.cpp4217 ASTContext::getSubstTemplateTypeParmType(const TemplateTypeParmType *Parm, in getSubstTemplateTypeParmType()
4240 const TemplateTypeParmType *Parm, in getSubstTemplateTypeParmPackType()
4259 Canon = getSubstTemplateTypeParmPackType(cast<TemplateTypeParmType>(Canon), in getSubstTemplateTypeParmPackType()
4279 TemplateTypeParmType::Profile(ID, Depth, Index, ParameterPack, TTPDecl); in getTemplateTypeParmType()
4281 TemplateTypeParmType *TypeParm in getTemplateTypeParmType()
4289 TypeParm = new (*this, TypeAlignment) TemplateTypeParmType(TTPDecl, Canon); in getTemplateTypeParmType()
4291 TemplateTypeParmType *TypeCheck in getTemplateTypeParmType()
4297 TemplateTypeParmType(Depth, Index, ParameterPack); in getTemplateTypeParmType()
HDTextNodeDumper.cpp1192 void TextNodeDumper::VisitTemplateTypeParmType(const TemplateTypeParmType *T) { in VisitTemplateTypeParmType()
/freebsd-11-stable/contrib/llvm-project/clang/lib/Index/
HDUSRGeneration.cpp841 if (const TemplateTypeParmType *TTP = T->getAs<TemplateTypeParmType>()) { in VisitType()
/freebsd-11-stable/contrib/llvm-project/clang/lib/Analysis/
HDExprMutationAnalyzer.cpp418 RefType->getPointeeType()->getAs<TemplateTypeParmType>()) { in findFunctionArgMutation()
/freebsd-11-stable/contrib/llvm-project/clang/include/clang/ASTMatchers/
HDASTMatchersInternal.h807 if (const auto *S = dyn_cast<TemplateTypeParmType>(EffectiveType)) { in matchesSpecialized()
1133 TemplateSpecializationType, TemplateTypeParmType, TypedefType,
/freebsd-11-stable/contrib/llvm-project/clang/lib/ASTMatchers/
HDASTMatchersInternal.cpp891 const AstTypeMatcher<TemplateTypeParmType> templateTypeParmType;

12