Home
last modified time | relevance | path

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

/external/llvm-project/clang/lib/Tooling/Refactoring/Rename/
DUSRFindingAction.cpp131 SmallVector<ClassTemplatePartialSpecializationDecl *, 4> PartialSpecs; in handleClassTemplateDecl() local
132 TemplateDecl->getPartialSpecializations(PartialSpecs); in handleClassTemplateDecl()
133 for (const auto *Spec : PartialSpecs) in handleClassTemplateDecl()
151 SmallVector<VarTemplatePartialSpecializationDecl *, 4> PartialSpecs; in handleVarTemplateDecl() local
152 VTD->getPartialSpecializations(PartialSpecs); in handleVarTemplateDecl()
153 llvm::for_each(PartialSpecs, [&](const auto *Spec) { in handleVarTemplateDecl()
/external/clang/lib/AST/
DDeclTemplate.cpp412 llvm::FoldingSetVector<ClassTemplatePartialSpecializationDecl> &PartialSpecs in getPartialSpecializations() local
415 PS.reserve(PartialSpecs.size()); in getPartialSpecializations()
416 for (ClassTemplatePartialSpecializationDecl &P : PartialSpecs) in getPartialSpecializations()
1031 llvm::FoldingSetVector<VarTemplatePartialSpecializationDecl> &PartialSpecs = in getPartialSpecializations() local
1034 PS.reserve(PartialSpecs.size()); in getPartialSpecializations()
1035 for (VarTemplatePartialSpecializationDecl &P : PartialSpecs) in getPartialSpecializations()
/external/llvm-project/clang/lib/AST/
DDeclTemplate.cpp532 llvm::FoldingSetVector<ClassTemplatePartialSpecializationDecl> &PartialSpecs in getPartialSpecializations() local
535 PS.reserve(PartialSpecs.size()); in getPartialSpecializations()
536 for (ClassTemplatePartialSpecializationDecl &P : PartialSpecs) in getPartialSpecializations()
1206 llvm::FoldingSetVector<VarTemplatePartialSpecializationDecl> &PartialSpecs = in getPartialSpecializations() local
1209 PS.reserve(PartialSpecs.size()); in getPartialSpecializations()
1210 for (VarTemplatePartialSpecializationDecl &P : PartialSpecs) in getPartialSpecializations()
/external/llvm-project/clang/lib/Sema/
DSemaTemplateInstantiate.cpp3024 SmallVector<ClassTemplatePartialSpecializationDecl *, 4> PartialSpecs; in usesPartialOrExplicitSpecialization() local
3026 ->getPartialSpecializations(PartialSpecs); in usesPartialOrExplicitSpecialization()
3027 for (unsigned I = 0, N = PartialSpecs.size(); I != N; ++I) { in usesPartialOrExplicitSpecialization()
3029 if (!DeduceTemplateArguments(PartialSpecs[I], in usesPartialOrExplicitSpecialization()
3066 SmallVector<ClassTemplatePartialSpecializationDecl *, 4> PartialSpecs; in getPatternForClassTemplateSpecialization() local
3067 Template->getPartialSpecializations(PartialSpecs); in getPatternForClassTemplateSpecialization()
3069 for (unsigned I = 0, N = PartialSpecs.size(); I != N; ++I) { in getPatternForClassTemplateSpecialization()
3070 ClassTemplatePartialSpecializationDecl *Partial = PartialSpecs[I]; in getPatternForClassTemplateSpecialization()
DSemaTemplateInstantiateDecl.cpp1593 SmallVector<ClassTemplatePartialSpecializationDecl *, 4> PartialSpecs; in VisitClassTemplateDecl() local
1594 D->getPartialSpecializations(PartialSpecs); in VisitClassTemplateDecl()
1595 for (unsigned I = 0, N = PartialSpecs.size(); I != N; ++I) in VisitClassTemplateDecl()
1596 if (PartialSpecs[I]->getFirstDecl()->isOutOfLine()) in VisitClassTemplateDecl()
1597 OutOfLinePartialSpecs.push_back(std::make_pair(Inst, PartialSpecs[I])); in VisitClassTemplateDecl()
1676 SmallVector<VarTemplatePartialSpecializationDecl *, 4> PartialSpecs; in VisitVarTemplateDecl() local
1677 D->getPartialSpecializations(PartialSpecs); in VisitVarTemplateDecl()
1678 for (unsigned I = 0, N = PartialSpecs.size(); I != N; ++I) in VisitVarTemplateDecl()
1679 if (PartialSpecs[I]->getFirstDecl()->isOutOfLine()) in VisitVarTemplateDecl()
1681 std::make_pair(Inst, PartialSpecs[I])); in VisitVarTemplateDecl()
DSemaTemplate.cpp4515 SmallVector<VarTemplatePartialSpecializationDecl *, 4> PartialSpecs; in CheckVarTemplateId() local
4516 Template->getPartialSpecializations(PartialSpecs); in CheckVarTemplateId()
4518 for (unsigned I = 0, N = PartialSpecs.size(); I != N; ++I) { in CheckVarTemplateId()
4519 VarTemplatePartialSpecializationDecl *Partial = PartialSpecs[I]; in CheckVarTemplateId()
/external/clang/lib/Sema/
DSemaTemplateInstantiateDecl.cpp1209 SmallVector<ClassTemplatePartialSpecializationDecl *, 4> PartialSpecs; in VisitClassTemplateDecl() local
1210 D->getPartialSpecializations(PartialSpecs); in VisitClassTemplateDecl()
1211 for (unsigned I = 0, N = PartialSpecs.size(); I != N; ++I) in VisitClassTemplateDecl()
1212 if (PartialSpecs[I]->getFirstDecl()->isOutOfLine()) in VisitClassTemplateDecl()
1213 OutOfLinePartialSpecs.push_back(std::make_pair(Inst, PartialSpecs[I])); in VisitClassTemplateDecl()
1292 SmallVector<VarTemplatePartialSpecializationDecl *, 4> PartialSpecs; in VisitVarTemplateDecl() local
1293 D->getPartialSpecializations(PartialSpecs); in VisitVarTemplateDecl()
1294 for (unsigned I = 0, N = PartialSpecs.size(); I != N; ++I) in VisitVarTemplateDecl()
1295 if (PartialSpecs[I]->getFirstDecl()->isOutOfLine()) in VisitVarTemplateDecl()
1297 std::make_pair(Inst, PartialSpecs[I])); in VisitVarTemplateDecl()
DSemaTemplateInstantiate.cpp2313 SmallVector<ClassTemplatePartialSpecializationDecl *, 4> PartialSpecs; in InstantiateClassTemplateSpecialization() local
2314 Template->getPartialSpecializations(PartialSpecs); in InstantiateClassTemplateSpecialization()
2316 for (unsigned I = 0, N = PartialSpecs.size(); I != N; ++I) { in InstantiateClassTemplateSpecialization()
2317 ClassTemplatePartialSpecializationDecl *Partial = PartialSpecs[I]; in InstantiateClassTemplateSpecialization()
DSemaTemplate.cpp2807 SmallVector<VarTemplatePartialSpecializationDecl *, 4> PartialSpecs; in CheckVarTemplateId() local
2808 Template->getPartialSpecializations(PartialSpecs); in CheckVarTemplateId()
2810 for (unsigned I = 0, N = PartialSpecs.size(); I != N; ++I) { in CheckVarTemplateId()
2811 VarTemplatePartialSpecializationDecl *Partial = PartialSpecs[I]; in CheckVarTemplateId()