Home
last modified time | relevance | path

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

/external/clang/include/clang/AST/
DTemplateBase.h85 unsigned NumExpansions; member
126 TemplateArg.NumExpansions = 0; in TemplateArgument()
140 TemplateArgument(TemplateName Name, llvm::Optional<unsigned> NumExpansions) in TemplateArgument() argument
144 if (NumExpansions) in TemplateArgument()
145 TemplateArg.NumExpansions = *NumExpansions + 1; in TemplateArgument()
147 TemplateArg.NumExpansions = 0; in TemplateArgument()
180 TemplateArg.NumExpansions = Other.TemplateArg.NumExpansions; in TemplateArgument()
209 TemplateArg.NumExpansions = Other.TemplateArg.NumExpansions;
510 llvm::Optional<unsigned> &NumExpansions,
DType.h4044 unsigned NumExpansions;
4047 llvm::Optional<unsigned> NumExpansions)
4053 NumExpansions(NumExpansions? *NumExpansions + 1: 0) { }
4066 if (NumExpansions)
4067 return NumExpansions - 1;
4080 llvm::Optional<unsigned> NumExpansions) {
4082 ID.AddBoolean(NumExpansions);
4083 if (NumExpansions)
4084 ID.AddInteger(*NumExpansions);
DExprCXX.h3309 unsigned NumExpansions; variable
3318 llvm::Optional<unsigned> NumExpansions) in PackExpansionExpr() argument
3324 NumExpansions(NumExpansions? *NumExpansions + 1 : 0), in PackExpansionExpr()
3342 if (NumExpansions) in getNumExpansions()
3343 return NumExpansions - 1; in getNumExpansions()
DExprObjC.h209 llvm::Optional<unsigned> NumExpansions; member
309 Result.NumExpansions = Expansion.NumExpansionsPlusOne - 1; in getKeyValueElement()
DASTContext.h870 llvm::Optional<unsigned> NumExpansions);
/external/clang/lib/Sema/
DSemaTemplateVariadic.cpp417 llvm::Optional<unsigned> NumExpansions) { in CheckPackExpansion() argument
421 EllipsisLoc, NumExpansions); in CheckPackExpansion()
439 llvm::Optional<unsigned> NumExpansions) { in CheckPackExpansion() argument
450 return Context.getPackExpansionType(Pattern, NumExpansions); in CheckPackExpansion()
458 llvm::Optional<unsigned> NumExpansions) { in CheckPackExpansion() argument
474 EllipsisLoc, NumExpansions)); in CheckPackExpansion()
496 … llvm::Optional<unsigned> &NumExpansions) { in CheckParameterPacksForExpansion() argument
571 if (!NumExpansions) { in CheckParameterPacksForExpansion()
574 NumExpansions = NewPackSize; in CheckParameterPacksForExpansion()
581 if (NewPackSize != *NumExpansions) { in CheckParameterPacksForExpansion()
[all …]
DTreeTransform.h256 llvm::Optional<unsigned> &NumExpansions) { in TryExpandParameterPacks() argument
569 llvm::Optional<unsigned> NumExpansions,
940 llvm::Optional<unsigned> NumExpansions) { in RebuildPackExpansionType() argument
942 NumExpansions); in RebuildPackExpansionType()
2452 llvm::Optional<unsigned> NumExpansions) { in RebuildPackExpansion() argument
2457 EllipsisLoc, NumExpansions); in RebuildPackExpansion()
2467 NumExpansions), in RebuildPackExpansion()
2483 NumExpansions)) in RebuildPackExpansion()
2498 llvm::Optional<unsigned> NumExpansions) { in RebuildPackExpansion() argument
2499 return getSema().CheckPackExpansion(Pattern, EllipsisLoc, NumExpansions); in RebuildPackExpansion()
[all …]
DSemaTemplateInstantiate.cpp724 llvm::Optional<unsigned> &NumExpansions) { in TryExpandParameterPacks() argument
730 NumExpansions); in TryExpandParameterPacks()
831 llvm::Optional<unsigned> NumExpansions,
1264 llvm::Optional<unsigned> NumExpansions, in TransformFunctionTypeParam() argument
1267 NumExpansions, ExpectParameterPack); in TransformFunctionTypeParam()
1530 llvm::Optional<unsigned> NumExpansions, in SubstParmVarDecl() argument
1551 NumExpansions); in SubstParmVarDecl()
1663 llvm::Optional<unsigned> NumExpansions; in SubstBaseSpecifiers() local
1669 NumExpansions)) { in SubstBaseSpecifiers()
1676 for (unsigned I = 0; I != *NumExpansions; ++I) { in SubstBaseSpecifiers()
DSemaTemplateInstantiateDecl.cpp1653 llvm::Optional<unsigned> NumExpansions = OrigNumExpansions; in VisitNonTypeTemplateParmDecl() local
1659 NumExpansions)) in VisitNonTypeTemplateParmDecl()
1663 for (unsigned I = 0; I != *NumExpansions; ++I) { in VisitNonTypeTemplateParmDecl()
1697 NumExpansions); in VisitNonTypeTemplateParmDecl()
2287 llvm::Optional<unsigned> NumExpansions in InstantiateExceptionSpec() local
2295 NumExpansions)) in InstantiateExceptionSpec()
2309 T = SemaRef.Context.getPackExpansionType(T, NumExpansions); in InstantiateExceptionSpec()
2316 for (unsigned ArgIdx = 0; ArgIdx != *NumExpansions; ++ArgIdx) { in InstantiateExceptionSpec()
2848 llvm::Optional<unsigned> NumExpansions; in InstantiateMemInitializers() local
2854 NumExpansions)) { in InstantiateMemInitializers()
[all …]
/external/clang/lib/AST/
DTemplateBase.cpp209 if (TemplateArg.NumExpansions) in getNumTemplateExpansions()
210 return TemplateArg.NumExpansions - 1; in getNumTemplateExpansions()
424 llvm::Optional<unsigned> &NumExpansions, in getPackExpansionPattern() argument
442 NumExpansions = Expansion.getTypePtr()->getNumExpansions(); in getPackExpansionPattern()
462 NumExpansions = Expansion->getNumExpansions(); in getPackExpansionPattern()
468 NumExpansions = Argument.getNumTemplateExpansions(); in getPackExpansionPattern()
DASTContext.cpp2719 llvm::Optional<unsigned> NumExpansions) { in getPackExpansionType() argument
2721 PackExpansionType::Profile(ID, Pattern, NumExpansions); in getPackExpansionType()
2733 Canon = getPackExpansionType(getCanonicalType(Pattern), NumExpansions); in getPackExpansionType()
2739 T = new (*this) PackExpansionType(Pattern, Canon, NumExpansions); in getPackExpansionType()
DExpr.cpp3476 if (VK[I].NumExpansions) in ObjCDictionaryLiteral()
3477 Expansions[I].NumExpansionsPlusOne = *VK[I].NumExpansions + 1; in ObjCDictionaryLiteral()
/external/clang/lib/Serialization/
DASTWriterStmt.cpp808 unsigned NumExpansions = 0; in VisitObjCDictionaryLiteral() local
809 if (Element.NumExpansions) in VisitObjCDictionaryLiteral()
810 NumExpansions = *Element.NumExpansions + 1; in VisitObjCDictionaryLiteral()
811 Record.push_back(NumExpansions); in VisitObjCDictionaryLiteral()
1441 Record.push_back(E->NumExpansions); in VisitPackExpansionExpr()
DASTReader.cpp3975 llvm::Optional<unsigned> NumExpansions; in readTypeRecord() local
3977 NumExpansions = Record[1] - 1; in readTypeRecord()
3978 return Context.getPackExpansionType(Pattern, NumExpansions); in readTypeRecord()
5894 if (unsigned NumExpansions = Record[Idx++]) in ReadTemplateArgument() local
5895 NumTemplateExpansions = NumExpansions - 1; in ReadTemplateArgument()
DASTWriter.cpp348 if (llvm::Optional<unsigned> NumExpansions = T->getNumExpansions()) in VisitPackExpansionType() local
349 Record.push_back(*NumExpansions + 1); in VisitPackExpansionType()
4156 if (llvm::Optional<unsigned> NumExpansions = Arg.getNumTemplateExpansions()) in AddTemplateArgument() local
4157 Record.push_back(*NumExpansions + 1); in AddTemplateArgument()
DASTReaderStmt.cpp1426 E->NumExpansions = Record[Idx++]; in VisitPackExpansionExpr()
/external/clang/include/clang/Sema/
DSema.h4915 llvm::Optional<unsigned> NumExpansions);
4922 llvm::Optional<unsigned> NumExpansions);
4941 llvm::Optional<unsigned> NumExpansions);
4986 llvm::Optional<unsigned> &NumExpansions);
5591 llvm::Optional<unsigned> NumExpansions,