Searched refs:NumExpansions (Results 1 - 18 of 18) sorted by relevance

/external/clang/lib/Sema/
H A DSemaTemplateVariadic.cpp469 Optional<unsigned> NumExpansions) {
473 EllipsisLoc, NumExpansions);
487 Optional<unsigned> NumExpansions) {
498 return Context.getPackExpansionType(Pattern, NumExpansions);
506 Optional<unsigned> NumExpansions) {
522 PackExpansionExpr(Context.DependentTy, Pattern, EllipsisLoc, NumExpansions);
542 bool &RetainExpansion, Optional<unsigned> &NumExpansions) {
617 if (!NumExpansions) {
620 NumExpansions = NewPackSize;
627 if (NewPackSize != *NumExpansions) {
468 CheckPackExpansion(TypeSourceInfo *Pattern, SourceLocation EllipsisLoc, Optional<unsigned> NumExpansions) argument
485 CheckPackExpansion(QualType Pattern, SourceRange PatternRange, SourceLocation EllipsisLoc, Optional<unsigned> NumExpansions) argument
505 CheckPackExpansion(Expr *Pattern, SourceLocation EllipsisLoc, Optional<unsigned> NumExpansions) argument
538 CheckParameterPacksForExpansion( SourceLocation EllipsisLoc, SourceRange PatternRange, ArrayRef<UnexpandedParameterPack> Unexpanded, const MultiLevelTemplateArgumentList &TemplateArgs, bool &ShouldExpand, bool &RetainExpansion, Optional<unsigned> &NumExpansions) argument
[all...]
H A DSemaTemplateInstantiate.cpp661 Optional<unsigned> &NumExpansions) {
667 NumExpansions);
808 Optional<unsigned> NumExpansions,
1321 Optional<unsigned> NumExpansions,
1324 NumExpansions, ExpectParameterPack);
1607 Optional<unsigned> NumExpansions,
1627 NumExpansions);
1762 Optional<unsigned> NumExpansions; local
1768 NumExpansions)) {
1775 for (unsigned I = 0; I != *NumExpansions;
657 TryExpandParameterPacks(SourceLocation EllipsisLoc, SourceRange PatternRange, ArrayRef<UnexpandedParameterPack> Unexpanded, bool &ShouldExpand, bool &RetainExpansion, Optional<unsigned> &NumExpansions) argument
1319 TransformFunctionTypeParam(ParmVarDecl *OldParm, int indexAdjustment, Optional<unsigned> NumExpansions, bool ExpectParameterPack) argument
1604 SubstParmVarDecl(ParmVarDecl *OldParm, const MultiLevelTemplateArgumentList &TemplateArgs, int indexAdjustment, Optional<unsigned> NumExpansions, bool ExpectParameterPack) argument
[all...]
H A DTreeTransform.h234 /// set, \c NumExpansions must also be set.
241 /// \param NumExpansions The number of separate arguments that will be in
251 /// otherwise. If false, \c ShouldExpand (and possibly \c NumExpansions)
258 Optional<unsigned> &NumExpansions) {
629 Optional<unsigned> NumExpansions,
1047 Optional<unsigned> NumExpansions) {
1049 NumExpansions);
3037 Optional<unsigned> NumExpansions) {
3042 EllipsisLoc, NumExpansions);
3052 NumExpansions),
253 TryExpandParameterPacks(SourceLocation EllipsisLoc, SourceRange PatternRange, ArrayRef<UnexpandedParameterPack> Unexpanded, bool &ShouldExpand, bool &RetainExpansion, Optional<unsigned> &NumExpansions) argument
1044 RebuildPackExpansionType(QualType Pattern, SourceRange PatternRange, SourceLocation EllipsisLoc, Optional<unsigned> NumExpansions) argument
3035 RebuildPackExpansion(TemplateArgumentLoc Pattern, SourceLocation EllipsisLoc, Optional<unsigned> NumExpansions) argument
3083 RebuildPackExpansion(Expr *Pattern, SourceLocation EllipsisLoc, Optional<unsigned> NumExpansions) argument
3313 Optional<unsigned> NumExpansions = OrigNumExpansions; local
3895 Optional<unsigned> NumExpansions = OrigNumExpansions; local
4644 TransformFunctionTypeParam( ParmVarDecl *OldParm, int indexAdjustment, Optional<unsigned> NumExpansions, bool ExpectParameterPack) argument
4713 Optional<unsigned> NumExpansions; local
4818 Optional<unsigned> NumExpansions; local
5076 Optional<unsigned> NumExpansions = PackExpansion->getNumExpansions(); local
5980 Optional<unsigned> NumExpansions = PackExpansion->getNumExpansions(); local
9792 Optional<unsigned> NumExpansions = OrigNumExpansions; local
10308 Optional<unsigned> NumExpansions; local
10669 Optional<unsigned> NumExpansions; local
10782 Optional<unsigned> NumExpansions; local
10964 Optional<unsigned> NumExpansions = OrigNumExpansions; local
[all...]
H A DSemaTemplateInstantiateDecl.cpp117 Optional<unsigned> NumExpansions; local
122 RetainExpansion, NumExpansions))
129 for (unsigned I = 0; I != *NumExpansions; ++I) {
2090 Optional<unsigned> NumExpansions = OrigNumExpansions; local
2096 NumExpansions))
2100 for (unsigned I = 0; I != *NumExpansions; ++I) {
2134 NumExpansions);
2245 Optional<unsigned> NumExpansions; local
2251 NumExpansions))
2255 for (unsigned I = 0; I != *NumExpansions;
4259 Optional<unsigned> NumExpansions; local
[all...]
/external/clang/include/clang/AST/
H A DTemplateBase.h103 unsigned NumExpansions; member in struct:clang::TemplateArgument::TA
165 TemplateArg.NumExpansions = 0;
177 /// \param NumExpansions The number of expansions that will be generated by
179 TemplateArgument(TemplateName Name, Optional<unsigned> NumExpansions) { argument
182 if (NumExpansions)
183 TemplateArg.NumExpansions = *NumExpansions + 1;
185 TemplateArg.NumExpansions = 0;
H A DType.h4654 unsigned NumExpansions; member in class:clang::FunctionType::ExtInfo::FunctionProtoType::PackExpansionType
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)
4656 PackExpansionType(QualType Pattern, QualType Canon, Optional<unsigned> NumExpansions) argument
4689 Profile(llvm::FoldingSetNodeID &ID, QualType Pattern, Optional<unsigned> NumExpansions) argument
[all...]
H A DExprCXX.h3589 unsigned NumExpansions;
3598 Optional<unsigned> NumExpansions)
3604 NumExpansions(NumExpansions? *NumExpansions + 1 : 0),
3622 if (NumExpansions)
3623 return NumExpansions - 1;
H A DExprObjC.h224 Optional<unsigned> NumExpansions; member in struct:clang::ObjCDictionaryElement
318 Result.NumExpansions = Expansion.NumExpansionsPlusOne - 1;
H A DASTContext.h1275 Optional<unsigned> NumExpansions);
H A DDeclTemplate.h1380 unsigned NumExpansions);
/external/clang/lib/AST/
H A DExprObjC.cpp80 if (VK[I].NumExpansions)
81 Expansions[I].NumExpansionsPlusOne = *VK[I].NumExpansions + 1;
H A DDeclTemplate.cpp638 unsigned NumExpansions) {
640 new (C, ID, additionalSizeToAlloc<TemplateParameterList *>(NumExpansions))
643 TTP->NumExpandedParams = NumExpansions;
637 CreateDeserialized(ASTContext &C, unsigned ID, unsigned NumExpansions) argument
H A DASTContext.cpp3645 Optional<unsigned> NumExpansions) {
3647 PackExpansionType::Profile(ID, Pattern, NumExpansions);
3664 Canon = getPackExpansionType(Canon, NumExpansions);
3673 PackExpansionType(Pattern, Canon, NumExpansions);
3644 getPackExpansionType(QualType Pattern, Optional<unsigned> NumExpansions) argument
/external/clang/lib/Serialization/
H A DASTWriterStmt.cpp952 unsigned NumExpansions = 0; local
953 if (Element.NumExpansions)
954 NumExpansions = *Element.NumExpansions + 1;
955 Record.push_back(NumExpansions);
1595 Record.push_back(E->NumExpansions);
H A DASTWriter.cpp424 if (Optional<unsigned> NumExpansions = T->getNumExpansions())
425 Record.push_back(*NumExpansions + 1);
5342 if (Optional<unsigned> NumExpansions = Arg.getNumTemplateExpansions())
5343 Record->push_back(*NumExpansions + 1);
H A DASTReader.cpp5511 Optional<unsigned> NumExpansions;
5513 NumExpansions = Record[1] - 1;
5514 return Context.getPackExpansionType(Pattern, NumExpansions);
7864 if (unsigned NumExpansions = Record[Idx++])
7865 NumTemplateExpansions = NumExpansions - 1;
H A DASTReaderStmt.cpp1592 E->NumExpansions = Record[Idx++];
/external/clang/include/clang/Sema/
H A DSema.h6285 Optional<unsigned> NumExpansions);
6292 Optional<unsigned> NumExpansions);
6311 Optional<unsigned> NumExpansions);
6328 /// set, \c NumExpansions must also be set.
6335 /// \param NumExpansions The number of separate arguments that will be in
6345 /// otherwise. If false, \c ShouldExpand (and possibly \c NumExpansions)
6353 Optional<unsigned> &NumExpansions);
6388 /// \param NumExpansions Will be set to the number of expansions that will
6393 Optional<unsigned> &NumExpansions) const;
7151 Optional<unsigned> NumExpansions,
[all...]

Completed in 1285 milliseconds