Home
last modified time | relevance | path

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

12

/freebsd-14.2/contrib/llvm-project/clang/lib/Sema/
H A DSemaTemplateVariadic.cpp56 void addUnexpanded(const TemplateTypeParmType *T, in addUnexpanded()
85 bool VisitTemplateTypeParmType(TemplateTypeParmType *T) { in VisitTemplateTypeParmType()
306 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()
695 if (const TemplateTypeParmType *TTP = in CheckParameterPacksForExpansion()
696 ParmPack.first.dyn_cast<const TemplateTypeParmType *>()) { in CheckParameterPacksForExpansion()
824 if (const TemplateTypeParmType *TTP = in getNumArgumentsInExpansion()
825 Unexpanded[I].first.dyn_cast<const TemplateTypeParmType *>()) { in getNumArgumentsInExpansion()
H A DSemaTemplateInstantiate.cpp1666 const TemplateTypeParmType *TTP in TransformFirstQualifierInScope()
1667 = cast<TemplateTypeParmType>(getSema().Context.getTypeDeclType(TTPD)); in TransformFirstQualifierInScope()
2231 const TemplateTypeParmType *T = TL.getTypePtr(); in TransformTemplateTypeParmType()
2260 assert(isa<TemplateTypeParmType>(NewT) && in TransformTemplateTypeParmType()
2778 const TemplateTypeParmType *T) { in VisitTemplateTypeParmType()
H A DSemaTemplateDeduction.cpp1239 auto *TypeParm = ParamRef->getPointeeType()->getAs<TemplateTypeParmType>(); in isForwardingReference()
1492 if (const auto *TTP = P->getAs<TemplateTypeParmType>()) { in DeduceTemplateArgumentsByTypeMatch()
4785 assert(isa<TemplateTypeParmType>(Replacement) && in TransformDesugared()
6077 bool VisitTemplateTypeParmType(TemplateTypeParmType *T) { in VisitTemplateTypeParmType()
6321 const TemplateTypeParmType *TTP = cast<TemplateTypeParmType>(T); in MarkUsedTemplateParameters()
H A DSemaCXXScopeSpec.cpp736 } else if (isa<TemplateTypeParmType>(T)) { in BuildCXXNestedNameSpecifier()
H A DSemaCodeComplete.cpp5323 ConceptInfo(const TemplateTypeParmType &BaseType, Scope *S) { in ConceptInfo()
5341 void believe(const Expr *E, const TemplateTypeParmType *T) { in believe()
5366 auto *TT = cast<TemplateTypeParmType>(TTPD->getTypeForDecl()); in believe()
5414 const TemplateTypeParmType *T;
5424 ValidVisitor(ConceptInfo *Outer, const TemplateTypeParmType *T) in ValidVisitor()
5765 dyn_cast<TemplateTypeParmType>(BaseType.getTypePtr())) { in CodeCompleteMemberReferenceExpr()
6703 dyn_cast_or_null<TemplateTypeParmType>(NNS->getAsType())) { in CodeCompleteQualifiedId()
H A DSemaConcept.cpp761 const TemplateTypeParmType *T = TL.getTypePtr(); in TransformTemplateTypeParmType()
/freebsd-14.2/contrib/llvm-project/clang/include/clang/Tooling/Refactoring/
H A DRecursiveSymbolVisitor.h91 dyn_cast<TemplateTypeParmType>(Loc.getType())) { in VisitTypeLoc()
/freebsd-14.2/contrib/llvm-project/clang/include/clang/AST/
H A DCanonicalType.h568 struct CanProxyAdaptor<TemplateTypeParmType>
569 : public CanProxyBase<TemplateTypeParmType> {
H A DTextNodeDumper.h328 void VisitTemplateTypeParmType(const TemplateTypeParmType *T);
H A DJSONNodeDumper.h231 void VisitTemplateTypeParmType(const TemplateTypeParmType *TTPT);
H A DType.h5210 class TemplateTypeParmType : public Type, public llvm::FoldingSetNode {
5229 TemplateTypeParmType(TemplateTypeParmDecl *TTPDecl, QualType Canon)
5236 TemplateTypeParmType(unsigned D, unsigned I, bool PP)
5247 return Can->castAs<TemplateTypeParmType>()->CanTTPTInfo;
7339 return isa<TemplateTypeParmType>(CanonicalType);
H A DTypeProperties.td717 let Class = TemplateTypeParmType in {
/freebsd-14.2/contrib/llvm-project/clang/include/clang/Sema/
H A DSemaInternal.h79 if (const auto *TTP = UPP.first.dyn_cast<const TemplateTypeParmType *>()) in getDepthAndIndex()
/freebsd-14.2/contrib/llvm-project/clang/include/clang/Basic/
H A DTypeNodes.td95 def TemplateTypeParmType : TypeNode<Type>, AlwaysDependent, LeafType;
/freebsd-14.2/contrib/llvm-project/clang/lib/Index/
H A DUSRGeneration.cpp915 if (const TemplateTypeParmType *TTP = T->getAs<TemplateTypeParmType>()) { in VisitType()
/freebsd-14.2/contrib/llvm-project/clang/lib/AST/
H A DDeclTemplate.cpp689 return getTypeForDecl()->castAs<TemplateTypeParmType>()->getDepth(); in getDepth()
693 return getTypeForDecl()->castAs<TemplateTypeParmType>()->getIndex(); in getIndex()
697 return getTypeForDecl()->castAs<TemplateTypeParmType>()->isParameterPack(); in isParameterPack()
H A DTypePrinter.cpp1487 void TypePrinter::printTemplateTypeParmBefore(const TemplateTypeParmType *T, in printTemplateTypeParmBefore()
1505 void TypePrinter::printTemplateTypeParmAfter(const TemplateTypeParmType *T, in printTemplateTypeParmAfter()
2052 if (auto *TTPT = Pattern->getAs<TemplateTypeParmType>()) { in isSubstitutedType()
H A DASTStructuralEquivalence.cpp1177 const auto *Parm1 = cast<TemplateTypeParmType>(T1); in IsStructurallyEquivalent()
1178 const auto *Parm2 = cast<TemplateTypeParmType>(T2); in IsStructurallyEquivalent()
H A DODRHash.cpp1164 void VisitTemplateTypeParmType(const TemplateTypeParmType *T) { in VisitTemplateTypeParmType()
H A DASTContext.cpp4858 TemplateTypeParmType::Profile(ID, Depth, Index, ParameterPack, TTPDecl); in getTemplateTypeParmType()
4860 TemplateTypeParmType *TypeParm in getTemplateTypeParmType()
4868 TypeParm = new (*this, alignof(TemplateTypeParmType)) in getTemplateTypeParmType()
4869 TemplateTypeParmType(TTPDecl, Canon); in getTemplateTypeParmType()
4871 TemplateTypeParmType *TypeCheck in getTemplateTypeParmType()
4876 TypeParm = new (*this, alignof(TemplateTypeParmType)) in getTemplateTypeParmType()
4877 TemplateTypeParmType(Depth, Index, ParameterPack); in getTemplateTypeParmType()
12968 const auto *TX = cast<TemplateTypeParmType>(X), in getCommonNonSugarTypeNode()
12969 *TY = cast<TemplateTypeParmType>(Y); in getCommonNonSugarTypeNode()
/freebsd-14.2/contrib/llvm-project/clang/lib/Analysis/
H A DExprMutationAnalyzer.cpp639 RefType->getPointeeType()->getAs<TemplateTypeParmType>()) { in findFunctionArgMutation()
/freebsd-14.2/contrib/llvm-project/clang/include/clang/ASTMatchers/
H A DASTMatchersInternal.h1033 if (const auto *S = dyn_cast<TemplateTypeParmType>(&Node)) {
1219 TemplateSpecializationType, TemplateTypeParmType, TypedefType,
/freebsd-14.2/contrib/llvm-project/clang/lib/Frontend/
H A DFrontendActions.cpp489 if (const auto *TTPT = dyn_cast_or_null<TemplateTypeParmType>(Ty)) { in printEntryName()
/freebsd-14.2/contrib/llvm-project/clang/lib/ASTMatchers/
H A DASTMatchersInternal.cpp1078 const AstTypeMatcher<TemplateTypeParmType> templateTypeParmType;
/freebsd-14.2/contrib/llvm-project/clang/include/clang/ExtractAPI/
H A DExtractAPIVisitor.h186 BaseSpecifier.getType()->getAs<TemplateTypeParmType>()->getDecl()); in getBases()

12