/external/clang/lib/Sema/ |
D | SemaTemplateVariadic.cpp | 469 Optional<unsigned> NumExpansions) { in CheckPackExpansion() argument 473 EllipsisLoc, NumExpansions); in CheckPackExpansion() 487 Optional<unsigned> NumExpansions) { in CheckPackExpansion() argument 498 return Context.getPackExpansionType(Pattern, NumExpansions); in CheckPackExpansion() 506 Optional<unsigned> NumExpansions) { in CheckPackExpansion() argument 522 PackExpansionExpr(Context.DependentTy, Pattern, EllipsisLoc, NumExpansions); in CheckPackExpansion() 542 bool &RetainExpansion, Optional<unsigned> &NumExpansions) { in CheckParameterPacksForExpansion() argument 617 if (!NumExpansions) { in CheckParameterPacksForExpansion() 620 NumExpansions = NewPackSize; in CheckParameterPacksForExpansion() 627 if (NewPackSize != *NumExpansions) { in CheckParameterPacksForExpansion() [all …]
|
D | TreeTransform.h | 258 Optional<unsigned> &NumExpansions) { in TryExpandParameterPacks() argument 629 Optional<unsigned> NumExpansions, 1047 Optional<unsigned> NumExpansions) { in RebuildPackExpansionType() argument 1049 NumExpansions); in RebuildPackExpansionType() 3037 Optional<unsigned> NumExpansions) { in RebuildPackExpansion() argument 3042 EllipsisLoc, NumExpansions); in RebuildPackExpansion() 3052 NumExpansions), in RebuildPackExpansion() 3069 NumExpansions)) in RebuildPackExpansion() 3084 Optional<unsigned> NumExpansions) { in RebuildPackExpansion() argument 3085 return getSema().CheckPackExpansion(Pattern, EllipsisLoc, NumExpansions); in RebuildPackExpansion() [all …]
|
D | SemaTemplateInstantiate.cpp | 661 Optional<unsigned> &NumExpansions) { in TryExpandParameterPacks() argument 667 NumExpansions); in TryExpandParameterPacks() 808 Optional<unsigned> NumExpansions, 1321 Optional<unsigned> NumExpansions, in TransformFunctionTypeParam() argument 1324 NumExpansions, ExpectParameterPack); in TransformFunctionTypeParam() 1607 Optional<unsigned> NumExpansions, in SubstParmVarDecl() argument 1627 NumExpansions); in SubstParmVarDecl() 1762 Optional<unsigned> NumExpansions; in SubstBaseSpecifiers() local 1768 NumExpansions)) { in SubstBaseSpecifiers() 1775 for (unsigned I = 0; I != *NumExpansions; ++I) { in SubstBaseSpecifiers()
|
D | SemaTemplateInstantiateDecl.cpp | 117 Optional<unsigned> NumExpansions; in instantiateDependentAlignedAttr() local 122 RetainExpansion, NumExpansions)) in instantiateDependentAlignedAttr() 129 for (unsigned I = 0; I != *NumExpansions; ++I) { in instantiateDependentAlignedAttr() 2090 Optional<unsigned> NumExpansions = OrigNumExpansions; in VisitNonTypeTemplateParmDecl() local 2096 NumExpansions)) in VisitNonTypeTemplateParmDecl() 2100 for (unsigned I = 0; I != *NumExpansions; ++I) { in VisitNonTypeTemplateParmDecl() 2134 NumExpansions); in VisitNonTypeTemplateParmDecl() 2245 Optional<unsigned> NumExpansions; in VisitTemplateTemplateParmDecl() local 2251 NumExpansions)) in VisitTemplateTemplateParmDecl() 2255 for (unsigned I = 0; I != *NumExpansions; ++I) { in VisitTemplateTemplateParmDecl() [all …]
|
/external/clang/include/clang/AST/ |
D | TemplateBase.h | 103 unsigned NumExpansions; member 165 TemplateArg.NumExpansions = 0; in TemplateArgument() 179 TemplateArgument(TemplateName Name, Optional<unsigned> NumExpansions) { in TemplateArgument() argument 182 if (NumExpansions) in TemplateArgument() 183 TemplateArg.NumExpansions = *NumExpansions + 1; in TemplateArgument() 185 TemplateArg.NumExpansions = 0; in TemplateArgument()
|
D | Type.h | 4654 unsigned NumExpansions; 4657 Optional<unsigned> NumExpansions) 4663 NumExpansions(NumExpansions? *NumExpansions + 1: 0) { } 4676 if (NumExpansions) 4677 return NumExpansions - 1; 4690 Optional<unsigned> NumExpansions) { 4692 ID.AddBoolean(NumExpansions.hasValue()); 4693 if (NumExpansions) 4694 ID.AddInteger(*NumExpansions);
|
D | ExprCXX.h | 3589 unsigned NumExpansions; variable 3598 Optional<unsigned> NumExpansions) in PackExpansionExpr() argument 3604 NumExpansions(NumExpansions? *NumExpansions + 1 : 0), in PackExpansionExpr() 3622 if (NumExpansions) in getNumExpansions() 3623 return NumExpansions - 1; in getNumExpansions()
|
D | ExprObjC.h | 224 Optional<unsigned> NumExpansions; member 318 Result.NumExpansions = Expansion.NumExpansionsPlusOne - 1;
|
D | ASTContext.h | 1275 Optional<unsigned> NumExpansions);
|
D | DeclTemplate.h | 1380 unsigned NumExpansions);
|
/external/clang/lib/AST/ |
D | TemplateBase.cpp | 240 if (TemplateArg.NumExpansions) in getNumTemplateExpansions() 241 return TemplateArg.NumExpansions - 1; in getNumTemplateExpansions()
|
D | ExprObjC.cpp | 80 if (VK[I].NumExpansions) in ObjCDictionaryLiteral() 81 Expansions[I].NumExpansionsPlusOne = *VK[I].NumExpansions + 1; in ObjCDictionaryLiteral()
|
D | DeclTemplate.cpp | 638 unsigned NumExpansions) { in CreateDeserialized() argument 640 new (C, ID, additionalSizeToAlloc<TemplateParameterList *>(NumExpansions)) in CreateDeserialized() 643 TTP->NumExpandedParams = NumExpansions; in CreateDeserialized()
|
D | ASTContext.cpp | 3645 Optional<unsigned> NumExpansions) { in getPackExpansionType() argument 3647 PackExpansionType::Profile(ID, Pattern, NumExpansions); in getPackExpansionType() 3664 Canon = getPackExpansionType(Canon, NumExpansions); in getPackExpansionType() 3673 PackExpansionType(Pattern, Canon, NumExpansions); in getPackExpansionType()
|
/external/clang/lib/Serialization/ |
D | ASTWriterStmt.cpp | 952 unsigned NumExpansions = 0; in VisitObjCDictionaryLiteral() local 953 if (Element.NumExpansions) in VisitObjCDictionaryLiteral() 954 NumExpansions = *Element.NumExpansions + 1; in VisitObjCDictionaryLiteral() 955 Record.push_back(NumExpansions); in VisitObjCDictionaryLiteral() 1595 Record.push_back(E->NumExpansions); in VisitPackExpansionExpr()
|
D | ASTWriter.cpp | 424 if (Optional<unsigned> NumExpansions = T->getNumExpansions()) in VisitPackExpansionType() local 425 Record.push_back(*NumExpansions + 1); in VisitPackExpansionType() 5342 if (Optional<unsigned> NumExpansions = Arg.getNumTemplateExpansions()) in AddTemplateArgument() local 5343 Record->push_back(*NumExpansions + 1); in AddTemplateArgument()
|
D | ASTReader.cpp | 5511 Optional<unsigned> NumExpansions; in readTypeRecord() local 5513 NumExpansions = Record[1] - 1; in readTypeRecord() 5514 return Context.getPackExpansionType(Pattern, NumExpansions); in readTypeRecord() 7864 if (unsigned NumExpansions = Record[Idx++]) in ReadTemplateArgument() local 7865 NumTemplateExpansions = NumExpansions - 1; in ReadTemplateArgument()
|
D | ASTReaderStmt.cpp | 1592 E->NumExpansions = Record[Idx++]; in VisitPackExpansionExpr()
|
/external/clang/include/clang/Sema/ |
D | Sema.h | 6285 Optional<unsigned> NumExpansions); 6292 Optional<unsigned> NumExpansions); 6311 Optional<unsigned> NumExpansions); 6353 Optional<unsigned> &NumExpansions); 6393 Optional<unsigned> &NumExpansions) const; 7151 Optional<unsigned> NumExpansions,
|