Home
last modified time | relevance | path

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

12

/llvm-project-15.0.7/clang/lib/Sema/
H A 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()
357 if (const TemplateTypeParmType *TTP in DiagnoseUnexpandedParameterPacks()
358 = Unexpanded[I].first.dyn_cast<const TemplateTypeParmType *>()) in DiagnoseUnexpandedParameterPacks()
686 if (const TemplateTypeParmType *TTP = in CheckParameterPacksForExpansion()
687 ParmPack.first.dyn_cast<const TemplateTypeParmType *>()) { in CheckParameterPacksForExpansion()
815 if (const TemplateTypeParmType *TTP in getNumArgumentsInExpansion()
816 = Unexpanded[I].first.dyn_cast<const TemplateTypeParmType *>()) { in getNumArgumentsInExpansion()
H A DSemaTemplateInstantiate.cpp1282 const TemplateTypeParmType *TTP in TransformFirstQualifierInScope()
1283 = cast<TemplateTypeParmType>(getSema().Context.getTypeDeclType(TTPD)); in TransformFirstQualifierInScope()
1780 const TemplateTypeParmType *T = TL.getTypePtr(); in TransformTemplateTypeParmType()
1809 assert(isa<TemplateTypeParmType>(NewT) && in TransformTemplateTypeParmType()
2277 const TemplateTypeParmType *T) { in VisitTemplateTypeParmType()
H A DSemaTemplateDeduction.cpp1186 auto *TypeParm = ParamRef->getPointeeType()->getAs<TemplateTypeParmType>(); in isForwardingReference()
1439 if (const auto *TTP = P->getAs<TemplateTypeParmType>()) { in DeduceTemplateArgumentsByTypeMatch()
4465 assert(isa<TemplateTypeParmType>(Replacement) && in TransformDesugared()
5584 bool VisitTemplateTypeParmType(TemplateTypeParmType *T) { in VisitTemplateTypeParmType()
5828 const TemplateTypeParmType *TTP = cast<TemplateTypeParmType>(T); in MarkUsedTemplateParameters()
H A DSemaCXXScopeSpec.cpp760 } else if (isa<TemplateTypeParmType>(T)) { in BuildCXXNestedNameSpecifier()
/llvm-project-15.0.7/clang/unittests/Tooling/
H A DRecursiveASTVisitorTestPostOrderVisitor.cpp69 bool VisitTemplateTypeParmType(TemplateTypeParmType *T) { in VisitTemplateTypeParmType()
/llvm-project-15.0.7/clang-tools-extra/clangd/
H A DAST.cpp705 const TemplateTypeParmType *getFunctionPackType(const FunctionDecl *Callee) { in getFunctionPackType()
713 return TTPD->getTypeForDecl()->castAs<TemplateTypeParmType>(); in getFunctionPackType()
722 const TemplateTypeParmType *getUnderylingPackType(const ParmVarDecl *Param) { in getUnderylingPackType()
729 return dyn_cast<TemplateTypeParmType>( in getUnderylingPackType()
780 const TemplateTypeParmType *PackType;
H A DSemanticHighlighting.cpp156 if (auto *TD = dyn_cast<TemplateTypeParmType>(TP)) in kindForType()
272 if (auto *TD = dyn_cast<TemplateTypeParmType>(Underlying)) in isDefaultLibrary()
515 if (auto *TD = dyn_cast<TemplateTypeParmType>(T)) in scopeModifier()
H A DDumpAST.cpp265 if (const auto *TTPT = dyn_cast<TemplateTypeParmType>(TL.getTypePtr())) in getDetail()
H A DPreamble.cpp150 dyn_cast<TemplateTypeParmType>(BaseType.getTypePtr())) { in isLikelyForwardingFunction()
/llvm-project-15.0.7/clang/include/clang/Tooling/Refactoring/
H A DRecursiveSymbolVisitor.h91 dyn_cast<TemplateTypeParmType>(Loc.getType())) { in VisitTypeLoc()
/llvm-project-15.0.7/clang/include/clang/AST/
H A DCanonicalType.h569 struct CanProxyAdaptor<TemplateTypeParmType>
570 : public CanProxyBase<TemplateTypeParmType> {
H A DType.h4911 TemplateTypeParmType(TemplateTypeParmDecl *TTPDecl, QualType Canon)
4918 TemplateTypeParmType(unsigned D, unsigned I, bool PP)
4929 return Can->castAs<TemplateTypeParmType>()->CanTTPTInfo;
4975 const TemplateTypeParmType *Replaced;
4983 const TemplateTypeParmType *getReplacedParameter() const {
5001 const TemplateTypeParmType *Replaced,
5028 const TemplateTypeParmType *Replaced;
5034 SubstTemplateTypeParmPackType(const TemplateTypeParmType *Param,
5042 const TemplateTypeParmType *getReplacedParameter() const {
5057 const TemplateTypeParmType *Replaced,
[all …]
H A DTypeProperties.td709 let Class = TemplateTypeParmType in {
741 cast<TemplateTypeParmType>(replacedParameter),
770 cast<TemplateTypeParmType>(replacedParameter),
H A DTextNodeDumper.h319 void VisitTemplateTypeParmType(const TemplateTypeParmType *T);
H A DJSONNodeDumper.h222 void VisitTemplateTypeParmType(const TemplateTypeParmType *TTPT);
H A DASTContext.h239 mutable llvm::FoldingSet<TemplateTypeParmType> TemplateTypeParmTypes;
1616 QualType getSubstTemplateTypeParmType(const TemplateTypeParmType *Replaced,
1619 const TemplateTypeParmType *Replaced,
/llvm-project-15.0.7/clang/test/AST/HLSL/
H A Dvector-alias.hlsl13 // CHECK-NEXT: TemplateTypeParmType 0x{{[0-9a-fA-F]+}} 'element' dependent depth 0 index 0
/llvm-project-15.0.7/clang/include/clang/Sema/
H A DSemaInternal.h79 if (const auto *TTP = UPP.first.dyn_cast<const TemplateTypeParmType *>()) in getDepthAndIndex()
/llvm-project-15.0.7/clang/test/Modules/
H A Dodr_hash.cpp1992 namespace TemplateTypeParmType { namespace
2004 using TemplateTypeParmType::S1;
2026 using TemplateTypeParmType::S2;
2051 using TemplateTypeParmType::Valid1;
2061 using TemplateTypeParmType::Invalid1;
/llvm-project-15.0.7/clang/include/clang/Basic/
H A DTypeNodes.td95 def TemplateTypeParmType : TypeNode<Type>, AlwaysDependent, LeafType;
/llvm-project-15.0.7/clang/lib/AST/
H A DDeclTemplate.cpp679 return getTypeForDecl()->castAs<TemplateTypeParmType>()->getDepth(); in getDepth()
683 return getTypeForDecl()->castAs<TemplateTypeParmType>()->getIndex(); in getIndex()
687 return getTypeForDecl()->castAs<TemplateTypeParmType>()->isParameterPack(); in isParameterPack()
H A DTypePrinter.cpp1434 void TypePrinter::printTemplateTypeParmBefore(const TemplateTypeParmType *T, in printTemplateTypeParmBefore()
1452 void TypePrinter::printTemplateTypeParmAfter(const TemplateTypeParmType *T, in printTemplateTypeParmAfter()
1948 if (auto *TTPT = Pattern->getAs<TemplateTypeParmType>()) { in isSubstitutedType()
/llvm-project-15.0.7/clang/lib/Index/
H A DUSRGeneration.cpp850 if (const TemplateTypeParmType *TTP = T->getAs<TemplateTypeParmType>()) { in VisitType()
/llvm-project-15.0.7/clang/lib/Analysis/
H A DExprMutationAnalyzer.cpp583 RefType->getPointeeType()->getAs<TemplateTypeParmType>()) { in findFunctionArgMutation()
/llvm-project-15.0.7/clang/tools/libclang/
H A DCXCursor.cpp1270 if (const TemplateTypeParmType *TemplP = Ty->getAs<TemplateTypeParmType>()) in getTypeRefCursor()

12