/external/clang/include/clang/AST/ |
D | TemplateBase.h | 85 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,
|
D | Type.h | 4044 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);
|
D | ExprCXX.h | 3309 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()
|
D | ExprObjC.h | 209 llvm::Optional<unsigned> NumExpansions; member 309 Result.NumExpansions = Expansion.NumExpansionsPlusOne - 1; in getKeyValueElement()
|
D | ASTContext.h | 870 llvm::Optional<unsigned> NumExpansions);
|
/external/clang/lib/Sema/ |
D | SemaTemplateVariadic.cpp | 417 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 …]
|
D | TreeTransform.h | 256 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 …]
|
D | SemaTemplateInstantiate.cpp | 724 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()
|
D | SemaTemplateInstantiateDecl.cpp | 1653 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/ |
D | TemplateBase.cpp | 209 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()
|
D | ASTContext.cpp | 2719 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()
|
D | Expr.cpp | 3476 if (VK[I].NumExpansions) in ObjCDictionaryLiteral() 3477 Expansions[I].NumExpansionsPlusOne = *VK[I].NumExpansions + 1; in ObjCDictionaryLiteral()
|
/external/clang/lib/Serialization/ |
D | ASTWriterStmt.cpp | 808 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()
|
D | ASTReader.cpp | 3975 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()
|
D | ASTWriter.cpp | 348 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()
|
D | ASTReaderStmt.cpp | 1426 E->NumExpansions = Record[Idx++]; in VisitPackExpansionExpr()
|
/external/clang/include/clang/Sema/ |
D | Sema.h | 4915 llvm::Optional<unsigned> NumExpansions); 4922 llvm::Optional<unsigned> NumExpansions); 4941 llvm::Optional<unsigned> NumExpansions); 4986 llvm::Optional<unsigned> &NumExpansions); 5591 llvm::Optional<unsigned> NumExpansions,
|