Home
last modified time | relevance | path

Searched refs:PartialSpecs (Results 1 – 4 of 4) sorted by relevance

/external/clang/lib/AST/
DDeclTemplate.cpp396 llvm::FoldingSetVector<ClassTemplatePartialSpecializationDecl> &PartialSpecs in getPartialSpecializations() local
399 PS.reserve(PartialSpecs.size()); in getPartialSpecializations()
401 P = PartialSpecs.begin(), PEnd = PartialSpecs.end(); in getPartialSpecializations()
1028 llvm::FoldingSetVector<VarTemplatePartialSpecializationDecl> &PartialSpecs = in getPartialSpecializations() local
1031 PS.reserve(PartialSpecs.size()); in getPartialSpecializations()
1033 P = PartialSpecs.begin(), in getPartialSpecializations()
1034 PEnd = PartialSpecs.end(); in getPartialSpecializations()
/external/clang/lib/Sema/
DSemaTemplateInstantiateDecl.cpp971 SmallVector<ClassTemplatePartialSpecializationDecl *, 4> PartialSpecs; in VisitClassTemplateDecl() local
972 D->getPartialSpecializations(PartialSpecs); in VisitClassTemplateDecl()
973 for (unsigned I = 0, N = PartialSpecs.size(); I != N; ++I) in VisitClassTemplateDecl()
974 if (PartialSpecs[I]->getFirstDecl()->isOutOfLine()) in VisitClassTemplateDecl()
975 OutOfLinePartialSpecs.push_back(std::make_pair(Inst, PartialSpecs[I])); in VisitClassTemplateDecl()
1053 SmallVector<VarTemplatePartialSpecializationDecl *, 4> PartialSpecs; in VisitVarTemplateDecl() local
1054 D->getPartialSpecializations(PartialSpecs); in VisitVarTemplateDecl()
1055 for (unsigned I = 0, N = PartialSpecs.size(); I != N; ++I) in VisitVarTemplateDecl()
1056 if (PartialSpecs[I]->getFirstDecl()->isOutOfLine()) in VisitVarTemplateDecl()
1058 std::make_pair(Inst, PartialSpecs[I])); in VisitVarTemplateDecl()
DSemaTemplateInstantiate.cpp2242 SmallVector<ClassTemplatePartialSpecializationDecl *, 4> PartialSpecs; in InstantiateClassTemplateSpecialization() local
2243 Template->getPartialSpecializations(PartialSpecs); in InstantiateClassTemplateSpecialization()
2245 for (unsigned I = 0, N = PartialSpecs.size(); I != N; ++I) { in InstantiateClassTemplateSpecialization()
2246 ClassTemplatePartialSpecializationDecl *Partial = PartialSpecs[I]; in InstantiateClassTemplateSpecialization()
DSemaTemplate.cpp2700 SmallVector<VarTemplatePartialSpecializationDecl *, 4> PartialSpecs; in CheckVarTemplateId() local
2701 Template->getPartialSpecializations(PartialSpecs); in CheckVarTemplateId()
2703 for (unsigned I = 0, N = PartialSpecs.size(); I != N; ++I) { in CheckVarTemplateId()
2704 VarTemplatePartialSpecializationDecl *Partial = PartialSpecs[I]; in CheckVarTemplateId()