Home
last modified time | relevance | path

Searched refs:EllipsisLoc (Results 1 – 25 of 44) sorted by relevance

12

/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaTemplateVariadic.cpp576 SourceLocation EllipsisLoc) { in ActOnPackExpansion() argument
582 TypeResult Result = ActOnPackExpansion(Arg.getAsType(), EllipsisLoc); in ActOnPackExpansion()
591 ExprResult Result = ActOnPackExpansion(Arg.getAsExpr(), EllipsisLoc); in ActOnPackExpansion()
604 Diag(EllipsisLoc, diag::err_pack_expansion_without_parameter_packs) in ActOnPackExpansion()
609 return Arg.getTemplatePackExpansion(EllipsisLoc); in ActOnPackExpansion()
615 SourceLocation EllipsisLoc) { in ActOnPackExpansion() argument
622 CheckPackExpansion(TSInfo, EllipsisLoc, std::nullopt); in ActOnPackExpansion()
630 Sema::CheckPackExpansion(TypeSourceInfo *Pattern, SourceLocation EllipsisLoc, in CheckPackExpansion() argument
635 EllipsisLoc, NumExpansions); in CheckPackExpansion()
642 TL.setEllipsisLoc(EllipsisLoc); in CheckPackExpansion()
[all …]
H A DSemaLambda.cpp784 SourceLocation Loc, bool ByRef, SourceLocation EllipsisLoc, in buildLambdaInitCaptureInitialization() argument
798 if (EllipsisLoc.isValid()) { in buildLambdaInitCaptureInitialization()
800 Diag(EllipsisLoc, getLangOpts().CPlusPlus20 in buildLambdaInitCaptureInitialization()
805 TLB.push<PackExpansionTypeLoc>(DeductType).setEllipsisLoc(EllipsisLoc); in buildLambdaInitCaptureInitialization()
850 SourceLocation Loc, QualType InitCaptureType, SourceLocation EllipsisLoc, in createLambdaInitCaptureVarDecl() argument
856 PETL.setEllipsisLoc(EllipsisLoc); in createLambdaInitCaptureVarDecl()
1204 C->EllipsisLoc, C->Id, InitStyle, in ActOnLambdaExpressionAfterIntroducer()
1304 SourceLocation EllipsisLoc; in ActOnLambdaExpressionAfterIntroducer() local
1305 if (C->EllipsisLoc.isValid()) { in ActOnLambdaExpressionAfterIntroducer()
1307 EllipsisLoc = C->EllipsisLoc; in ActOnLambdaExpressionAfterIntroducer()
[all …]
H A DDeclSpec.cpp166 SourceLocation EllipsisLoc, in getFunction() argument
197 I.Fun.isVariadic = EllipsisLoc.isValid(); in getFunction()
200 I.Fun.EllipsisLoc = EllipsisLoc; in getFunction()
989 void DeclSpec::SetPackIndexingExpr(SourceLocation EllipsisLoc, in SetPackIndexingExpr() argument
995 this->EllipsisLoc = EllipsisLoc; in SetPackIndexingExpr()
H A DSemaTemplate.cpp889 SourceLocation EllipsisLoc) const { in getTemplatePackExpansion()
895 Result.EllipsisLoc = EllipsisLoc; in getTemplatePackExpansion()
961 SourceLocation EllipsisLoc; in ActOnTemplateTypeArgument() local
963 EllipsisLoc = PET.getEllipsisLoc(); in ActOnTemplateTypeArgument()
977 if (EllipsisLoc.isValid()) in ActOnTemplateTypeArgument()
978 Result = Result.getTemplatePackExpansion(EllipsisLoc); in ActOnTemplateTypeArgument()
993 SourceLocation EllipsisLoc, in ActOnTypeParameter() argument
1004 bool IsParameterPack = EllipsisLoc.isValid(); in ActOnTypeParameter()
1097 SourceLocation EllipsisLoc) { in ActOnTypeConstraint() argument
1098 return BuildTypeConstraint(SS, TypeConstr, ConstrainedParameter, EllipsisLoc, in ActOnTypeConstraint()
[all …]
/freebsd/contrib/llvm-project/clang/include/clang/Sema/
H A DDesignator.h78 SourceLocation EllipsisLoc; member
84 SourceLocation EllipsisLoc) in ArrayRangeDesignatorInfo()
86 EllipsisLoc(EllipsisLoc) {} in ArrayRangeDesignatorInfo()
174 SourceLocation EllipsisLoc) { in CreateArrayRangeDesignator() argument
177 ArrayRangeDesignatorInfo(Start, End, LBracketLoc, EllipsisLoc); in CreateArrayRangeDesignator()
193 return ArrayRangeInfo.EllipsisLoc; in getEllipsisLoc()
H A DParsedTemplate.h108 return EllipsisLoc; in getEllipsisLoc()
116 SourceLocation EllipsisLoc) const;
135 SourceLocation EllipsisLoc; variable
H A DScopeInfo.h589 SourceLocation EllipsisLoc; variable
625 SourceLocation Loc, SourceLocation EllipsisLoc, QualType CaptureType, in Capture() argument
627 : CapturedVar(Var), Loc(Loc), EllipsisLoc(EllipsisLoc), in Capture()
690 SourceLocation getEllipsisLoc() const { return EllipsisLoc; } in getEllipsisLoc()
732 SourceLocation Loc, SourceLocation EllipsisLoc, in addCapture() argument
735 EllipsisLoc, CaptureType, Invalid)); in addCapture()
H A DDeclSpec.h430 SourceLocation TSCLoc, TSSLoc, TSTLoc, AltiVecLoc, TSSatLoc, EllipsisLoc; variable
620 SourceLocation getEllipsisLoc() const { return EllipsisLoc; } in getEllipsisLoc()
778 void SetPackIndexingExpr(SourceLocation EllipsisLoc, Expr *Pack);
1393 SourceLocation EllipsisLoc; member
1509 SourceLocation getEllipsisLoc() const { return EllipsisLoc; } in getEllipsisLoc()
1715 SourceLocation EllipsisLoc,
1999 SourceLocation EllipsisLoc; variable
2126 EllipsisLoc = SourceLocation(); in clear()
2725 bool hasEllipsis() const { return EllipsisLoc.isValid(); } in hasEllipsis()
2726 SourceLocation getEllipsisLoc() const { return EllipsisLoc; } in getEllipsisLoc()
[all …]
H A DParsedAttr.h150 SourceLocation EllipsisLoc; variable
224 EllipsisLoc(ellipsisLoc), NumArgs(numArgs), Invalid(false), in ParsedAttr()
293 EllipsisLoc(ellipsisLoc), NumArgs(0), Invalid(false), in ParsedAttr()
382 bool isPackExpansion() const { return EllipsisLoc.isValid(); } in isPackExpansion()
383 SourceLocation getEllipsisLoc() const { return EllipsisLoc; } in getEllipsisLoc()
H A DSema.h4915 SourceLocation EllipsisLoc,
4939 UnqualifiedId &Name, SourceLocation EllipsisLoc,
5327 SourceLocation RParenLoc, SourceLocation EllipsisLoc);
5335 Expr *InitList, SourceLocation EllipsisLoc);
5343 Expr *Init, SourceLocation EllipsisLoc);
5351 SourceLocation EllipsisLoc);
5644 SourceLocation EllipsisLoc);
5655 SourceLocation EllipsisLoc);
6637 TryCaptureKind Kind, SourceLocation EllipsisLoc,
6645 SourceLocation EllipsisLoc = SourceLocation());
[all …]
/freebsd/contrib/llvm-project/clang/include/clang/AST/
H A DLambdaCapture.h52 SourceLocation EllipsisLoc; variable
75 SourceLocation EllipsisLoc = SourceLocation());
129 bool isPackExpansion() const { return EllipsisLoc.isValid(); } in isPackExpansion()
135 return EllipsisLoc; in getEllipsisLoc()
H A DTemplateBase.h480 SourceLocation EllipsisLoc;
499 SourceLocation EllipsisLoc);
518 return getTemplate()->EllipsisLoc;
555 SourceLocation EllipsisLoc = SourceLocation())
557 LocInfo(Ctx, QualifierLoc, TemplateNameLoc, EllipsisLoc) {
H A DDeclCXX.h154 SourceLocation EllipsisLoc; variable
188 TypeSourceInfo *TInfo, SourceLocation EllipsisLoc) in CXXBaseSpecifier() argument
189 : Range(R), EllipsisLoc(EllipsisLoc), Virtual(V), BaseOfClass(BC), in CXXBaseSpecifier()
210 bool isPackExpansion() const { return EllipsisLoc.isValid(); } in isPackExpansion()
222 return EllipsisLoc; in getEllipsisLoc()
2356 SourceLocation EllipsisLoc);
3874 SourceLocation EllipsisLoc; variable
3887 SourceLocation EllipsisLoc) in UnresolvedUsingValueDecl() argument
3890 UsingLocation(UsingLoc), EllipsisLoc(EllipsisLoc), in UnresolvedUsingValueDecl()
3923 return EllipsisLoc.isValid(); in isPackExpansion()
[all …]
H A DExprCXX.h4183 SourceLocation EllipsisLoc; variable
4195 PackExpansionExpr(QualType T, Expr *Pattern, SourceLocation EllipsisLoc, in PackExpansionExpr() argument
4199 EllipsisLoc(EllipsisLoc), in PackExpansionExpr()
4215 SourceLocation getEllipsisLoc() const { return EllipsisLoc; } in getEllipsisLoc()
4230 SourceLocation getEndLoc() const LLVM_READONLY { return EllipsisLoc; } in getEndLoc()
4378 SourceLocation EllipsisLoc; variable
4392 PackIndexingExpr(QualType Type, SourceLocation EllipsisLoc,
4397 EllipsisLoc(EllipsisLoc), RSquareLoc(RSquareLoc), in Expr()
4420 SourceLocation EllipsisLoc,
4432 SourceLocation getEllipsisLoc() const { return EllipsisLoc; } in getEllipsisLoc()
[all …]
H A DTypeLoc.h2100 SourceLocation EllipsisLoc; member
2111 SourceLocation getEllipsisLoc() const { return getLocalData()->EllipsisLoc; } in getEllipsisLoc()
2112 void setEllipsisLoc(SourceLocation Loc) { getLocalData()->EllipsisLoc = Loc; } in setEllipsisLoc()
2571 SourceLocation EllipsisLoc; member
2579 return this->getLocalData()->EllipsisLoc; in getEllipsisLoc()
2583 this->getLocalData()->EllipsisLoc = Loc; in setEllipsisLoc()
/freebsd/contrib/llvm-project/clang/lib/Parse/
H A DParseTemplate.cpp708 SourceLocation EllipsisLoc; in ParseTypeParameter() local
709 if (TryConsumeToken(tok::ellipsis, EllipsisLoc)) { in ParseTypeParameter()
710 Diag(EllipsisLoc, in ParseTypeParameter()
732 bool AlreadyHasEllipsis = EllipsisLoc.isValid(); in ParseTypeParameter()
733 if (TryConsumeToken(tok::ellipsis, EllipsisLoc)) in ParseTypeParameter()
734 DiagnoseMisplacedEllipsis(EllipsisLoc, NameLoc, AlreadyHasEllipsis, true); in ParseTypeParameter()
759 TypenameKeyword, EllipsisLoc, in ParseTypeParameter()
768 EllipsisLoc); in ParseTypeParameter()
847 SourceLocation EllipsisLoc; in ParseTemplateTemplateParameter() local
848 if (TryConsumeToken(tok::ellipsis, EllipsisLoc)) in ParseTemplateTemplateParameter()
[all …]
H A DParseExprCXX.cpp676 SourceLocation EllipsisLoc = ConsumeToken(); in ParseCXXPackIndexingExpression() local
683 EllipsisLoc, T.getOpenLocation(), in ParseCXXPackIndexingExpression()
1146 SourceLocation EllipsisLoc; in ParseLambdaIntroducer() local
1156 EllipsisLoc = *ExpectedEllipsisLoc; in ParseLambdaIntroducer()
1159 if (EllipsisLoc.isInvalid()) { in ParseLambdaIntroducer()
1163 EllipsisLoc = Loc; in ParseLambdaIntroducer()
1217 Loc, Kind == LCK_ByRef, EllipsisLoc, Id, InitKind, InitExpr); in ParseLambdaIntroducer()
1224 Intro.addCapture(Kind, Loc, Id, EllipsisLoc, InitKind, Init, in ParseLambdaIntroducer()
1459 SourceLocation EllipsisLoc; in ParseLambdaExpressionAfterIntroducer() local
1470 ParseParameterDeclarationClause(D, Attributes, ParamInfo, EllipsisLoc); in ParseLambdaExpressionAfterIntroducer()
[all …]
H A DParseDeclCXX.cpp676 if (TryConsumeToken(tok::ellipsis, D.EllipsisLoc)) in ParseUsingDeclarator()
893 D.EllipsisLoc, Attrs); in ParseUsingDeclaration()
972 if (D.EllipsisLoc.isValid()) in ParseAliasDeclarationAfterDeclarator()
973 Diag(D.EllipsisLoc, diag::err_alias_declaration_pack_expansion) in ParseAliasDeclarationAfterDeclarator()
974 << FixItHint::CreateRemoval(SourceRange(D.EllipsisLoc)); in ParseAliasDeclarationAfterDeclarator()
1260 SourceLocation EllipsisLoc; in ParsePackIndexingType() local
1297 EllipsisLoc = ConsumeToken(); in ParsePackIndexingType()
1314 DS.SetPackIndexingExpr(EllipsisLoc, IndexExpr.get()); in ParsePackIndexingType()
2482 SourceLocation EllipsisLoc; in ParseBaseSpecifier() local
2483 TryConsumeToken(tok::ellipsis, EllipsisLoc); in ParseBaseSpecifier()
[all …]
H A DParseInit.cpp373 SourceLocation EllipsisLoc = ConsumeToken(); in ParseInitializerWithPotentialDesignator() local
381 Idx.get(), RHS.get(), StartLoc, EllipsisLoc)); in ParseInitializerWithPotentialDesignator()
H A DParseDecl.cpp3287 SourceLocation &EllipsisLoc, bool &IsType, in ParseAlignArgument() argument
3304 TryConsumeToken(tok::ellipsis, EllipsisLoc); in ParseAlignArgument()
3332 SourceLocation EllipsisLoc; in ParseAlignmentSpecifier() local
3335 EllipsisLoc, IsType, TypeResult); in ParseAlignmentSpecifier()
3347 EllipsisLoc); in ParseAlignmentSpecifier()
3352 EllipsisLoc); in ParseAlignmentSpecifier()
6935 SourceLocation EllipsisLoc = ConsumeToken(); in ParseDirectDeclarator() local
6940 if (EllipsisLoc.isValid()) in ParseDirectDeclarator()
6941 DiagnoseMisplacedEllipsisInDeclarator(EllipsisLoc, D); in ParseDirectDeclarator()
6944 D.setEllipsisLoc(EllipsisLoc); in ParseDirectDeclarator()
[all …]
/freebsd/contrib/llvm-project/clang/lib/AST/
H A DTemplateBase.cpp700 SourceLocation TemplateNameLoc, SourceLocation EllipsisLoc) { in TemplateArgumentLocInfo() argument
705 Template->EllipsisLoc = EllipsisLoc; in TemplateArgumentLocInfo()
H A DExprObjC.cpp67 Expansions[I].EllipsisLoc = VK[I].EllipsisLoc; in ObjCDictionaryLiteral()
H A DExprCXX.cpp1218 SourceLocation EllipsisLoc) in LambdaCapture() argument
1219 : DeclAndBits(Var, 0), Loc(Loc), EllipsisLoc(EllipsisLoc) { in LambdaCapture()
1719 ASTContext &Context, SourceLocation EllipsisLoc, SourceLocation RSquareLoc, in Create() argument
1731 PackIndexingExpr(Type, EllipsisLoc, RSquareLoc, PackIdExpr, IndexExpr, in Create()
H A DDeclCXX.cpp2649 SourceLocation EllipsisLoc) in CXXCtorInitializer() argument
2650 : Initializee(TInfo), Init(Init), MemberOrEllipsisLocation(EllipsisLoc), in CXXCtorInitializer()
3258 SourceLocation EllipsisLoc) { in Create() argument
3261 EllipsisLoc); in Create()
3288 SourceLocation EllipsisLoc) { in Create() argument
3291 TargetName.getAsIdentifierInfo(), EllipsisLoc); in Create()
/freebsd/contrib/llvm-project/clang/include/clang/Parse/
H A DParser.h3147 SourceLocation &EllipsisLoc, bool &IsType,
3239 SourceLocation &EllipsisLoc) { in ParseParameterDeclarationClause() argument
3241 D.getContext(), attrs, ParamInfo, EllipsisLoc, in ParseParameterDeclarationClause()
3248 SourceLocation &EllipsisLoc, bool IsACXXFunctionDeclaration = false);
3304 SourceLocation EllipsisLoc; member
3307 TypenameLoc = EllipsisLoc = SourceLocation(); in clear()
3808 void DiagnoseMisplacedEllipsis(SourceLocation EllipsisLoc,
3812 void DiagnoseMisplacedEllipsisInDeclarator(SourceLocation EllipsisLoc,

12