Home
last modified time | relevance | path

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

/external/clang/lib/AST/
DDeclTemplate.cpp968 void VarTemplateDecl::DeallocateCommon(void *Ptr) { in DeallocateCommon()
972 VarTemplateDecl *VarTemplateDecl::getDefinition() { in getDefinition()
973 VarTemplateDecl *CurD = this; in getDefinition()
982 VarTemplateDecl *VarTemplateDecl::Create(ASTContext &C, DeclContext *DC, in Create()
986 return new (C, DC) VarTemplateDecl(C, DC, L, Name, Params, Decl); in Create()
989 VarTemplateDecl *VarTemplateDecl::CreateDeserialized(ASTContext &C, in CreateDeserialized()
991 return new (C, ID) VarTemplateDecl(C, nullptr, SourceLocation(), in CreateDeserialized()
997 void VarTemplateDecl::LoadLazySpecializations() const { in LoadLazySpecializations()
1013 VarTemplateDecl::getSpecializations() const { in getSpecializations()
1019 VarTemplateDecl::getPartialSpecializations() { in getPartialSpecializations()
[all …]
DASTImporter.cpp131 bool IsStructuralMatch(VarTemplateDecl *From, VarTemplateDecl *To);
170 Decl *VisitVarTemplateDecl(VarTemplateDecl *D);
2288 bool ASTNodeImporter::IsStructuralMatch(VarTemplateDecl *From, in IsStructuralMatch()
2289 VarTemplateDecl *To) { in IsStructuralMatch()
4369 Decl *ASTNodeImporter::VisitVarTemplateDecl(VarTemplateDecl *D) { in VisitVarTemplateDecl()
4405 if (VarTemplateDecl *FoundTemplate = dyn_cast<VarTemplateDecl>(Found)) { in VisitVarTemplateDecl()
4457 VarTemplateDecl *D2 = VarTemplateDecl::Create( in VisitVarTemplateDecl()
4491 VarTemplateDecl *VarTemplate = cast_or_null<VarTemplateDecl>( in VisitVarTemplateSpecializationDecl()
DDecl.cpp521 VarTemplateDecl *temp = spec->getSpecializedTemplate(); in mergeTemplateLV()
2234 VarTemplateDecl *VarDecl::getDescribedVarTemplate() const { in getDescribedVarTemplate()
2236 .dyn_cast<VarTemplateDecl *>(); in getDescribedVarTemplate()
2239 void VarDecl::setDescribedVarTemplate(VarTemplateDecl *Template) { in setDescribedVarTemplate()
DASTDumper.cpp452 void VisitVarTemplateDecl(const VarTemplateDecl *D);
1334 void ASTDumper::VisitVarTemplateDecl(const VarTemplateDecl *D) { in VisitVarTemplateDecl()
/external/clang/include/clang/AST/
DDeclTemplate.h39 class VarTemplateDecl; variable
2398 llvm::PointerUnion<VarTemplateDecl *, SpecializedPartialSpecialization *>
2432 VarTemplateDecl *SpecializedTemplate,
2442 SourceLocation IdLoc, VarTemplateDecl *SpecializedTemplate, QualType T,
2457 VarTemplateDecl *getSpecializedTemplate() const;
2506 llvm::PointerUnion<VarTemplateDecl *, VarTemplatePartialSpecializationDecl *>
2511 return llvm::PointerUnion<VarTemplateDecl *,
2518 return SpecializedTemplate.get<VarTemplateDecl *>();
2523 llvm::PointerUnion<VarTemplateDecl *, VarTemplatePartialSpecializationDecl *>
2529 return SpecializedTemplate.get<VarTemplateDecl *>();
[all …]
DASTMutationListener.h36 class VarTemplateDecl; variable
63 AddedCXXTemplateSpecialization(const VarTemplateDecl *TD, in AddedCXXTemplateSpecialization()
DDecl.h51 class VarTemplateDecl; variable
1315 VarTemplateDecl *getDescribedVarTemplate() const;
1317 void setDescribedVarTemplate(VarTemplateDecl *Template);
DASTContext.h308 typedef llvm::PointerUnion<VarTemplateDecl *, MemberSpecializationInfo *>
DRecursiveASTVisitor.h1474 VarTemplateDecl *D) {
/external/clang/include/clang/Sema/
DTemplate.h393 std::pair<VarTemplateDecl *, VarTemplatePartialSpecializationDecl *>, 4>
460 VarTemplateDecl *, VarTemplatePartialSpecializationDecl *> >::iterator
502 VarTemplateDecl *VarTemplate, VarDecl *FromVar, void *InsertPos,
513 VarTemplateDecl *VarTemplate,
DSema.h5659 DeclResult CheckVarTemplateId(VarTemplateDecl *Template,
5666 VarTemplateDecl *Template,
7103 VarTemplateDecl *VarTemplate, VarDecl *FromVar,
/external/clang/lib/Sema/
DSemaTemplateInstantiateDecl.cpp1136 Decl *TemplateDeclInstantiator::VisitVarTemplateDecl(VarTemplateDecl *D) { in VisitVarTemplateDecl()
1149 VarTemplateDecl *PrevVarTemplate = nullptr; in VisitVarTemplateDecl()
1154 PrevVarTemplate = dyn_cast<VarTemplateDecl>(Found.front()); in VisitVarTemplateDecl()
1164 VarTemplateDecl *Inst = VarTemplateDecl::Create( in VisitVarTemplateDecl()
1201 VarTemplateDecl *VarTemplate = D->getSpecializedTemplate(); in VisitVarTemplatePartialSpecializationDecl()
1207 VarTemplateDecl *InstVarTemplate = dyn_cast<VarTemplateDecl>(Found.front()); in VisitVarTemplatePartialSpecializationDecl()
2638 VarTemplateDecl *VarTemplate = D->getSpecializedTemplate(); in VisitVarTemplateSpecializationDecl()
2672 VarTemplateDecl *VarTemplate, VarDecl *D, void *InsertPos, in VisitVarTemplateSpecializationDecl()
2915 VarTemplateDecl *VarTemplate, in InstantiateVarTemplatePartialSpecialization()
3539 VarTemplateDecl *VarTemplate, VarDecl *FromVar, in BuildVarTemplateInstantiation()
[all …]
DSemaTemplate.cpp212 isa<TypeAliasTemplateDecl>(TD) || isa<VarTemplateDecl>(TD) || in isTemplateName()
215 isa<VarTemplateDecl>(TD) ? TNK_Var_template : TNK_Type_template; in isTemplateName()
2004 : isa<VarTemplateDecl>(Template) in NoteAllFoundTemplates()
2091 isa<VarTemplateDecl>(Template)) { in CheckTemplateIdType()
2501 VarTemplateDecl *VarTemplate = in ActOnVarTemplateSpecialization()
2502 dyn_cast_or_null<VarTemplateDecl>(Name.getAsTemplateDecl()); in ActOnVarTemplateSpecialization()
2718 Sema::CheckVarTemplateId(VarTemplateDecl *Template, SourceLocation TemplateLoc, in CheckVarTemplateId()
2872 VarTemplateDecl *Template, SourceLocation TemplateLoc, in CheckVarTemplateId()
2911 if (R.getAsSingle<VarTemplateDecl>() && in BuildTemplateIdExpr()
2915 R.getAsSingle<VarTemplateDecl>(), in BuildTemplateIdExpr()
[all …]
DSemaCXXScopeSpec.cpp905 isa<FunctionTemplateDecl>(TD) || isa<VarTemplateDecl>(TD)) { in ActOnCXXNestedNameSpecifier()
911 << (TD && isa<VarTemplateDecl>(TD)) << Template.get() << R; in ActOnCXXNestedNameSpecifier()
DSemaTemplateInstantiate.cpp79 llvm::PointerUnion<VarTemplateDecl*, in getTemplateInstantiationArgs()
87 VarTemplateDecl *Tmpl = Specialized.get<VarTemplateDecl *>(); in getTemplateInstantiationArgs()
DSemaDecl.cpp947 IsVarTemplate = isa<VarTemplateDecl>(TD); in ClassifyName()
2598 static bool isExternC(VarTemplateDecl *) { return false; } in isExternC() argument
3389 VarTemplateDecl *NewTemplate = New->getDescribedVarTemplate(); in MergeVarDecl()
3393 VarTemplateDecl *OldTemplate = nullptr; in MergeVarDecl()
3396 OldTemplate = dyn_cast<VarTemplateDecl>(Previous.getFoundDecl()); in MergeVarDecl()
3401 if (checkUsingShadowRedecl<VarTemplateDecl>(*this, Shadow, NewTemplate)) in MergeVarDecl()
5812 VarTemplateDecl *NewTemplate = nullptr; in ActOnVariableDeclarator()
5944 VarTemplateDecl::Create(Context, DC, D.getIdentifierLoc(), Name, in ActOnVariableDeclarator()
6215 VarTemplateDecl *PrevVarTemplate = in ActOnVariableDeclarator()
DSemaDeclCXX.cpp2203 } else if (isa<VarDecl>(Member) || isa<VarTemplateDecl>(Member)) { in ActOnCXXMemberDeclarator()
2230 else if (VarTemplateDecl *VarTmpl = dyn_cast<VarTemplateDecl>(Member)) in ActOnCXXMemberDeclarator()
DSemaTemplateDeduction.cpp2354 VarTemplateDecl *VarTemplate = Partial->getSpecializedTemplate(); in FinishTemplateArgumentDeduction()
DSemaExpr.cpp2269 assert(R.getAsSingle<VarTemplateDecl>() && in ActOnIdExpression()
2785 Diag(Loc, diag::err_template_decl_ref) << (isa<VarTemplateDecl>(D) ? 1 : 0) in BuildDeclarationNameExpr()
/external/clang/lib/Frontend/
DMultiplexConsumer.cpp112 void AddedCXXTemplateSpecialization(const VarTemplateDecl *TD,
162 const VarTemplateDecl *TD, const VarTemplateSpecializationDecl *D) { in AddedCXXTemplateSpecialization()
/external/clang/lib/Serialization/
DASTReaderDecl.cpp297 void VisitVarTemplateDecl(VarTemplateDecl *D);
1200 VD->setDescribedVarTemplate(ReadDeclAs<VarTemplateDecl>(Record, Idx)); in VisitVarDeclImpl()
1870 void ASTDeclReader::VisitVarTemplateDecl(VarTemplateDecl *D) { in VisitVarTemplateDecl()
2013 if (VarTemplateDecl *VTD = dyn_cast<VarTemplateDecl>(InstD)) { in VisitVarTemplateSpecializationDeclImpl()
2050 VarTemplateDecl *CanonPattern = ReadDeclAs<VarTemplateDecl>(Record, Idx); in VisitVarTemplateSpecializationDeclImpl()
3195 D = VarTemplateDecl::CreateDeserialized(Context, ID); in ReadDeclRecord()
DASTWriterDecl.cpp96 void VisitVarTemplateDecl(VarTemplateDecl *D);
892 if (VarTemplateDecl *TemplD = D->getDescribedVarTemplate()) { in VisitVarDecl()
1354 void ASTDeclWriter::VisitVarTemplateDecl(VarTemplateDecl *D) { in VisitVarTemplateDecl()
1368 llvm::PointerUnion<VarTemplateDecl *, VarTemplatePartialSpecializationDecl *> in VisitVarTemplateSpecializationDecl()
1370 if (Decl *InstFromD = InstFrom.dyn_cast<VarTemplateDecl *>()) { in VisitVarTemplateSpecializationDecl()
/external/clang/lib/Parse/
DParseDeclCXX.cpp2585 if (VarTemplateDecl *VT = in ParseCXXClassMemberDeclaration()
2586 ThisDecl ? dyn_cast<VarTemplateDecl>(ThisDecl) : nullptr) in ParseCXXClassMemberDeclaration()
DParseDecl.cpp1941 if (VarTemplateDecl *VT = dyn_cast_or_null<VarTemplateDecl>(ThisDecl)) in ParseDeclarationAfterDeclaratorAndAttributes()
/external/clang/tools/libclang/
DCIndex.cpp5332 cast<VarTemplateDecl>(D)->getTemplatedDecl()->getDefinition()) in clang_getCursorDefinition()