Home
last modified time | relevance | path

Searched refs:TemplateTypeParmDecl (Results 1 – 25 of 37) sorted by relevance

12

/external/clang/lib/AST/
DDeclTemplate.cpp82 if (TemplateTypeParmDecl *TTP = dyn_cast<TemplateTypeParmDecl>(*P)) { in getMinRequiredArguments()
103 if (const TemplateTypeParmDecl *TTP in getDepth()
104 = dyn_cast<TemplateTypeParmDecl>(FirstParm)) in getDepth()
215 if (TemplateTypeParmDecl *TTP = dyn_cast<TemplateTypeParmDecl>(*Param)) { in GenerateInjectedTemplateArgs()
491 TemplateTypeParmDecl *
492 TemplateTypeParmDecl::Create(const ASTContext &C, DeclContext *DC, in Create()
496 TemplateTypeParmDecl *TTPDecl = in Create()
497 new (C, DC) TemplateTypeParmDecl(DC, KeyLoc, NameLoc, Id, Typename); in Create()
503 TemplateTypeParmDecl *
504 TemplateTypeParmDecl::CreateDeserialized(const ASTContext &C, unsigned ID) { in CreateDeserialized()
[all …]
DASTDiagnostic.cpp940 TemplateTypeParmDecl *FromDefaultTypeDecl, in DiffTypes()
941 TemplateTypeParmDecl *ToDefaultTypeDecl) { in DiffTypes()
1152 TemplateTypeParmDecl *FromDefaultTypeDecl = in DiffTemplate()
1153 dyn_cast<TemplateTypeParmDecl>(FromParamND); in DiffTemplate()
1154 TemplateTypeParmDecl *ToDefaultTypeDecl = in DiffTemplate()
1155 dyn_cast<TemplateTypeParmDecl>(ToParamND); in DiffTemplate()
1243 TemplateTypeParmDecl *DefaultTTPD) { in GetType()
DDeclBase.cpp169 if (const TemplateTypeParmDecl *TTP = dyn_cast<TemplateTypeParmDecl>(this)) in isTemplateParameterPack()
747 isa<TemplateTypeParmDecl>(this) || in AccessDeclContextSanity()
DDeclPrinter.cpp890 if (const TemplateTypeParmDecl *TTP = in PrintTemplateParameters()
891 dyn_cast<TemplateTypeParmDecl>(Param)) { in PrintTemplateParameters()
DASTImporter.cpp164 Decl *VisitTemplateTypeParmDecl(TemplateTypeParmDecl *D);
1239 TemplateTypeParmDecl *D1, in IsStructurallyEquivalent()
1240 TemplateTypeParmDecl *D2) { in IsStructurallyEquivalent()
1420 } else if (TemplateTypeParmDecl *TTP1= dyn_cast<TemplateTypeParmDecl>(D1)) { in Finish()
1421 if (TemplateTypeParmDecl *TTP2 = dyn_cast<TemplateTypeParmDecl>(D2)) { in Finish()
4105 Decl *ASTNodeImporter::VisitTemplateTypeParmDecl(TemplateTypeParmDecl *D) { in VisitTemplateTypeParmDecl()
4111 return TemplateTypeParmDecl::Create(Importer.getToContext(), in VisitTemplateTypeParmDecl()
DStmtProfile.cpp1542 if (const TemplateTypeParmDecl *TTP = in VisitDecl()
1543 dyn_cast<TemplateTypeParmDecl>(D)) { in VisitDecl()
DASTContext.cpp123 if (isa<TemplateTypeParmDecl>(D) || in getRawCommentForDeclNoCache()
559 if (TemplateTypeParmDecl *TTP = dyn_cast<TemplateTypeParmDecl>(*P)) { in Profile()
606 if (TemplateTypeParmDecl *TTP = dyn_cast<TemplateTypeParmDecl>(*P)) in getCanonicalTemplateTemplateParmDecl()
608 TemplateTypeParmDecl::Create(*this, getTranslationUnitDecl(), in getCanonicalTemplateTemplateParmDecl()
3153 assert(!isa<TemplateTypeParmDecl>(Decl) && in getTypeDeclTypeSlow()
3298 TemplateTypeParmDecl *TTPDecl) const { in getTemplateTypeParmType()
DASTDumper.cpp457 void VisitTemplateTypeParmDecl(const TemplateTypeParmDecl *D);
1355 void ASTDumper::VisitTemplateTypeParmDecl(const TemplateTypeParmDecl *D) { in VisitTemplateTypeParmDecl()
DItaniumMangle.cpp3491 if (const TemplateTypeParmDecl *TTP = dyn_cast<TemplateTypeParmDecl>(Pack)) in mangleExpression()
/external/clang/lib/Index/
DUSRGeneration.cpp89 void VisitTemplateTypeParmDecl(const TemplateTypeParmDecl *D);
501 void USRGenerator::VisitTemplateTypeParmDecl(const TemplateTypeParmDecl *D) { in VisitTemplateTypeParmDecl()
736 if (isa<TemplateTypeParmDecl>(*P)) { in VisitTemplateParameterList()
737 if (cast<TemplateTypeParmDecl>(*P)->isParameterPack()) in VisitTemplateParameterList()
/external/clang/include/clang/AST/
DDeclTemplate.h35 class TemplateTypeParmDecl; variable
43 typedef llvm::PointerUnion3<TemplateTypeParmDecl*, NonTypeTemplateParmDecl*,
1032 class TemplateTypeParmDecl : public TypeDecl {
1040 typedef DefaultArgStorage<TemplateTypeParmDecl, TypeSourceInfo *>
1044 TemplateTypeParmDecl(DeclContext *DC, SourceLocation KeyLoc,
1054 static TemplateTypeParmDecl *Create(const ASTContext &C, DeclContext *DC,
1060 static TemplateTypeParmDecl *CreateDeserialized(const ASTContext &C,
1101 TemplateTypeParmDecl *Prev) {
DCanonicalType.h552 LLVM_CLANG_CANPROXY_SIMPLE_ACCESSOR(TemplateTypeParmDecl *, getDecl)
DType.h79 class TemplateTypeParmDecl;
3748 TemplateTypeParmDecl *TTPDecl;
3752 TemplateTypeParmType(TemplateTypeParmDecl *TTPDecl, QualType Canon)
3782 TemplateTypeParmDecl *getDecl() const {
3797 TemplateTypeParmDecl *TTPDecl) {
DTypeLoc.h693 TemplateTypeParmDecl *getDecl() const { return getTypePtr()->getDecl(); } in getDecl()
/external/clang/lib/Sema/
DSemaTemplate.cpp565 TemplateTypeParmDecl *Param in ActOnTypeParameter()
566 = TemplateTypeParmDecl::Create(Context, Context.getTranslationUnitDecl(), in ActOnTypeParameter()
1327 if (TemplateTypeParmDecl *NewTypeParm in CheckTemplateParameterList()
1328 = dyn_cast<TemplateTypeParmDecl>(*NewParam)) { in CheckTemplateParameterList()
1338 TemplateTypeParmDecl *OldTypeParm in CheckTemplateParameterList()
1339 = OldParams? cast<TemplateTypeParmDecl>(*OldParam) : nullptr; in CheckTemplateParameterList()
1495 if (TemplateTypeParmDecl *TTP = dyn_cast<TemplateTypeParmDecl>(*NewParam)) in CheckTemplateParameterList()
1523 if (TemplateTypeParmDecl *PD = dyn_cast<TemplateTypeParmDecl>(ND)) { in DependencyChecker()
3065 bool Sema::CheckTemplateTypeArgument(TemplateTypeParmDecl *Param, in CheckTemplateTypeArgument()
3208 TemplateTypeParmDecl *Param, in SubstDefaultTemplateArgument()
[all …]
DSemaTemplateInstantiate.cpp611 if (TemplateTypeParmDecl *TTP = dyn_cast<TemplateTypeParmDecl>(ND)) in getDepthAndIndex()
911 if (TemplateTypeParmDecl *TTPD = dyn_cast_or_null<TemplateTypeParmDecl>(D)) { in TransformFirstQualifierInScope()
1383 TemplateTypeParmDecl *NewTTPDecl = nullptr; in TransformTemplateTypeParmType()
1384 if (TemplateTypeParmDecl *OldTTPDecl = T->getDecl()) in TransformTemplateTypeParmType()
1385 NewTTPDecl = cast_or_null<TemplateTypeParmDecl>( in TransformTemplateTypeParmType()
2767 if (isa<NonTypeTemplateParmDecl>(D) || isa<TemplateTypeParmDecl>(D) || in findInstantiationOf()
DSemaTemplateDeduction.cpp527 if (TemplateTypeParmDecl *TTP = dyn_cast<TemplateTypeParmDecl>(ND)) in getDepthAndIndex()
550 if (TemplateTypeParmDecl *TTP = dyn_cast<TemplateTypeParmDecl>(D)) in makeTemplateParameter()
1086 Info.Param = cast<TemplateTypeParmDecl>(TemplateParams->getParam(Index)); in DeduceTemplateArgumentsByTypeMatch()
1113 Info.Param = cast<TemplateTypeParmDecl>(TemplateParams->getParam(Index)); in DeduceTemplateArgumentsByTypeMatch()
1138 Info.Param = cast<TemplateTypeParmDecl>(TemplateParams->getParam(Index)); in DeduceTemplateArgumentsByTypeMatch()
4042 TemplateTypeParmDecl *TemplParam = in DeduceAutoType()
4043 TemplateTypeParmDecl::Create(Context, nullptr, SourceLocation(), Loc, 0, 0, in DeduceAutoType()
DSemaTemplateVariadic.cpp528 if (TemplateTypeParmDecl *TTP = dyn_cast<TemplateTypeParmDecl>(ND)) in getDepthAndIndex()
DSemaTemplateInstantiateDecl.cpp1937 TemplateTypeParmDecl *D) { in VisitTemplateTypeParmDecl()
1941 TemplateTypeParmDecl *Inst = in VisitTemplateTypeParmDecl()
1942 TemplateTypeParmDecl::Create(SemaRef.Context, Owner, in VisitTemplateTypeParmDecl()
4430 isa<TemplateTypeParmDecl>(D) || isa<TemplateTemplateParmDecl>(D) || in FindInstantiatedDecl()
4451 if (isa<NonTypeTemplateParmDecl>(D) || isa<TemplateTypeParmDecl>(D) || in FindInstantiatedDecl()
/external/clang/include/clang/Sema/
DScopeInfo.h42 class TemplateTypeParmDecl; variable
677 SmallVector<TemplateTypeParmDecl*, 4> AutoTemplateParams;
/external/clang/tools/libclang/
DCursorVisitor.h211 bool VisitTemplateTypeParmDecl(TemplateTypeParmDecl *D);
DCIndex.cpp744 bool CursorVisitor::VisitTemplateTypeParmDecl(TemplateTypeParmDecl *D) { in VisitTemplateTypeParmDecl()
2798 if (isa<TemplateTypeParmDecl>(Pack)) { in RunVisitorWorkList()
2799 if (Visit(MakeCursorTypeRef(cast<TemplateTypeParmDecl>(Pack), in RunVisitorWorkList()
4105 if (TemplateTypeParmDecl *TTP = dyn_cast<TemplateTypeParmDecl>(Param)) in clang_getCursorDisplayName()
/external/clang/lib/Serialization/
DASTReaderDecl.cpp275 void VisitTemplateTypeParmDecl(TemplateTypeParmDecl *D);
2086 void ASTDeclReader::VisitTemplateTypeParmDecl(TemplateTypeParmDecl *D) { in VisitTemplateTypeParmDecl()
2461 if (const TemplateTypeParmDecl *TX = dyn_cast<TemplateTypeParmDecl>(X)) { in isSameTemplateParameter()
2462 const TemplateTypeParmDecl *TY = cast<TemplateTypeParmDecl>(Y); in isSameTemplateParameter()
3002 if (auto *FTTP = dyn_cast<TemplateTypeParmDecl>(FromParam)) { in inheritDefaultTemplateArguments()
3210 D = TemplateTypeParmDecl::CreateDeserialized(Context, ID); in ReadDeclRecord()
DASTWriterDecl.cpp76 void VisitTemplateTypeParmDecl(TemplateTypeParmDecl *D);
1430 void ASTDeclWriter::VisitTemplateTypeParmDecl(TemplateTypeParmDecl *D) { in VisitTemplateTypeParmDecl()
/external/clang/include/clang/ASTMatchers/
DASTMatchers.h437 TemplateTypeParmDecl> templateTypeParmDecl;

12