Home
last modified time | relevance | path

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

12

/netbsd/external/apache2/llvm/dist/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()
358 if (const TemplateTypeParmType *TTP in DiagnoseUnexpandedParameterPacks()
359 = Unexpanded[I].first.dyn_cast<const TemplateTypeParmType *>()) in DiagnoseUnexpandedParameterPacks()
689 if (const TemplateTypeParmType *TTP in CheckParameterPacksForExpansion()
690 = i->first.dyn_cast<const TemplateTypeParmType *>()) { in CheckParameterPacksForExpansion()
818 if (const TemplateTypeParmType *TTP in getNumArgumentsInExpansion()
819 = Unexpanded[I].first.dyn_cast<const TemplateTypeParmType *>()) { in getNumArgumentsInExpansion()
H A DSemaTemplateInstantiate.cpp1266 const TemplateTypeParmType *TTP in TransformFirstQualifierInScope()
1267 = cast<TemplateTypeParmType>(getSema().Context.getTypeDeclType(TTPD)); in TransformFirstQualifierInScope()
1767 const TemplateTypeParmType *T = TL.getTypePtr(); in TransformTemplateTypeParmType()
1796 assert(isa<TemplateTypeParmType>(NewT) && in TransformTemplateTypeParmType()
2239 const TemplateTypeParmType *T) { in VisitTemplateTypeParmType()
H A DSemaTemplateDeduction.cpp1200 auto *TypeParm = ParamRef->getPointeeType()->getAs<TemplateTypeParmType>(); in isForwardingReference()
1459 if (const TemplateTypeParmType *TemplateTypeParm in DeduceTemplateArgumentsByTypeMatch()
1460 = Param->getAs<TemplateTypeParmType>()) { in DeduceTemplateArgumentsByTypeMatch()
4589 assert(isa<TemplateTypeParmType>(Replacement) && in TransformDesugared()
5706 bool VisitTemplateTypeParmType(TemplateTypeParmType *T) { in VisitTemplateTypeParmType()
5950 const TemplateTypeParmType *TTP = cast<TemplateTypeParmType>(T); in MarkUsedTemplateParameters()
H A DSemaCXXScopeSpec.cpp739 } else if (isa<TemplateTypeParmType>(T)) { in BuildCXXNestedNameSpecifier()
H A DSemaCodeComplete.cpp4929 ConceptInfo(const TemplateTypeParmType &BaseType, Scope *S) { in ConceptInfo()
4947 void believe(const Expr *E, const TemplateTypeParmType *T) { in believe()
4972 auto *TT = cast<TemplateTypeParmType>(TTPD->getTypeForDecl()); in believe()
5020 const TemplateTypeParmType *T;
5030 ValidVisitor(ConceptInfo *Outer, const TemplateTypeParmType *T) in ValidVisitor()
5352 dyn_cast<TemplateTypeParmType>(BaseType.getTypePtr())) { in CodeCompleteMemberReferenceExpr()
6072 dyn_cast_or_null<TemplateTypeParmType>(NNS->getAsType())) { in CodeCompleteQualifiedId()
/netbsd/external/apache2/llvm/dist/clang/include/clang/Tooling/Refactoring/
H A DRecursiveSymbolVisitor.h91 dyn_cast<TemplateTypeParmType>(Loc.getType())) { in VisitTypeLoc()
/netbsd/external/apache2/llvm/dist/clang/include/clang/AST/
H A DCanonicalType.h569 struct CanProxyAdaptor<TemplateTypeParmType>
570 : public CanProxyBase<TemplateTypeParmType> {
H A DType.h4786 TemplateTypeParmType(TemplateTypeParmDecl *TTPDecl, QualType Canon)
4793 TemplateTypeParmType(unsigned D, unsigned I, bool PP)
4804 return Can->castAs<TemplateTypeParmType>()->CanTTPTInfo;
4850 const TemplateTypeParmType *Replaced;
4858 const TemplateTypeParmType *getReplacedParameter() const {
4876 const TemplateTypeParmType *Replaced,
4903 const TemplateTypeParmType *Replaced;
4909 SubstTemplateTypeParmPackType(const TemplateTypeParmType *Param,
4917 const TemplateTypeParmType *getReplacedParameter() const {
4932 const TemplateTypeParmType *Replaced,
[all …]
H A DTypeProperties.td683 let Class = TemplateTypeParmType in {
715 cast<TemplateTypeParmType>(replacedParameter),
744 cast<TemplateTypeParmType>(replacedParameter),
H A DTextNodeDumper.h312 void VisitTemplateTypeParmType(const TemplateTypeParmType *T);
H A DJSONNodeDumper.h220 void VisitTemplateTypeParmType(const TemplateTypeParmType *TTPT);
H A DASTContext.h218 mutable llvm::FoldingSet<TemplateTypeParmType> TemplateTypeParmTypes;
1488 QualType getSubstTemplateTypeParmType(const TemplateTypeParmType *Replaced,
1491 const TemplateTypeParmType *Replaced,
/netbsd/external/apache2/llvm/dist/clang/include/clang/Sema/
H A DSemaInternal.h79 if (const auto *TTP = UPP.first.dyn_cast<const TemplateTypeParmType *>()) in getDepthAndIndex()
/netbsd/external/apache2/llvm/dist/clang/include/clang/Basic/
H A DTypeNodes.td93 def TemplateTypeParmType : TypeNode<Type>, AlwaysDependent, LeafType;
/netbsd/external/apache2/llvm/dist/clang/lib/AST/
H A DDeclTemplate.cpp668 return getTypeForDecl()->castAs<TemplateTypeParmType>()->getDepth(); in getDepth()
672 return getTypeForDecl()->castAs<TemplateTypeParmType>()->getIndex(); in getIndex()
676 return getTypeForDecl()->castAs<TemplateTypeParmType>()->isParameterPack(); in isParameterPack()
H A DTypePrinter.cpp1387 void TypePrinter::printTemplateTypeParmBefore(const TemplateTypeParmType *T, in printTemplateTypeParmBefore()
1404 void TypePrinter::printTemplateTypeParmAfter(const TemplateTypeParmType *T, in printTemplateTypeParmAfter()
1872 if (auto *TTPT = Pattern->getAs<TemplateTypeParmType>()) { in isSubstitutedType()
H A DASTStructuralEquivalence.cpp1027 const auto *Parm1 = cast<TemplateTypeParmType>(T1); in IsStructurallyEquivalent()
1028 const auto *Parm2 = cast<TemplateTypeParmType>(T2); in IsStructurallyEquivalent()
H A DODRHash.cpp1025 void VisitTemplateTypeParmType(const TemplateTypeParmType *T) { in VisitTemplateTypeParmType()
H A DType.cpp3578 IdentifierInfo *TemplateTypeParmType::getIdentifier() const { in getIdentifier()
3583 const TemplateTypeParmType *Param, QualType Canon, in SubstTemplateTypeParmPackType()
3601 const TemplateTypeParmType *Replaced, in Profile()
H A DASTContext.cpp4584 ASTContext::getSubstTemplateTypeParmType(const TemplateTypeParmType *Parm, in getSubstTemplateTypeParmType()
4607 const TemplateTypeParmType *Parm, in getSubstTemplateTypeParmPackType()
4626 Canon = getSubstTemplateTypeParmPackType(cast<TemplateTypeParmType>(Canon), in getSubstTemplateTypeParmPackType()
4646 TemplateTypeParmType::Profile(ID, Depth, Index, ParameterPack, TTPDecl); in getTemplateTypeParmType()
4648 TemplateTypeParmType *TypeParm in getTemplateTypeParmType()
4656 TypeParm = new (*this, TypeAlignment) TemplateTypeParmType(TTPDecl, Canon); in getTemplateTypeParmType()
4658 TemplateTypeParmType *TypeCheck in getTemplateTypeParmType()
4664 TemplateTypeParmType(Depth, Index, ParameterPack); in getTemplateTypeParmType()
/netbsd/external/apache2/llvm/dist/clang/lib/Index/
H A DUSRGeneration.cpp848 if (const TemplateTypeParmType *TTP = T->getAs<TemplateTypeParmType>()) { in VisitType()
/netbsd/external/apache2/llvm/dist/clang/lib/Analysis/
H A DExprMutationAnalyzer.cpp571 RefType->getPointeeType()->getAs<TemplateTypeParmType>()) { in findFunctionArgMutation()
/netbsd/external/apache2/llvm/dist/clang/tools/libclang/
H A DCXCursor.cpp1227 if (const TemplateTypeParmType *TemplP = Ty->getAs<TemplateTypeParmType>()) in getTypeRefCursor()
/netbsd/external/apache2/llvm/dist/clang/include/clang/ASTMatchers/
H A DASTMatchersInternal.h1043 if (const auto *S = dyn_cast<TemplateTypeParmType>(EffectiveType)) {
1222 TemplateSpecializationType, TemplateTypeParmType, TypedefType,
/netbsd/external/apache2/llvm/dist/clang/lib/ASTMatchers/
H A DASTMatchersInternal.cpp1047 const AstTypeMatcher<TemplateTypeParmType> templateTypeParmType;

12