/external/clang/lib/AST/ |
D | DeclTemplate.cpp | 968 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 …]
|
D | ASTImporter.cpp | 131 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()
|
D | Decl.cpp | 521 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()
|
D | ASTDumper.cpp | 452 void VisitVarTemplateDecl(const VarTemplateDecl *D); 1334 void ASTDumper::VisitVarTemplateDecl(const VarTemplateDecl *D) { in VisitVarTemplateDecl()
|
/external/clang/include/clang/AST/ |
D | DeclTemplate.h | 39 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 …]
|
D | ASTMutationListener.h | 36 class VarTemplateDecl; variable 63 AddedCXXTemplateSpecialization(const VarTemplateDecl *TD, in AddedCXXTemplateSpecialization()
|
D | Decl.h | 51 class VarTemplateDecl; variable 1315 VarTemplateDecl *getDescribedVarTemplate() const; 1317 void setDescribedVarTemplate(VarTemplateDecl *Template);
|
D | ASTContext.h | 308 typedef llvm::PointerUnion<VarTemplateDecl *, MemberSpecializationInfo *>
|
D | RecursiveASTVisitor.h | 1474 VarTemplateDecl *D) {
|
/external/clang/include/clang/Sema/ |
D | Template.h | 393 std::pair<VarTemplateDecl *, VarTemplatePartialSpecializationDecl *>, 4> 460 VarTemplateDecl *, VarTemplatePartialSpecializationDecl *> >::iterator 502 VarTemplateDecl *VarTemplate, VarDecl *FromVar, void *InsertPos, 513 VarTemplateDecl *VarTemplate,
|
D | Sema.h | 5659 DeclResult CheckVarTemplateId(VarTemplateDecl *Template, 5666 VarTemplateDecl *Template, 7103 VarTemplateDecl *VarTemplate, VarDecl *FromVar,
|
/external/clang/lib/Sema/ |
D | SemaTemplateInstantiateDecl.cpp | 1136 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 …]
|
D | SemaTemplate.cpp | 212 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 …]
|
D | SemaCXXScopeSpec.cpp | 905 isa<FunctionTemplateDecl>(TD) || isa<VarTemplateDecl>(TD)) { in ActOnCXXNestedNameSpecifier() 911 << (TD && isa<VarTemplateDecl>(TD)) << Template.get() << R; in ActOnCXXNestedNameSpecifier()
|
D | SemaTemplateInstantiate.cpp | 79 llvm::PointerUnion<VarTemplateDecl*, in getTemplateInstantiationArgs() 87 VarTemplateDecl *Tmpl = Specialized.get<VarTemplateDecl *>(); in getTemplateInstantiationArgs()
|
D | SemaDecl.cpp | 947 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()
|
D | SemaDeclCXX.cpp | 2203 } else if (isa<VarDecl>(Member) || isa<VarTemplateDecl>(Member)) { in ActOnCXXMemberDeclarator() 2230 else if (VarTemplateDecl *VarTmpl = dyn_cast<VarTemplateDecl>(Member)) in ActOnCXXMemberDeclarator()
|
D | SemaTemplateDeduction.cpp | 2354 VarTemplateDecl *VarTemplate = Partial->getSpecializedTemplate(); in FinishTemplateArgumentDeduction()
|
D | SemaExpr.cpp | 2269 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/ |
D | MultiplexConsumer.cpp | 112 void AddedCXXTemplateSpecialization(const VarTemplateDecl *TD, 162 const VarTemplateDecl *TD, const VarTemplateSpecializationDecl *D) { in AddedCXXTemplateSpecialization()
|
/external/clang/lib/Serialization/ |
D | ASTReaderDecl.cpp | 297 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()
|
D | ASTWriterDecl.cpp | 96 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/ |
D | ParseDeclCXX.cpp | 2585 if (VarTemplateDecl *VT = in ParseCXXClassMemberDeclaration() 2586 ThisDecl ? dyn_cast<VarTemplateDecl>(ThisDecl) : nullptr) in ParseCXXClassMemberDeclaration()
|
D | ParseDecl.cpp | 1941 if (VarTemplateDecl *VT = dyn_cast_or_null<VarTemplateDecl>(ThisDecl)) in ParseDeclarationAfterDeclaratorAndAttributes()
|
/external/clang/tools/libclang/ |
D | CIndex.cpp | 5332 cast<VarTemplateDecl>(D)->getTemplatedDecl()->getDefinition()) in clang_getCursorDefinition()
|