Home
last modified time | relevance | path

Searched refs:Unexpanded (Results 1 – 17 of 17) sorted by relevance

/external/clang/lib/Sema/
DSemaTemplateVariadic.cpp37 SmallVectorImpl<UnexpandedParameterPack> &Unexpanded; member in __anon919447560111::CollectUnexpandedParameterPacksVisitor
43 SmallVectorImpl<UnexpandedParameterPack> &Unexpanded) in CollectUnexpandedParameterPacksVisitor() argument
44 : Unexpanded(Unexpanded), InLambda(false) { } in CollectUnexpandedParameterPacksVisitor()
55 Unexpanded.push_back(std::make_pair(TL.getTypePtr(), TL.getNameLoc())); in VisitTemplateTypeParmTypeLoc()
66 Unexpanded.push_back(std::make_pair(T, SourceLocation())); in VisitTemplateTypeParmType()
75 Unexpanded.push_back(std::make_pair(E->getDecl(), E->getLocation())); in VisitDeclRefExpr()
86 Unexpanded.push_back(std::make_pair(TTP, SourceLocation())); in TraverseTemplateName()
188 Unexpanded.push_back(std::make_pair(VD, I->getLocation())); in TraverseLambdaExpr()
219 ArrayRef<UnexpandedParameterPack> Unexpanded) { in DiagnoseUnexpandedParameterPacks() argument
220 if (Unexpanded.empty()) in DiagnoseUnexpandedParameterPacks()
[all …]
DSemaTemplateInstantiateDecl.cpp106 SmallVector<UnexpandedParameterPack, 2> Unexpanded; in instantiateDependentAlignedAttr() local
109 Unexpanded); in instantiateDependentAlignedAttr()
112 Unexpanded); in instantiateDependentAlignedAttr()
113 assert(!Unexpanded.empty() && "Pack expansion without parameter packs?"); in instantiateDependentAlignedAttr()
121 Unexpanded, TemplateArgs, Expand, in instantiateDependentAlignedAttr()
2081 SmallVector<UnexpandedParameterPack, 2> Unexpanded; in VisitNonTypeTemplateParmDecl() local
2082 SemaRef.collectUnexpandedParameterPacks(Pattern, Unexpanded); in VisitNonTypeTemplateParmDecl()
2093 Unexpanded, in VisitNonTypeTemplateParmDecl()
2193 SmallVectorImpl<UnexpandedParameterPack> &Unexpanded) { in collectUnexpandedParameterPacks() argument
2199 Unexpanded); in collectUnexpandedParameterPacks()
[all …]
DTreeTransform.h255 ArrayRef<UnexpandedParameterPack> Unexpanded, in TryExpandParameterPacks() argument
3304 SmallVector<UnexpandedParameterPack, 2> Unexpanded; in TransformExprs() local
3305 getSema().collectUnexpandedParameterPacks(Pattern, Unexpanded); in TransformExprs()
3306 assert(!Unexpanded.empty() && "Pack expansion without parameter packs?"); in TransformExprs()
3316 Unexpanded, in TransformExprs()
3887 SmallVector<UnexpandedParameterPack, 2> Unexpanded; in TransformTemplateArguments() local
3888 getSema().collectUnexpandedParameterPacks(Pattern, Unexpanded); in TransformTemplateArguments()
3889 assert(!Unexpanded.empty() && "Pack expansion without parameter packs?"); in TransformTemplateArguments()
3898 Unexpanded, in TransformTemplateArguments()
4717 SmallVector<UnexpandedParameterPack, 2> Unexpanded; in TransformFunctionTypeParams() local
[all …]
DSemaTemplateInstantiate.cpp659 ArrayRef<UnexpandedParameterPack> Unexpanded, in TryExpandParameterPacks() argument
663 PatternRange, Unexpanded, in TryExpandParameterPacks()
1757 SmallVector<UnexpandedParameterPack, 2> Unexpanded; in SubstBaseSpecifiers() local
1759 Unexpanded); in SubstBaseSpecifiers()
1765 Unexpanded, in SubstBaseSpecifiers()
DSemaTemplateDeduction.cpp587 SmallVector<UnexpandedParameterPack, 2> Unexpanded; in PackDeductionScope() local
588 S.collectUnexpandedParameterPacks(Pattern, Unexpanded); in PackDeductionScope()
589 for (unsigned I = 0, N = Unexpanded.size(); I != N; ++I) { in PackDeductionScope()
591 std::tie(Depth, Index) = getDepthAndIndex(Unexpanded[I]); in PackDeductionScope()
DSemaExprCXX.cpp7131 SmallVector<UnexpandedParameterPack, 4> Unexpanded; in CheckMicrosoftIfExistsSymbol() local
7132 collectUnexpandedParameterPacks(SS, Unexpanded); in CheckMicrosoftIfExistsSymbol()
7133 collectUnexpandedParameterPacks(TargetNameInfo, Unexpanded); in CheckMicrosoftIfExistsSymbol()
7134 if (!Unexpanded.empty()) { in CheckMicrosoftIfExistsSymbol()
7138 Unexpanded); in CheckMicrosoftIfExistsSymbol()
DSemaDeclCXX.cpp13866 SmallVector<UnexpandedParameterPack, 2> Unexpanded; in checkExceptionSpecification() local
13867 collectUnexpandedParameterPacks(ET, Unexpanded); in checkExceptionSpecification()
13868 if (!Unexpanded.empty()) { in checkExceptionSpecification()
13871 Unexpanded); in checkExceptionSpecification()
/external/llvm-project/clang/lib/Sema/
DSemaTemplateVariadic.cpp36 SmallVectorImpl<UnexpandedParameterPack> &Unexpanded; member in __anonfe876ce40111::CollectUnexpandedParameterPacksVisitor
53 Unexpanded.push_back({ND, Loc}); in addUnexpanded()
58 Unexpanded.push_back({T, Loc}); in addUnexpanded()
63 SmallVectorImpl<UnexpandedParameterPack> &Unexpanded) in CollectUnexpandedParameterPacksVisitor() argument
64 : Unexpanded(Unexpanded) {} in CollectUnexpandedParameterPacksVisitor()
292 ArrayRef<UnexpandedParameterPack> Unexpanded) { in DiagnoseUnexpandedParameterPacks() argument
293 if (Unexpanded.empty()) in DiagnoseUnexpandedParameterPacks()
303 for (auto &Pack : Unexpanded) { in DiagnoseUnexpandedParameterPacks()
348 Unexpanded = LambdaParamPackReferences; in DiagnoseUnexpandedParameterPacks()
356 for (unsigned I = 0, N = Unexpanded.size(); I != N; ++I) { in DiagnoseUnexpandedParameterPacks()
[all …]
DSemaTemplateInstantiateDecl.cpp110 SmallVector<UnexpandedParameterPack, 2> Unexpanded; in instantiateDependentAlignedAttr() local
113 Unexpanded); in instantiateDependentAlignedAttr()
116 Unexpanded); in instantiateDependentAlignedAttr()
117 assert(!Unexpanded.empty() && "Pack expansion without parameter packs?"); in instantiateDependentAlignedAttr()
125 Unexpanded, TemplateArgs, Expand, in instantiateDependentAlignedAttr()
2595 SmallVector<UnexpandedParameterPack, 2> Unexpanded; in VisitTemplateTypeParmDecl() local
2597 SemaRef.collectUnexpandedParameterPacks(ArgLoc, Unexpanded); in VisitTemplateTypeParmDecl()
2610 Unexpanded, TemplateArgs, Expand, RetainExpansion, NumExpanded)) in VisitTemplateTypeParmDecl()
2709 SmallVector<UnexpandedParameterPack, 2> Unexpanded; in VisitNonTypeTemplateParmDecl() local
2710 SemaRef.collectUnexpandedParameterPacks(Pattern, Unexpanded); in VisitNonTypeTemplateParmDecl()
[all …]
DTreeTransform.h281 ArrayRef<UnexpandedParameterPack> Unexpanded, in TryExpandParameterPacks() argument
3824 SmallVector<UnexpandedParameterPack, 2> Unexpanded; in TransformExprs() local
3825 getSema().collectUnexpandedParameterPacks(Pattern, Unexpanded); in TransformExprs()
3826 assert(!Unexpanded.empty() && "Pack expansion without parameter packs?"); in TransformExprs()
3836 Unexpanded, in TransformExprs()
4420 SmallVector<UnexpandedParameterPack, 2> Unexpanded; in TransformTemplateArguments() local
4421 getSema().collectUnexpandedParameterPacks(Pattern, Unexpanded); in TransformTemplateArguments()
4422 assert(!Unexpanded.empty() && "Pack expansion without parameter packs?"); in TransformTemplateArguments()
4431 Unexpanded, in TransformTemplateArguments()
5505 SmallVector<UnexpandedParameterPack, 2> Unexpanded; in TransformFunctionTypeParams() local
[all …]
DSemaTemplateInstantiate.cpp953 ArrayRef<UnexpandedParameterPack> Unexpanded, in TryExpandParameterPacks() argument
957 PatternRange, Unexpanded, in TryExpandParameterPacks()
2507 SmallVector<UnexpandedParameterPack, 2> Unexpanded; in SubstBaseSpecifiers() local
2509 Unexpanded); in SubstBaseSpecifiers()
2515 Unexpanded, in SubstBaseSpecifiers()
DSemaTemplateDeduction.cpp767 SmallVector<UnexpandedParameterPack, 2> Unexpanded; in addPacks() local
768 S.collectUnexpandedParameterPacks(Pattern, Unexpanded); in addPacks()
769 for (unsigned I = 0, N = Unexpanded.size(); I != N; ++I) { in addPacks()
771 std::tie(Depth, Index) = getDepthAndIndex(Unexpanded[I]); in addPacks()
DSemaDeclCXX.cpp17653 SmallVector<UnexpandedParameterPack, 2> Unexpanded; in checkExceptionSpecification() local
17654 collectUnexpandedParameterPacks(ET, Unexpanded); in checkExceptionSpecification()
17655 if (!Unexpanded.empty()) { in checkExceptionSpecification()
17658 Unexpanded); in checkExceptionSpecification()
/external/llvm-project/clang/test/SemaTemplate/
Dcxx1z-using-declaration.cpp4 template<typename ...T> struct Unexpanded : T... { struct
9 Unexpanded<type...> *p; // expected-error {{undeclared identifier 'type'}} in h() argument
15 Unexpanded<A, B>().g(0); // expected-note {{instantiation of}} in test_Unexpanded()
/external/llvm-project/clang-tools-extra/modularize/
DPreprocessorTracker.cpp384 std::string Unexpanded; in getMacroUnexpandedString() local
1322 std::string Unexpanded(getMacroUnexpandedString(Range, PP, MacroName, MI)); in MacroExpands() local
1326 Unexpanded, Expanded, PPTracker.getCurrentInclusionPathHandle()); in MacroExpands()
1336 std::string Unexpanded(getSourceString(PP, Range)); in Defined() local
1339 (MI ? MI->getDefinitionLoc() : Loc), II, Unexpanded, in Defined()
1346 std::string Unexpanded(getSourceString(PP, ConditionRange)); in If() local
1349 ConditionResult, Unexpanded, PPTracker.getCurrentInclusionPathHandle()); in If()
1356 std::string Unexpanded(getSourceString(PP, ConditionRange)); in Elif() local
1359 ConditionResult, Unexpanded, PPTracker.getCurrentInclusionPathHandle()); in Elif()
/external/clang/include/clang/Sema/
DSema.h6147 ArrayRef<UnexpandedParameterPack> Unexpanded);
6220 SmallVectorImpl<UnexpandedParameterPack> &Unexpanded);
6228 SmallVectorImpl<UnexpandedParameterPack> &Unexpanded);
6236 SmallVectorImpl<UnexpandedParameterPack> &Unexpanded);
6244 SmallVectorImpl<UnexpandedParameterPack> &Unexpanded);
6252 SmallVectorImpl<UnexpandedParameterPack> &Unexpanded);
6260 SmallVectorImpl<UnexpandedParameterPack> &Unexpanded);
6349 ArrayRef<UnexpandedParameterPack> Unexpanded,
/external/llvm-project/clang/include/clang/Sema/
DSema.h7884 ArrayRef<UnexpandedParameterPack> Unexpanded);
7966 SmallVectorImpl<UnexpandedParameterPack> &Unexpanded);
7974 SmallVectorImpl<UnexpandedParameterPack> &Unexpanded);
7982 SmallVectorImpl<UnexpandedParameterPack> &Unexpanded);
7990 SmallVectorImpl<UnexpandedParameterPack> &Unexpanded);
7998 SmallVectorImpl<UnexpandedParameterPack> &Unexpanded);
8006 SmallVectorImpl<UnexpandedParameterPack> &Unexpanded);
8095 ArrayRef<UnexpandedParameterPack> Unexpanded,