/external/llvm-project/clang/lib/Tooling/Refactoring/Rename/ |
D | USRFindingAction.cpp | 131 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/ |
D | DeclTemplate.cpp | 412 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/ |
D | DeclTemplate.cpp | 532 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/ |
D | SemaTemplateInstantiate.cpp | 3024 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()
|
D | SemaTemplateInstantiateDecl.cpp | 1593 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()
|
D | SemaTemplate.cpp | 4515 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/ |
D | SemaTemplateInstantiateDecl.cpp | 1209 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()
|
D | SemaTemplateInstantiate.cpp | 2313 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()
|
D | SemaTemplate.cpp | 2807 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()
|