Home
last modified time | relevance | path

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

12

/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaTemplateVariadic.cpp62 void addUnexpanded(const TemplateTypeParmType *T, in addUnexpanded()
94 bool VisitTemplateTypeParmType(TemplateTypeParmType *T) override { in VisitTemplateTypeParmType()
374 if (auto *TTPT = Pack.first.dyn_cast<const TemplateTypeParmType *>()) { in DiagnoseUnexpandedParameterPacks()
426 if (const TemplateTypeParmType *TTP in DiagnoseUnexpandedParameterPacks()
427 = Unexpanded[I].first.dyn_cast<const TemplateTypeParmType *>()) in DiagnoseUnexpandedParameterPacks()
771 if (const TemplateTypeParmType *TTP = in CheckParameterPacksForExpansion()
772 ParmPack.first.dyn_cast<const TemplateTypeParmType *>()) { in CheckParameterPacksForExpansion()
952 if (const TemplateTypeParmType *TTP = in getNumArgumentsInExpansionFromUnexpanded()
953 Unexpanded[I].first.dyn_cast<const TemplateTypeParmType *>()) { in getNumArgumentsInExpansionFromUnexpanded()
H A DHeuristicResolver.cpp251 if (const auto *TTPT = dyn_cast_if_present<TemplateTypeParmType>(T.Type)) { in simplifyType()
H A DSemaTemplateDeduction.cpp1363 auto *TypeParm = ParamRef->getPointeeType()->getAs<TemplateTypeParmType>(); in isForwardingReference()
1628 if (const auto *TTP = P->getAs<TemplateTypeParmType>()) { in DeduceTemplateArgumentsByTypeMatch()
5030 assert(isa<TemplateTypeParmType>(Replacement) && in TransformDesugared()
6640 bool VisitTemplateTypeParmType(TemplateTypeParmType *T) override { in VisitTemplateTypeParmType()
6884 const TemplateTypeParmType *TTP = cast<TemplateTypeParmType>(T); in MarkUsedTemplateParameters()
H A DSemaCXXScopeSpec.cpp666 } else if (isa<TemplateTypeParmType>(T)) { in BuildCXXNestedNameSpecifier()
H A DSemaTemplateInstantiate.cpp2031 const TemplateTypeParmType *TTP in TransformFirstQualifierInScope()
2032 = cast<TemplateTypeParmType>(getSema().Context.getTypeDeclType(TTPD)); in TransformFirstQualifierInScope()
2644 const TemplateTypeParmType *T = TL.getTypePtr(); in TransformTemplateTypeParmType()
3154 const TemplateTypeParmType *T) { in VisitTemplateTypeParmType()
H A DSemaCodeComplete.cpp5483 ConceptInfo(const TemplateTypeParmType &BaseType, Scope *S) { in ConceptInfo()
5502 void believe(const Expr *E, const TemplateTypeParmType *T) { in believe()
5527 auto *TT = cast<TemplateTypeParmType>(TTPD->getTypeForDecl()); in believe()
5575 const TemplateTypeParmType *T;
5585 ValidVisitor(ConceptInfo *Outer, const TemplateTypeParmType *T) in ValidVisitor()
5941 dyn_cast<TemplateTypeParmType>(BaseType.getTypePtr())) { in CodeCompleteMemberReferenceExpr()
6904 dyn_cast_or_null<TemplateTypeParmType>(NNS->getAsType())) { in CodeCompleteQualifiedId()
/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.h572 struct CanProxyAdaptor<TemplateTypeParmType>
573 : public CanProxyBase<TemplateTypeParmType> {
H A DTextNodeDumper.h340 void VisitTemplateTypeParmType(const TemplateTypeParmType *T);
H A DJSONNodeDumper.h234 void VisitTemplateTypeParmType(const TemplateTypeParmType *TTPT);
H A DTypeProperties.td795 let Class = TemplateTypeParmType in {
H A DType.h2150 friend class TemplateTypeParmType;
6515 class TemplateTypeParmType : public Type, public llvm::FoldingSetNode {
6521 TemplateTypeParmType(unsigned D, unsigned I, bool PP,
8679 return isa<TemplateTypeParmType>(CanonicalType);
/freebsd/contrib/llvm-project/clang/include/clang/Sema/
H A DSemaInternal.h75 if (const auto *TTP = dyn_cast<const TemplateTypeParmType *>(UPP.first)) in getDepthAndIndex()
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/WebKit/
H A DRefCntblBaseVirtualDtorChecker.cpp120 if (auto *ParmType = dyn_cast<TemplateTypeParmType>(PointeeType)) { in VisitCXXDeleteExpr()
/freebsd/contrib/llvm-project/clang/lib/Serialization/
H A DTemplateArgumentHasher.cpp374 void VisitTemplateTypeParmType(const TemplateTypeParmType *T) { in VisitTemplateTypeParmType()
/freebsd/contrib/llvm-project/clang/include/clang/Basic/
H A DTypeNodes.td98 def TemplateTypeParmType : TypeNode<Type>, AlwaysDependent, LeafType;
/freebsd/contrib/llvm-project/clang/lib/Index/
H A DUSRGeneration.cpp929 if (const TemplateTypeParmType *TTP = T->getAs<TemplateTypeParmType>()) { in VisitType()
/freebsd/contrib/llvm-project/clang/lib/AST/
H A DDeclTemplate.cpp737 return getTypeForDecl()->castAs<TemplateTypeParmType>()->getDepth(); in getDepth()
741 return getTypeForDecl()->castAs<TemplateTypeParmType>()->getIndex(); in getIndex()
745 return getTypeForDecl()->castAs<TemplateTypeParmType>()->isParameterPack(); in isParameterPack()
H A DTypePrinter.cpp1598 void TypePrinter::printTemplateTypeParmBefore(const TemplateTypeParmType *T, in printTemplateTypeParmBefore()
1616 void TypePrinter::printTemplateTypeParmAfter(const TemplateTypeParmType *T, in printTemplateTypeParmAfter()
2337 if (auto *TTPT = Pattern->getAs<TemplateTypeParmType>()) { in isSubstitutedType()
H A DASTStructuralEquivalence.cpp1300 const auto *Parm1 = cast<TemplateTypeParmType>(T1); in IsStructurallyEquivalent()
1301 const auto *Parm2 = cast<TemplateTypeParmType>(T2); in IsStructurallyEquivalent()
H A DODRHash.cpp1209 void VisitTemplateTypeParmType(const TemplateTypeParmType *T) { in VisitTemplateTypeParmType()
/freebsd/contrib/llvm-project/clang/lib/Analysis/
H A DExprMutationAnalyzer.cpp706 RefType->getPointeeType()->getAs<TemplateTypeParmType>()) { in findFunctionArgMutation()
/freebsd/contrib/llvm-project/clang/include/clang/ASTMatchers/
H A DASTMatchersInternal.h1025 if (const auto *S = dyn_cast<TemplateTypeParmType>(&Node)) {
1216 TemplateSpecializationType, TemplateTypeParmType, TypedefType,
/freebsd/contrib/llvm-project/clang/lib/Frontend/
H A DFrontendActions.cpp537 if (const auto *TTPT = dyn_cast_or_null<TemplateTypeParmType>(Ty)) { in printEntryName()
/freebsd/contrib/llvm-project/clang/lib/ASTMatchers/
H A DASTMatchersInternal.cpp1109 const AstTypeMatcher<TemplateTypeParmType> templateTypeParmType;

12