Home
last modified time | relevance | path

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

12

/freebsd-12-stable/contrib/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.cpp1266 const TemplateTypeParmType *TTP in TransformFirstQualifierInScope()
1267 = cast<TemplateTypeParmType>(getSema().Context.getTypeDeclType(TTPD)); in TransformFirstQualifierInScope()
1767 const TemplateTypeParmType *T = TL.getTypePtr(); in TransformTemplateTypeParmType()
1796 assert(isa<TemplateTypeParmType>(NewT) && in TransformTemplateTypeParmType()
2238 const TemplateTypeParmType *T) { in VisitTemplateTypeParmType()
DSemaTemplateDeduction.cpp1200 auto *TypeParm = ParamRef->getPointeeType()->getAs<TemplateTypeParmType>(); in isForwardingReference()
1459 if (const TemplateTypeParmType *TemplateTypeParm in DeduceTemplateArgumentsByTypeMatch()
1460 = Param->getAs<TemplateTypeParmType>()) { in DeduceTemplateArgumentsByTypeMatch()
4589 assert(isa<TemplateTypeParmType>(Replacement) && in TransformDesugared()
5706 bool VisitTemplateTypeParmType(TemplateTypeParmType *T) { in VisitTemplateTypeParmType()
5950 const TemplateTypeParmType *TTP = cast<TemplateTypeParmType>(T); in MarkUsedTemplateParameters()
DSemaCXXScopeSpec.cpp753 } else if (isa<TemplateTypeParmType>(T)) { in BuildCXXNestedNameSpecifier()
DSemaCodeComplete.cpp4932 ConceptInfo(const TemplateTypeParmType &BaseType, Scope *S) { in ConceptInfo()
4950 void believe(const Expr *E, const TemplateTypeParmType *T) { in believe()
4975 auto *TT = cast<TemplateTypeParmType>(TTPD->getTypeForDecl()); in believe()
5023 const TemplateTypeParmType *T;
5033 ValidVisitor(ConceptInfo *Outer, const TemplateTypeParmType *T) in ValidVisitor()
5355 dyn_cast<TemplateTypeParmType>(BaseType.getTypePtr())) { in CodeCompleteMemberReferenceExpr()
6075 dyn_cast_or_null<TemplateTypeParmType>(NNS->getAsType())) { in CodeCompleteQualifiedId()
/freebsd-12-stable/contrib/llvm-project/clang/include/clang/Tooling/Refactoring/
DRecursiveSymbolVisitor.h91 dyn_cast<TemplateTypeParmType>(Loc.getType())) { in VisitTypeLoc()
/freebsd-12-stable/contrib/llvm-project/clang/include/clang/AST/
DCanonicalType.h569 struct CanProxyAdaptor<TemplateTypeParmType>
570 : public CanProxyBase<TemplateTypeParmType> {
DType.h4767 class TemplateTypeParmType : public Type, public llvm::FoldingSetNode {
4786 TemplateTypeParmType(TemplateTypeParmDecl *TTPDecl, QualType Canon)
4793 TemplateTypeParmType(unsigned D, unsigned I, bool PP)
4804 return Can->castAs<TemplateTypeParmType>()->CanTTPTInfo;
4850 const TemplateTypeParmType *Replaced;
4852 SubstTemplateTypeParmType(const TemplateTypeParmType *Param, QualType Canon)
4858 const TemplateTypeParmType *getReplacedParameter() const {
4876 const TemplateTypeParmType *Replaced,
4903 const TemplateTypeParmType *Replaced;
4909 SubstTemplateTypeParmPackType(const TemplateTypeParmType *Param,
[all …]
DTypeProperties.td683 let Class = TemplateTypeParmType in {
715 cast<TemplateTypeParmType>(replacedParameter),
744 cast<TemplateTypeParmType>(replacedParameter),
DTextNodeDumper.h317 void VisitTemplateTypeParmType(const TemplateTypeParmType *T);
DJSONNodeDumper.h222 void VisitTemplateTypeParmType(const TemplateTypeParmType *TTPT);
DASTContext.h219 mutable llvm::FoldingSet<TemplateTypeParmType> TemplateTypeParmTypes;
1533 QualType getSubstTemplateTypeParmType(const TemplateTypeParmType *Replaced,
1536 const TemplateTypeParmType *Replaced,
DRecursiveASTVisitor.h1014 DEF_TRAVERSE_TYPE(TemplateTypeParmType, {})
1291 DEF_TRAVERSE_TYPELOC(TemplateTypeParmType, {})
/freebsd-12-stable/contrib/llvm-project/clang/include/clang/Sema/
DSemaInternal.h79 if (const auto *TTP = UPP.first.dyn_cast<const TemplateTypeParmType *>()) in getDepthAndIndex()
/freebsd-12-stable/contrib/llvm-project/clang/include/clang/Basic/
DTypeNodes.td93 def TemplateTypeParmType : TypeNode<Type>, AlwaysDependent, LeafType;
/freebsd-12-stable/contrib/llvm-project/clang/lib/AST/
DDeclTemplate.cpp669 return getTypeForDecl()->castAs<TemplateTypeParmType>()->getDepth(); in getDepth()
673 return getTypeForDecl()->castAs<TemplateTypeParmType>()->getIndex(); in getIndex()
677 return getTypeForDecl()->castAs<TemplateTypeParmType>()->isParameterPack(); in isParameterPack()
DTypePrinter.cpp1392 void TypePrinter::printTemplateTypeParmBefore(const TemplateTypeParmType *T, in printTemplateTypeParmBefore()
1409 void TypePrinter::printTemplateTypeParmAfter(const TemplateTypeParmType *T, in printTemplateTypeParmAfter()
1877 if (auto *TTPT = Pattern->getAs<TemplateTypeParmType>()) { in isSubstitutedType()
DASTStructuralEquivalence.cpp1028 const auto *Parm1 = cast<TemplateTypeParmType>(T1); in IsStructurallyEquivalent()
1029 const auto *Parm2 = cast<TemplateTypeParmType>(T2); in IsStructurallyEquivalent()
DODRHash.cpp1025 void VisitTemplateTypeParmType(const TemplateTypeParmType *T) { in VisitTemplateTypeParmType()
DType.cpp3583 IdentifierInfo *TemplateTypeParmType::getIdentifier() const { in getIdentifier()
3588 const TemplateTypeParmType *Param, QualType Canon, in SubstTemplateTypeParmPackType()
3606 const TemplateTypeParmType *Replaced, in Profile()
DASTContext.cpp4599 ASTContext::getSubstTemplateTypeParmType(const TemplateTypeParmType *Parm, in getSubstTemplateTypeParmType()
4622 const TemplateTypeParmType *Parm, in getSubstTemplateTypeParmPackType()
4641 Canon = getSubstTemplateTypeParmPackType(cast<TemplateTypeParmType>(Canon), in getSubstTemplateTypeParmPackType()
4661 TemplateTypeParmType::Profile(ID, Depth, Index, ParameterPack, TTPDecl); in getTemplateTypeParmType()
4663 TemplateTypeParmType *TypeParm in getTemplateTypeParmType()
4671 TypeParm = new (*this, TypeAlignment) TemplateTypeParmType(TTPDecl, Canon); in getTemplateTypeParmType()
4673 TemplateTypeParmType *TypeCheck in getTemplateTypeParmType()
4679 TemplateTypeParmType(Depth, Index, ParameterPack); in getTemplateTypeParmType()
/freebsd-12-stable/contrib/llvm-project/clang/lib/Index/
DUSRGeneration.cpp848 if (const TemplateTypeParmType *TTP = T->getAs<TemplateTypeParmType>()) { in VisitType()
/freebsd-12-stable/contrib/llvm-project/clang/lib/Analysis/
DExprMutationAnalyzer.cpp571 RefType->getPointeeType()->getAs<TemplateTypeParmType>()) { in findFunctionArgMutation()
/freebsd-12-stable/contrib/llvm-project/clang/include/clang/ASTMatchers/
DASTMatchersInternal.h1043 if (const auto *S = dyn_cast<TemplateTypeParmType>(EffectiveType)) {
1222 TemplateSpecializationType, TemplateTypeParmType, TypedefType,
/freebsd-12-stable/contrib/llvm-project/clang/lib/ASTMatchers/
DASTMatchersInternal.cpp1048 const AstTypeMatcher<TemplateTypeParmType> templateTypeParmType;

12