/freebsd/contrib/llvm-project/clang/lib/Sema/ |
H A D | SemaTemplateVariadic.cpp | 56 void addUnexpanded(const TemplateTypeParmType *T, in addUnexpanded() 88 bool VisitTemplateTypeParmType(TemplateTypeParmType *T) { in VisitTemplateTypeParmType() 318 if (auto *TTPT = Pack.first.dyn_cast<const TemplateTypeParmType *>()) { in DiagnoseUnexpandedParameterPacks() 370 if (const TemplateTypeParmType *TTP in DiagnoseUnexpandedParameterPacks() 371 = Unexpanded[I].first.dyn_cast<const TemplateTypeParmType *>()) in DiagnoseUnexpandedParameterPacks() 711 if (const TemplateTypeParmType *TTP = in CheckParameterPacksForExpansion() 712 ParmPack.first.dyn_cast<const TemplateTypeParmType *>()) { in CheckParameterPacksForExpansion() 840 if (const TemplateTypeParmType *TTP = in getNumArgumentsInExpansion() 841 Unexpanded[I].first.dyn_cast<const TemplateTypeParmType *>()) { in getNumArgumentsInExpansion()
|
H A D | SemaTemplateDeduction.cpp | 1375 auto *TypeParm = ParamRef->getPointeeType()->getAs<TemplateTypeParmType>(); in isForwardingReference() 1628 if (const auto *TTP = P->getAs<TemplateTypeParmType>()) { in DeduceTemplateArgumentsByTypeMatch() 4916 assert(isa<TemplateTypeParmType>(Replacement) && in TransformDesugared() 6251 bool VisitTemplateTypeParmType(TemplateTypeParmType *T) { in VisitTemplateTypeParmType() 6495 const TemplateTypeParmType *TTP = cast<TemplateTypeParmType>(T); in MarkUsedTemplateParameters()
|
H A D | SemaCXXScopeSpec.cpp | 671 } else if (isa<TemplateTypeParmType>(T)) { in BuildCXXNestedNameSpecifier()
|
H A D | SemaTemplateInstantiate.cpp | 1870 const TemplateTypeParmType *TTP in TransformFirstQualifierInScope() 1871 = cast<TemplateTypeParmType>(getSema().Context.getTypeDeclType(TTPD)); in TransformFirstQualifierInScope() 2461 const TemplateTypeParmType *T = TL.getTypePtr(); in TransformTemplateTypeParmType() 2963 const TemplateTypeParmType *T) { in VisitTemplateTypeParmType()
|
H A D | SemaCodeComplete.cpp | 5338 ConceptInfo(const TemplateTypeParmType &BaseType, Scope *S) { in ConceptInfo() 5356 void believe(const Expr *E, const TemplateTypeParmType *T) { in believe() 5381 auto *TT = cast<TemplateTypeParmType>(TTPD->getTypeForDecl()); in believe() 5429 const TemplateTypeParmType *T; 5439 ValidVisitor(ConceptInfo *Outer, const TemplateTypeParmType *T) in ValidVisitor() 5791 dyn_cast<TemplateTypeParmType>(BaseType.getTypePtr())) { in CodeCompleteMemberReferenceExpr() 6753 dyn_cast_or_null<TemplateTypeParmType>(NNS->getAsType())) { in CodeCompleteQualifiedId()
|
H A D | SemaTemplateDeductionGuide.cpp | 672 bool VisitTemplateTypeParmType(TemplateTypeParmType *TTP) { in TemplateParamsReferencedInTemplateArgumentList()
|
/freebsd/contrib/llvm-project/clang/include/clang/Tooling/Refactoring/ |
H A D | RecursiveSymbolVisitor.h | 91 dyn_cast<TemplateTypeParmType>(Loc.getType())) { in VisitTypeLoc()
|
/freebsd/contrib/llvm-project/clang/include/clang/AST/ |
H A D | CanonicalType.h | 568 struct CanProxyAdaptor<TemplateTypeParmType> 569 : public CanProxyBase<TemplateTypeParmType> {
|
H A D | TextNodeDumper.h | 339 void VisitTemplateTypeParmType(const TemplateTypeParmType *T);
|
H A D | JSONNodeDumper.h | 234 void VisitTemplateTypeParmType(const TemplateTypeParmType *TTPT);
|
H A D | Type.h | 6124 class TemplateTypeParmType : public Type, public llvm::FoldingSetNode { 6143 TemplateTypeParmType(TemplateTypeParmDecl *TTPDecl, QualType Canon) 6150 TemplateTypeParmType(unsigned D, unsigned I, bool PP) 6161 return Can->castAs<TemplateTypeParmType>()->CanTTPTInfo; 8264 return isa<TemplateTypeParmType>(CanonicalType);
|
H A D | TypeProperties.td | 764 let Class = TemplateTypeParmType in {
|
H A D | RecursiveASTVisitor.h | 1122 DEF_TRAVERSE_TYPE(TemplateTypeParmType, {}) 1416 DEF_TRAVERSE_TYPELOC(TemplateTypeParmType, {})
|
/freebsd/contrib/llvm-project/clang/include/clang/Sema/ |
H A D | SemaInternal.h | 75 if (const auto *TTP = UPP.first.dyn_cast<const TemplateTypeParmType *>()) in getDepthAndIndex()
|
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/WebKit/ |
H A D | RefCntblBaseVirtualDtorChecker.cpp | 87 if (auto *ParmType = dyn_cast<TemplateTypeParmType>(PointeeType)) { in VisitCXXDeleteExpr()
|
/freebsd/contrib/llvm-project/clang/include/clang/Basic/ |
H A D | TypeNodes.td | 96 def TemplateTypeParmType : TypeNode<Type>, AlwaysDependent, LeafType;
|
/freebsd/contrib/llvm-project/clang/lib/Index/ |
H A D | USRGeneration.cpp | 931 if (const TemplateTypeParmType *TTP = T->getAs<TemplateTypeParmType>()) { in VisitType()
|
/freebsd/contrib/llvm-project/clang/lib/AST/ |
H A D | DeclTemplate.cpp | 698 return getTypeForDecl()->castAs<TemplateTypeParmType>()->getDepth(); in getDepth() 702 return getTypeForDecl()->castAs<TemplateTypeParmType>()->getIndex(); in getIndex() 706 return getTypeForDecl()->castAs<TemplateTypeParmType>()->isParameterPack(); in isParameterPack()
|
H A D | TypePrinter.cpp | 1551 void TypePrinter::printTemplateTypeParmBefore(const TemplateTypeParmType *T, in printTemplateTypeParmBefore() 1569 void TypePrinter::printTemplateTypeParmAfter(const TemplateTypeParmType *T, in printTemplateTypeParmAfter() 2172 if (auto *TTPT = Pattern->getAs<TemplateTypeParmType>()) { in isSubstitutedType()
|
H A D | ASTStructuralEquivalence.cpp | 1195 const auto *Parm1 = cast<TemplateTypeParmType>(T1); in IsStructurallyEquivalent() 1196 const auto *Parm2 = cast<TemplateTypeParmType>(T2); in IsStructurallyEquivalent()
|
H A D | ODRHash.cpp | 1181 void VisitTemplateTypeParmType(const TemplateTypeParmType *T) { in VisitTemplateTypeParmType()
|
H A D | ASTContext.cpp | 5273 TemplateTypeParmType::Profile(ID, Depth, Index, ParameterPack, TTPDecl); in getTemplateTypeParmType() 5275 TemplateTypeParmType *TypeParm in getTemplateTypeParmType() 5283 TypeParm = new (*this, alignof(TemplateTypeParmType)) in getTemplateTypeParmType() 5284 TemplateTypeParmType(TTPDecl, Canon); in getTemplateTypeParmType() 5286 TemplateTypeParmType *TypeCheck in getTemplateTypeParmType() 5291 TypeParm = new (*this, alignof(TemplateTypeParmType)) in getTemplateTypeParmType() 5292 TemplateTypeParmType(Depth, Index, ParameterPack); in getTemplateTypeParmType() 13480 const auto *TX = cast<TemplateTypeParmType>(X), in getCommonNonSugarTypeNode() 13481 *TY = cast<TemplateTypeParmType>(Y); in getCommonNonSugarTypeNode()
|
/freebsd/contrib/llvm-project/clang/lib/Analysis/ |
H A D | ExprMutationAnalyzer.cpp | 655 RefType->getPointeeType()->getAs<TemplateTypeParmType>()) { in findFunctionArgMutation()
|
/freebsd/contrib/llvm-project/clang/include/clang/ASTMatchers/ |
H A D | ASTMatchersInternal.h | 1029 if (const auto *S = dyn_cast<TemplateTypeParmType>(&Node)) { 1215 TemplateSpecializationType, TemplateTypeParmType, TypedefType,
|
/freebsd/contrib/llvm-project/clang/lib/Frontend/ |
H A D | FrontendActions.cpp | 519 if (const auto *TTPT = dyn_cast_or_null<TemplateTypeParmType>(Ty)) { in printEntryName()
|