/external/clang/lib/AST/ |
D | DeclTemplate.cpp | 926 void VarTemplateDecl::DeallocateCommon(void *Ptr) { in DeallocateCommon() 930 VarTemplateDecl *VarTemplateDecl::getDefinition() { in getDefinition() 931 VarTemplateDecl *CurD = this; in getDefinition() 940 VarTemplateDecl *VarTemplateDecl::Create(ASTContext &C, DeclContext *DC, in Create() 944 return new (C, DC) VarTemplateDecl(C, DC, L, Name, Params, Decl); in Create() 947 VarTemplateDecl *VarTemplateDecl::CreateDeserialized(ASTContext &C, in CreateDeserialized() 949 return new (C, ID) VarTemplateDecl(C, nullptr, SourceLocation(), in CreateDeserialized() 955 void VarTemplateDecl::LoadLazySpecializations() const { in LoadLazySpecializations() 967 VarTemplateDecl::getSpecializations() const { in getSpecializations() 973 VarTemplateDecl::getPartialSpecializations() { in getPartialSpecializations() [all …]
|
D | ASTImporter.cpp | 130 bool IsStructuralMatch(VarTemplateDecl *From, VarTemplateDecl *To); 165 Decl *VisitVarTemplateDecl(VarTemplateDecl *D); 2213 bool ASTNodeImporter::IsStructuralMatch(VarTemplateDecl *From, in IsStructuralMatch() 2214 VarTemplateDecl *To) { in IsStructuralMatch() 4137 Decl *ASTNodeImporter::VisitVarTemplateDecl(VarTemplateDecl *D) { in VisitVarTemplateDecl() 4170 if (VarTemplateDecl *FoundTemplate = dyn_cast<VarTemplateDecl>(Found)) { in VisitVarTemplateDecl() 4222 VarTemplateDecl *D2 = VarTemplateDecl::Create( in VisitVarTemplateDecl() 4256 VarTemplateDecl *VarTemplate = cast_or_null<VarTemplateDecl>( in VisitVarTemplateSpecializationDecl()
|
D | Decl.cpp | 510 VarTemplateDecl *temp = spec->getSpecializedTemplate(); in mergeTemplateLV() 2130 VarTemplateDecl *VarDecl::getDescribedVarTemplate() const { in getDescribedVarTemplate() 2132 .dyn_cast<VarTemplateDecl *>(); in getDescribedVarTemplate() 2135 void VarDecl::setDescribedVarTemplate(VarTemplateDecl *Template) { in setDescribedVarTemplate()
|
D | ASTDumper.cpp | 272 void VisitVarTemplateDecl(const VarTemplateDecl *D); 1180 void ASTDumper::VisitVarTemplateDecl(const VarTemplateDecl *D) { in VisitVarTemplateDecl()
|
/external/clang/include/clang/AST/ |
D | DeclTemplate.h | 37 class VarTemplateDecl; variable 2266 llvm::PointerUnion<VarTemplateDecl *, SpecializedPartialSpecialization *> 2300 VarTemplateDecl *SpecializedTemplate, 2310 SourceLocation IdLoc, VarTemplateDecl *SpecializedTemplate, QualType T, 2325 VarTemplateDecl *getSpecializedTemplate() const; 2383 llvm::PointerUnion<VarTemplateDecl *, VarTemplatePartialSpecializationDecl *> 2388 return llvm::PointerUnion<VarTemplateDecl *, 2395 return SpecializedTemplate.get<VarTemplateDecl *>(); 2400 llvm::PointerUnion<VarTemplateDecl *, VarTemplatePartialSpecializationDecl *> 2406 return SpecializedTemplate.get<VarTemplateDecl *>(); [all …]
|
D | ASTMutationListener.h | 33 class VarTemplateDecl; variable 60 AddedCXXTemplateSpecialization(const VarTemplateDecl *TD, in AddedCXXTemplateSpecialization()
|
D | DataRecursiveASTVisitor.h | 415 bool TraverseVariableInstantiations(VarTemplateDecl *D); 1425 VarTemplateDecl *D) { in TraverseVariableInstantiations() 1450 DEF_TRAVERSE_DECL(VarTemplateDecl, {
|
D | Decl.h | 48 class VarTemplateDecl; variable 1202 VarTemplateDecl *getDescribedVarTemplate() const; 1204 void setDescribedVarTemplate(VarTemplateDecl *Template);
|
D | ASTContext.h | 282 typedef llvm::PointerUnion<VarTemplateDecl *, MemberSpecializationInfo *>
|
D | RecursiveASTVisitor.h | 1473 VarTemplateDecl *D) { in TraverseTemplateInstantiations()
|
/external/clang/include/clang/Sema/ |
D | Template.h | 386 std::pair<VarTemplateDecl *, VarTemplatePartialSpecializationDecl *>, 4> 452 VarTemplateDecl *, VarTemplatePartialSpecializationDecl *> >::iterator 494 VarTemplateDecl *VarTemplate, VarDecl *FromVar, void *InsertPos, 505 VarTemplateDecl *VarTemplate,
|
D | Sema.h | 5295 DeclResult CheckVarTemplateId(VarTemplateDecl *Template, 5302 VarTemplateDecl *Template, 6707 VarTemplateDecl *VarTemplate, VarDecl *FromVar,
|
/external/clang/lib/Sema/ |
D | SemaTemplateInstantiateDecl.cpp | 1005 Decl *TemplateDeclInstantiator::VisitVarTemplateDecl(VarTemplateDecl *D) { in VisitVarTemplateDecl() 1018 VarTemplateDecl *PrevVarTemplate = nullptr; in VisitVarTemplateDecl() 1023 PrevVarTemplate = dyn_cast<VarTemplateDecl>(Found.front()); in VisitVarTemplateDecl() 1032 VarTemplateDecl *Inst = VarTemplateDecl::Create( in VisitVarTemplateDecl() 1069 VarTemplateDecl *VarTemplate = D->getSpecializedTemplate(); in VisitVarTemplatePartialSpecializationDecl() 1075 VarTemplateDecl *InstVarTemplate = dyn_cast<VarTemplateDecl>(Found.front()); in VisitVarTemplatePartialSpecializationDecl() 2483 VarTemplateDecl *VarTemplate = D->getSpecializedTemplate(); in VisitVarTemplateSpecializationDecl() 2517 VarTemplateDecl *VarTemplate, VarDecl *D, void *InsertPos, in VisitVarTemplateSpecializationDecl() 2761 VarTemplateDecl *VarTemplate, in InstantiateVarTemplatePartialSpecialization() 3485 VarTemplateDecl *VarTemplate, VarDecl *FromVar, in BuildVarTemplateInstantiation() [all …]
|
D | SemaCXXScopeSpec.cpp | 840 isa<FunctionTemplateDecl>(TD) || isa<VarTemplateDecl>(TD)) { in ActOnCXXNestedNameSpecifier() 846 << (TD && isa<VarTemplateDecl>(TD)) << Template.get() << R; in ActOnCXXNestedNameSpecifier()
|
D | SemaTemplate.cpp | 211 isa<TypeAliasTemplateDecl>(TD) || isa<VarTemplateDecl>(TD)); in isTemplateName() 213 isa<VarTemplateDecl>(TD) ? TNK_Var_template : TNK_Type_template; in isTemplateName() 1974 : isa<VarTemplateDecl>(Template) in NoteAllFoundTemplates() 2009 isa<VarTemplateDecl>(Template)) { in CheckTemplateIdType() 2416 VarTemplateDecl *VarTemplate = in ActOnVarTemplateSpecialization() 2417 dyn_cast_or_null<VarTemplateDecl>(Name.getAsTemplateDecl()); in ActOnVarTemplateSpecialization() 2652 Sema::CheckVarTemplateId(VarTemplateDecl *Template, SourceLocation TemplateLoc, in CheckVarTemplateId() 2805 VarTemplateDecl *Template, SourceLocation TemplateLoc, in CheckVarTemplateId() 2844 if (R.getAsSingle<VarTemplateDecl>() && in BuildTemplateIdExpr() 2848 R.getAsSingle<VarTemplateDecl>(), in BuildTemplateIdExpr() [all …]
|
D | SemaTemplateInstantiate.cpp | 79 llvm::PointerUnion<VarTemplateDecl*, in getTemplateInstantiationArgs() 87 VarTemplateDecl *Tmpl = Specialized.get<VarTemplateDecl *>(); in getTemplateInstantiationArgs()
|
D | SemaDecl.cpp | 901 IsVarTemplate = isa<VarTemplateDecl>(TD); in ClassifyName() 3098 VarTemplateDecl *NewTemplate = New->getDescribedVarTemplate(); in MergeVarDecl() 3102 VarTemplateDecl *OldTemplate = nullptr; in MergeVarDecl() 3105 OldTemplate = dyn_cast<VarTemplateDecl>(Previous.getFoundDecl()); in MergeVarDecl() 5319 VarTemplateDecl *NewTemplate = nullptr; in ActOnVariableDeclarator() 5449 VarTemplateDecl::Create(Context, DC, D.getIdentifierLoc(), Name, in ActOnVariableDeclarator() 5672 VarTemplateDecl *PrevVarTemplate = in ActOnVariableDeclarator()
|
D | SemaTemplateDeduction.cpp | 2384 VarTemplateDecl *VarTemplate = Partial->getSpecializedTemplate(); in FinishTemplateArgumentDeduction()
|
D | SemaDeclCXX.cpp | 2160 else if (VarTemplateDecl *VarTmpl = dyn_cast<VarTemplateDecl>(Member)) in ActOnCXXMemberDeclarator()
|
/external/clang/lib/Frontend/ |
D | MultiplexConsumer.cpp | 97 void AddedCXXTemplateSpecialization(const VarTemplateDecl *TD, 142 const VarTemplateDecl *TD, const VarTemplateSpecializationDecl *D) { in AddedCXXTemplateSpecialization()
|
/external/clang/lib/Serialization/ |
D | ASTReaderDecl.cpp | 284 void VisitVarTemplateDecl(VarTemplateDecl *D); 1025 VD->setDescribedVarTemplate(ReadDeclAs<VarTemplateDecl>(Record, Idx)); in VisitVarDeclImpl() 1665 void ASTDeclReader::VisitVarTemplateDecl(VarTemplateDecl *D) { in VisitVarTemplateDecl() 1686 VarTemplateDecl::Common *CommonPtr = D->getCommonPtr(); in VisitVarTemplateDecl() 1833 if (VarTemplateDecl *VTD = dyn_cast<VarTemplateDecl>(InstD)) { in VisitVarTemplateSpecializationDeclImpl() 1869 VarTemplateDecl *CanonPattern = ReadDeclAs<VarTemplateDecl>(Record, Idx); in VisitVarTemplateSpecializationDeclImpl() 2697 D = VarTemplateDecl::CreateDeserialized(Context, ID); in ReadDeclRecord()
|
D | ASTWriterDecl.cpp | 96 void VisitVarTemplateDecl(VarTemplateDecl *D); 735 if (VarTemplateDecl *TemplD = D->getDescribedVarTemplate()) { in VisitVarDecl() 1214 void ASTDeclWriter::VisitVarTemplateDecl(VarTemplateDecl *D) { in VisitVarTemplateDecl() 1244 llvm::PointerUnion<VarTemplateDecl *, VarTemplatePartialSpecializationDecl *> in VisitVarTemplateSpecializationDecl() 1246 if (Decl *InstFromD = InstFrom.dyn_cast<VarTemplateDecl *>()) { in VisitVarTemplateSpecializationDecl()
|
/external/clang/include/clang/Serialization/ |
D | ASTWriter.h | 763 void AddedCXXTemplateSpecialization(const VarTemplateDecl *TD,
|
/external/clang/lib/Parse/ |
D | ParseDeclCXX.cpp | 2321 if (VarTemplateDecl *VT = in ParseCXXClassMemberDeclaration() 2322 ThisDecl ? dyn_cast<VarTemplateDecl>(ThisDecl) : nullptr) in ParseCXXClassMemberDeclaration()
|
D | ParseDecl.cpp | 1754 if (VarTemplateDecl *VT = dyn_cast_or_null<VarTemplateDecl>(ThisDecl)) in ParseDeclarationAfterDeclaratorAndAttributes()
|