Home
last modified time | relevance | path

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

12

/external/clang/lib/AST/
DDeclTemplate.cpp84 if (TemplateTypeParmDecl *TTP = dyn_cast<TemplateTypeParmDecl>(*P)) { in getMinRequiredArguments()
105 if (const TemplateTypeParmDecl *TTP in getDepth()
106 = dyn_cast<TemplateTypeParmDecl>(FirstParm)) in getDepth()
185 if (TemplateTypeParmDecl *TTP = dyn_cast<TemplateTypeParmDecl>(*Param)) { in GenerateInjectedTemplateArgs()
466 TemplateTypeParmDecl *
467 TemplateTypeParmDecl::Create(const ASTContext &C, DeclContext *DC, in Create()
471 TemplateTypeParmDecl *TTPDecl = in Create()
472 new (C, DC) TemplateTypeParmDecl(DC, KeyLoc, NameLoc, Id, Typename); in Create()
478 TemplateTypeParmDecl *
479 TemplateTypeParmDecl::CreateDeserialized(const ASTContext &C, unsigned ID) { in CreateDeserialized()
[all …]
DASTDiagnostic.cpp881 if (TemplateTypeParmDecl *DefaultTTPD = in DiffTemplate()
882 dyn_cast<TemplateTypeParmDecl>(ParamND)) { in DiffTemplate()
888 ToIter, cast<TemplateTypeParmDecl>(ParamsTo->getParam(ParamIndex))); in DiffTemplate()
1090 QualType GetType(const TSTiterator &Iter, TemplateTypeParmDecl *DefaultTTPD) { in GetType()
DDeclBase.cpp144 if (const TemplateTypeParmDecl *TTP = dyn_cast<TemplateTypeParmDecl>(this)) in isTemplateParameterPack()
686 isa<TemplateTypeParmDecl>(this) || in AccessDeclContextSanity()
DDeclPrinter.cpp824 if (const TemplateTypeParmDecl *TTP = in PrintTemplateParameters()
825 dyn_cast<TemplateTypeParmDecl>(Param)) { in PrintTemplateParameters()
DASTImporter.cpp159 Decl *VisitTemplateTypeParmDecl(TemplateTypeParmDecl *D);
1194 TemplateTypeParmDecl *D1, in IsStructurallyEquivalent()
1195 TemplateTypeParmDecl *D2) { in IsStructurallyEquivalent()
1375 } else if (TemplateTypeParmDecl *TTP1= dyn_cast<TemplateTypeParmDecl>(D1)) { in Finish()
1376 if (TemplateTypeParmDecl *TTP2 = dyn_cast<TemplateTypeParmDecl>(D2)) { in Finish()
3876 Decl *ASTNodeImporter::VisitTemplateTypeParmDecl(TemplateTypeParmDecl *D) { in VisitTemplateTypeParmDecl()
3882 return TemplateTypeParmDecl::Create(Importer.getToContext(), in VisitTemplateTypeParmDecl()
DStmtProfile.cpp1265 if (const TemplateTypeParmDecl *TTP = in VisitDecl()
1266 dyn_cast<TemplateTypeParmDecl>(D)) { in VisitDecl()
DASTContext.cpp123 if (isa<TemplateTypeParmDecl>(D) || in getRawCommentForDeclNoCache()
558 if (TemplateTypeParmDecl *TTP = dyn_cast<TemplateTypeParmDecl>(*P)) { in Profile()
605 if (TemplateTypeParmDecl *TTP = dyn_cast<TemplateTypeParmDecl>(*P)) in getCanonicalTemplateTemplateParmDecl()
607 TemplateTypeParmDecl::Create(*this, getTranslationUnitDecl(), in getCanonicalTemplateTemplateParmDecl()
2951 assert(!isa<TemplateTypeParmDecl>(Decl) && in getTypeDeclTypeSlow()
3099 TemplateTypeParmDecl *TTPDecl) const { in getTemplateTypeParmType()
DASTDumper.cpp277 void VisitTemplateTypeParmDecl(const TemplateTypeParmDecl *D);
1196 void ASTDumper::VisitTemplateTypeParmDecl(const TemplateTypeParmDecl *D) { in VisitTemplateTypeParmDecl()
DItaniumMangle.cpp3166 if (const TemplateTypeParmDecl *TTP = dyn_cast<TemplateTypeParmDecl>(Pack)) in mangleExpression()
/external/clang/lib/Index/
DUSRGeneration.cpp89 void VisitTemplateTypeParmDecl(const TemplateTypeParmDecl *D);
484 void USRGenerator::VisitTemplateTypeParmDecl(const TemplateTypeParmDecl *D) { in VisitTemplateTypeParmDecl()
687 if (isa<TemplateTypeParmDecl>(*P)) { in VisitTemplateParameterList()
688 if (cast<TemplateTypeParmDecl>(*P)->isParameterPack()) in VisitTemplateParameterList()
/external/lldb/include/lldb/Core/
DClangForward.h116 class TemplateTypeParmDecl; variable
/external/clang/include/clang/Sema/
DScopeInfo.h41 class TemplateTypeParmDecl; variable
634 SmallVector<TemplateTypeParmDecl*, 4> AutoTemplateParams;
/external/clang/lib/Sema/
DSemaTemplateInstantiate.cpp627 if (TemplateTypeParmDecl *TTP = dyn_cast<TemplateTypeParmDecl>(ND)) in getDepthAndIndex()
935 if (TemplateTypeParmDecl *TTPD = dyn_cast_or_null<TemplateTypeParmDecl>(D)) { in TransformFirstQualifierInScope()
1394 TemplateTypeParmDecl *NewTTPDecl = nullptr; in TransformTemplateTypeParmType()
1395 if (TemplateTypeParmDecl *OldTTPDecl = T->getDecl()) in TransformTemplateTypeParmType()
1396 NewTTPDecl = cast_or_null<TemplateTypeParmDecl>( in TransformTemplateTypeParmType()
2696 if (isa<NonTypeTemplateParmDecl>(D) || isa<TemplateTypeParmDecl>(D) || in findInstantiationOf()
DSemaTemplate.cpp564 TemplateTypeParmDecl *Param in ActOnTypeParameter()
565 = TemplateTypeParmDecl::Create(Context, Context.getTranslationUnitDecl(), in ActOnTypeParameter()
1287 if (TemplateTypeParmDecl *NewTypeParm in CheckTemplateParameterList()
1288 = dyn_cast<TemplateTypeParmDecl>(*NewParam)) { in CheckTemplateParameterList()
1298 TemplateTypeParmDecl *OldTypeParm in CheckTemplateParameterList()
1299 = OldParams? cast<TemplateTypeParmDecl>(*OldParam) : nullptr; in CheckTemplateParameterList()
1465 if (TemplateTypeParmDecl *TTP = dyn_cast<TemplateTypeParmDecl>(*NewParam)) in CheckTemplateParameterList()
1493 if (TemplateTypeParmDecl *PD = dyn_cast<TemplateTypeParmDecl>(ND)) { in DependencyChecker()
2998 bool Sema::CheckTemplateTypeArgument(TemplateTypeParmDecl *Param, in CheckTemplateTypeArgument()
3141 TemplateTypeParmDecl *Param, in SubstDefaultTemplateArgument()
[all …]
DSemaTemplateVariadic.cpp519 if (TemplateTypeParmDecl *TTP = dyn_cast<TemplateTypeParmDecl>(ND)) in getDepthAndIndex()
DSemaTemplateDeduction.cpp554 if (TemplateTypeParmDecl *TTP = dyn_cast<TemplateTypeParmDecl>(ND)) in getDepthAndIndex()
577 if (TemplateTypeParmDecl *TTP = dyn_cast<TemplateTypeParmDecl>(D)) in makeTemplateParameter()
1123 Info.Param = cast<TemplateTypeParmDecl>(TemplateParams->getParam(Index)); in DeduceTemplateArgumentsByTypeMatch()
1150 Info.Param = cast<TemplateTypeParmDecl>(TemplateParams->getParam(Index)); in DeduceTemplateArgumentsByTypeMatch()
1175 Info.Param = cast<TemplateTypeParmDecl>(TemplateParams->getParam(Index)); in DeduceTemplateArgumentsByTypeMatch()
4008 TemplateTypeParmDecl *TemplParam = in DeduceAutoType()
4009 TemplateTypeParmDecl::Create(Context, nullptr, SourceLocation(), Loc, 0, 0, in DeduceAutoType()
DSemaTemplateInstantiateDecl.cpp1784 TemplateTypeParmDecl *D) { in VisitTemplateTypeParmDecl()
1788 TemplateTypeParmDecl *Inst = in VisitTemplateTypeParmDecl()
1789 TemplateTypeParmDecl::Create(SemaRef.Context, Owner, in VisitTemplateTypeParmDecl()
4409 isa<TemplateTypeParmDecl>(D) || isa<TemplateTemplateParmDecl>(D) || in FindInstantiatedDecl()
4430 if (isa<NonTypeTemplateParmDecl>(D) || isa<TemplateTypeParmDecl>(D) || in FindInstantiatedDecl()
/external/clang/include/clang/AST/
DDeclTemplate.h33 class TemplateTypeParmDecl; variable
41 typedef llvm::PointerUnion3<TemplateTypeParmDecl*, NonTypeTemplateParmDecl*,
937 class TemplateTypeParmDecl : public TypeDecl {
951 TemplateTypeParmDecl(DeclContext *DC, SourceLocation KeyLoc,
961 static TemplateTypeParmDecl *Create(const ASTContext &C, DeclContext *DC,
967 static TemplateTypeParmDecl *CreateDeserialized(const ASTContext &C,
DCanonicalType.h625 LLVM_CLANG_CANPROXY_SIMPLE_ACCESSOR(TemplateTypeParmDecl *, getDecl)
DType.h75 class TemplateTypeParmDecl;
3488 TemplateTypeParmDecl *TTPDecl;
3492 TemplateTypeParmType(TemplateTypeParmDecl *TTPDecl, QualType Canon)
3522 TemplateTypeParmDecl *getDecl() const {
3537 TemplateTypeParmDecl *TTPDecl) {
DTypeLoc.h660 TemplateTypeParmDecl *getDecl() const { return getTypePtr()->getDecl(); } in getDecl()
/external/clang/tools/libclang/
DCursorVisitor.h210 bool VisitTemplateTypeParmDecl(TemplateTypeParmDecl *D);
DCIndex.cpp733 bool CursorVisitor::VisitTemplateTypeParmDecl(TemplateTypeParmDecl *D) { in VisitTemplateTypeParmDecl()
2479 if (isa<TemplateTypeParmDecl>(Pack)) { in RunVisitorWorkList()
2480 if (Visit(MakeCursorTypeRef(cast<TemplateTypeParmDecl>(Pack), in RunVisitorWorkList()
3652 if (TemplateTypeParmDecl *TTP = dyn_cast<TemplateTypeParmDecl>(Param)) in clang_getCursorDisplayName()
/external/clang/lib/Serialization/
DASTReaderDecl.cpp263 void VisitTemplateTypeParmDecl(TemplateTypeParmDecl *D);
1904 void ASTDeclReader::VisitTemplateTypeParmDecl(TemplateTypeParmDecl *D) { in VisitTemplateTypeParmDecl()
2240 if (const TemplateTypeParmDecl *TX = dyn_cast<TemplateTypeParmDecl>(X)) { in isSameTemplateParameter()
2241 const TemplateTypeParmDecl *TY = cast<TemplateTypeParmDecl>(Y); in isSameTemplateParameter()
2712 D = TemplateTypeParmDecl::CreateDeserialized(Context, ID); in ReadDeclRecord()
DASTWriterDecl.cpp76 void VisitTemplateTypeParmDecl(TemplateTypeParmDecl *D);
1317 void ASTDeclWriter::VisitTemplateTypeParmDecl(TemplateTypeParmDecl *D) { in VisitTemplateTypeParmDecl()

12