| /llvm-project-15.0.7/clang/lib/Sema/ |
| H A D | SemaTemplateVariadic.cpp | 55 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 D | SemaTemplateInstantiate.cpp | 1282 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 D | SemaTemplateDeduction.cpp | 1186 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 D | SemaCXXScopeSpec.cpp | 760 } else if (isa<TemplateTypeParmType>(T)) { in BuildCXXNestedNameSpecifier()
|
| /llvm-project-15.0.7/clang/unittests/Tooling/ |
| H A D | RecursiveASTVisitorTestPostOrderVisitor.cpp | 69 bool VisitTemplateTypeParmType(TemplateTypeParmType *T) { in VisitTemplateTypeParmType()
|
| /llvm-project-15.0.7/clang-tools-extra/clangd/ |
| H A D | AST.cpp | 705 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 D | SemanticHighlighting.cpp | 156 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 D | DumpAST.cpp | 265 if (const auto *TTPT = dyn_cast<TemplateTypeParmType>(TL.getTypePtr())) in getDetail()
|
| H A D | Preamble.cpp | 150 dyn_cast<TemplateTypeParmType>(BaseType.getTypePtr())) { in isLikelyForwardingFunction()
|
| /llvm-project-15.0.7/clang/include/clang/Tooling/Refactoring/ |
| H A D | RecursiveSymbolVisitor.h | 91 dyn_cast<TemplateTypeParmType>(Loc.getType())) { in VisitTypeLoc()
|
| /llvm-project-15.0.7/clang/include/clang/AST/ |
| H A D | CanonicalType.h | 569 struct CanProxyAdaptor<TemplateTypeParmType> 570 : public CanProxyBase<TemplateTypeParmType> {
|
| H A D | Type.h | 4911 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 D | TypeProperties.td | 709 let Class = TemplateTypeParmType in { 741 cast<TemplateTypeParmType>(replacedParameter), 770 cast<TemplateTypeParmType>(replacedParameter),
|
| H A D | TextNodeDumper.h | 319 void VisitTemplateTypeParmType(const TemplateTypeParmType *T);
|
| H A D | JSONNodeDumper.h | 222 void VisitTemplateTypeParmType(const TemplateTypeParmType *TTPT);
|
| H A D | ASTContext.h | 239 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 D | vector-alias.hlsl | 13 // 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 D | SemaInternal.h | 79 if (const auto *TTP = UPP.first.dyn_cast<const TemplateTypeParmType *>()) in getDepthAndIndex()
|
| /llvm-project-15.0.7/clang/test/Modules/ |
| H A D | odr_hash.cpp | 1992 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 D | TypeNodes.td | 95 def TemplateTypeParmType : TypeNode<Type>, AlwaysDependent, LeafType;
|
| /llvm-project-15.0.7/clang/lib/AST/ |
| H A D | DeclTemplate.cpp | 679 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 D | TypePrinter.cpp | 1434 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 D | USRGeneration.cpp | 850 if (const TemplateTypeParmType *TTP = T->getAs<TemplateTypeParmType>()) { in VisitType()
|
| /llvm-project-15.0.7/clang/lib/Analysis/ |
| H A D | ExprMutationAnalyzer.cpp | 583 RefType->getPointeeType()->getAs<TemplateTypeParmType>()) { in findFunctionArgMutation()
|
| /llvm-project-15.0.7/clang/tools/libclang/ |
| H A D | CXCursor.cpp | 1270 if (const TemplateTypeParmType *TemplP = Ty->getAs<TemplateTypeParmType>()) in getTypeRefCursor()
|