Home
last modified time | relevance | path

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

12

/external/clang/lib/Sema/
DSemaTemplateVariadic.cpp64 bool VisitTemplateTypeParmType(TemplateTypeParmType *T) { in VisitTemplateTypeParmType()
241 if (const TemplateTypeParmType *TTP in DiagnoseUnexpandedParameterPacks()
242 = Unexpanded[I].first.dyn_cast<const TemplateTypeParmType *>()) in DiagnoseUnexpandedParameterPacks()
556 if (const TemplateTypeParmType *TTP in CheckParameterPacksForExpansion()
557 = i->first.dyn_cast<const TemplateTypeParmType *>()) { in CheckParameterPacksForExpansion()
658 if (const TemplateTypeParmType *TTP in getNumArgumentsInExpansion()
659 = Unexpanded[I].first.dyn_cast<const TemplateTypeParmType *>()) { in getNumArgumentsInExpansion()
DSemaTemplateDeduction.cpp540 if (const TemplateTypeParmType *TTP in getDepthAndIndex()
541 = UPP.first.dyn_cast<const TemplateTypeParmType *>()) in getDepthAndIndex()
1047 if (isa<TemplateTypeParmType>(ParamRef->getPointeeType()) && in DeduceTemplateArgumentsByTypeMatch()
1062 if (const TemplateTypeParmType *TemplateTypeParm in DeduceTemplateArgumentsByTypeMatch()
1063 = Param->getAs<TemplateTypeParmType>()) { in DeduceTemplateArgumentsByTypeMatch()
3146 isa<TemplateTypeParmType>(ParamType) && in AdjustFunctionParmAndArgTypesForDeduction()
3950 if (!Replacement.isNull() && isa<TemplateTypeParmType>(Replacement)) { in TransformAutoType()
4827 const TemplateTypeParmType *TTP = cast<TemplateTypeParmType>(T); in MarkUsedTemplateParameters()
DSemaTemplateInstantiate.cpp912 const TemplateTypeParmType *TTP in TransformFirstQualifierInScope()
913 = cast<TemplateTypeParmType>(getSema().Context.getTypeDeclType(TTPD)); in TransformFirstQualifierInScope()
1328 const TemplateTypeParmType *T = TL.getTypePtr(); in TransformTemplateTypeParmType()
DSemaCXXScopeSpec.cpp705 } else if (isa<TemplateTypeParmType>(T)) { in BuildCXXNestedNameSpecifier()
DSemaTemplate.cpp1546 bool VisitTemplateTypeParmType(const TemplateTypeParmType *T) { in VisitTemplateTypeParmType()
2422 const TemplateTypeParmType *TPT = in isTemplateArgumentTemplateParameter()
2423 Arg.getAsType()->getAs<TemplateTypeParmType>(); in isTemplateArgumentTemplateParameter()
4134 const TemplateTypeParmType*) { in VisitTemplateTypeParmType() argument
DSemaDeclCXX.cpp11784 const TemplateTypeParmType *TArgs = in CheckLiteralOperatorDeclaration()
11785 PmArgs->getType()->getAs<TemplateTypeParmType>(); in CheckLiteralOperatorDeclaration()
/external/clang/include/clang/AST/
DType.h3736 class TemplateTypeParmType : public Type, public llvm::FoldingSetNode {
3752 TemplateTypeParmType(TemplateTypeParmDecl *TTPDecl, QualType Canon)
3760 TemplateTypeParmType(unsigned D, unsigned I, bool PP)
3774 return Can->castAs<TemplateTypeParmType>()->CanTTPTInfo;
3818 const TemplateTypeParmType *Replaced;
3820 SubstTemplateTypeParmType(const TemplateTypeParmType *Param, QualType Canon)
3831 const TemplateTypeParmType *getReplacedParameter() const {
3848 const TemplateTypeParmType *Replaced,
3873 const TemplateTypeParmType *Replaced;
3882 SubstTemplateTypeParmPackType(const TemplateTypeParmType *Param,
[all …]
DCanonicalType.h547 struct CanProxyAdaptor<TemplateTypeParmType>
548 : public CanProxyBase<TemplateTypeParmType> {
DASTContext.h114 mutable llvm::FoldingSet<TemplateTypeParmType> TemplateTypeParmTypes;
1215 QualType getSubstTemplateTypeParmType(const TemplateTypeParmType *Replaced,
1218 const TemplateTypeParmType *Replaced,
DRecursiveASTVisitor.h931 DEF_TRAVERSE_TYPE(TemplateTypeParmType, {})
1150 DEF_TRAVERSE_TYPELOC(TemplateTypeParmType, {})
DTypeLoc.h691 TemplateTypeParmType> {
/external/clang/lib/Index/
DUSRGeneration.cpp691 if (const TemplateTypeParmType *TTP = T->getAs<TemplateTypeParmType>()) { in VisitType()
/external/clang/lib/AST/
DDeclTemplate.cpp524 return getTypeForDecl()->getAs<TemplateTypeParmType>()->getDepth(); in getDepth()
528 return getTypeForDecl()->getAs<TemplateTypeParmType>()->getIndex(); in getIndex()
532 return getTypeForDecl()->getAs<TemplateTypeParmType>()->isParameterPack(); in isParameterPack()
DTypePrinter.cpp991 void TypePrinter::printTemplateTypeParmBefore(const TemplateTypeParmType *T, in printTemplateTypeParmBefore()
999 void TypePrinter::printTemplateTypeParmAfter(const TemplateTypeParmType *T, in printTemplateTypeParmAfter()
DASTContext.cpp3238 ASTContext::getSubstTemplateTypeParmType(const TemplateTypeParmType *Parm, in getSubstTemplateTypeParmType()
3261 const TemplateTypeParmType *Parm, in getSubstTemplateTypeParmPackType()
3280 Canon = getSubstTemplateTypeParmPackType(cast<TemplateTypeParmType>(Canon), in getSubstTemplateTypeParmPackType()
3300 TemplateTypeParmType::Profile(ID, Depth, Index, ParameterPack, TTPDecl); in getTemplateTypeParmType()
3302 TemplateTypeParmType *TypeParm in getTemplateTypeParmType()
3310 TypeParm = new (*this, TypeAlignment) TemplateTypeParmType(TTPDecl, Canon); in getTemplateTypeParmType()
3312 TemplateTypeParmType *TypeCheck in getTemplateTypeParmType()
3318 TemplateTypeParmType(Depth, Index, ParameterPack); in getTemplateTypeParmType()
DType.cpp3064 IdentifierInfo *TemplateTypeParmType::getIdentifier() const { in getIdentifier()
3069 SubstTemplateTypeParmPackType(const TemplateTypeParmType *Param, in SubstTemplateTypeParmPackType()
3087 const TemplateTypeParmType *Replaced, in Profile()
DASTImporter.cpp703 const TemplateTypeParmType *Parm1 = cast<TemplateTypeParmType>(T1); in IsStructurallyEquivalent()
704 const TemplateTypeParmType *Parm2 = cast<TemplateTypeParmType>(T2); in IsStructurallyEquivalent()
DASTDumper.cpp367 void VisitTemplateTypeParmType(const TemplateTypeParmType *T) { in VisitTemplateTypeParmType()
DMicrosoftMangle.cpp2102 void MicrosoftCXXNameMangler::mangleType(const TemplateTypeParmType *T, in mangleType()
DItaniumMangle.cpp2295 void CXXNameMangler::mangleType(const TemplateTypeParmType *T) { in mangleType()
/external/clang/include/clang/ASTMatchers/
DASTMatchersInternal.h687 else if (auto *TTP = dyn_cast<TemplateTypeParmType>(Node.getTypePtr())) in matchesSpecialized()
937 TemplateTypeParmType, TypedefType,
DASTMatchers.h4258 AST_TYPE_MATCHER(TemplateTypeParmType, templateTypeParmType);
/external/clang/tools/libclang/
DCXCursor.cpp1036 if (const TemplateTypeParmType *TemplP = Ty->getAs<TemplateTypeParmType>()) in getTypeRefCursor()
/external/clang/lib/ASTMatchers/
DASTMatchFinder.cpp751 TypeNode->getAs<TemplateTypeParmType>() != nullptr) in getAsCXXRecordDecl()
/external/clang/lib/Serialization/
DASTReader.cpp5525 cast<TemplateTypeParmType>(Parm), in readTypeRecord()
5534 cast<TemplateTypeParmType>(Parm), in readTypeRecord()

12