Home
last modified time | relevance | path

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

12

/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaTemplateVariadic.cpp56 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 DSemaTemplateDeduction.cpp1375 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 DSemaCXXScopeSpec.cpp671 } else if (isa<TemplateTypeParmType>(T)) { in BuildCXXNestedNameSpecifier()
H A DSemaTemplateInstantiate.cpp1870 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 DSemaCodeComplete.cpp5338 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 DSemaTemplateDeductionGuide.cpp672 bool VisitTemplateTypeParmType(TemplateTypeParmType *TTP) { in TemplateParamsReferencedInTemplateArgumentList()
/freebsd/contrib/llvm-project/clang/include/clang/Tooling/Refactoring/
H A DRecursiveSymbolVisitor.h91 dyn_cast<TemplateTypeParmType>(Loc.getType())) { in VisitTypeLoc()
/freebsd/contrib/llvm-project/clang/include/clang/AST/
H A DCanonicalType.h568 struct CanProxyAdaptor<TemplateTypeParmType>
569 : public CanProxyBase<TemplateTypeParmType> {
H A DTextNodeDumper.h339 void VisitTemplateTypeParmType(const TemplateTypeParmType *T);
H A DJSONNodeDumper.h234 void VisitTemplateTypeParmType(const TemplateTypeParmType *TTPT);
H A DType.h6124 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 DTypeProperties.td764 let Class = TemplateTypeParmType in {
H A DRecursiveASTVisitor.h1122 DEF_TRAVERSE_TYPE(TemplateTypeParmType, {})
1416 DEF_TRAVERSE_TYPELOC(TemplateTypeParmType, {})
/freebsd/contrib/llvm-project/clang/include/clang/Sema/
H A DSemaInternal.h75 if (const auto *TTP = UPP.first.dyn_cast<const TemplateTypeParmType *>()) in getDepthAndIndex()
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/WebKit/
H A DRefCntblBaseVirtualDtorChecker.cpp87 if (auto *ParmType = dyn_cast<TemplateTypeParmType>(PointeeType)) { in VisitCXXDeleteExpr()
/freebsd/contrib/llvm-project/clang/include/clang/Basic/
H A DTypeNodes.td96 def TemplateTypeParmType : TypeNode<Type>, AlwaysDependent, LeafType;
/freebsd/contrib/llvm-project/clang/lib/Index/
H A DUSRGeneration.cpp931 if (const TemplateTypeParmType *TTP = T->getAs<TemplateTypeParmType>()) { in VisitType()
/freebsd/contrib/llvm-project/clang/lib/AST/
H A DDeclTemplate.cpp698 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 DTypePrinter.cpp1551 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 DASTStructuralEquivalence.cpp1195 const auto *Parm1 = cast<TemplateTypeParmType>(T1); in IsStructurallyEquivalent()
1196 const auto *Parm2 = cast<TemplateTypeParmType>(T2); in IsStructurallyEquivalent()
H A DODRHash.cpp1181 void VisitTemplateTypeParmType(const TemplateTypeParmType *T) { in VisitTemplateTypeParmType()
H A DASTContext.cpp5273 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 DExprMutationAnalyzer.cpp655 RefType->getPointeeType()->getAs<TemplateTypeParmType>()) { in findFunctionArgMutation()
/freebsd/contrib/llvm-project/clang/include/clang/ASTMatchers/
H A DASTMatchersInternal.h1029 if (const auto *S = dyn_cast<TemplateTypeParmType>(&Node)) {
1215 TemplateSpecializationType, TemplateTypeParmType, TypedefType,
/freebsd/contrib/llvm-project/clang/lib/Frontend/
H A DFrontendActions.cpp519 if (const auto *TTPT = dyn_cast_or_null<TemplateTypeParmType>(Ty)) { in printEntryName()

12