Lines Matching refs:EllipsisLoc
415 SourceLocation EllipsisLoc) { in ActOnPackExpansion() argument
421 TypeResult Result = ActOnPackExpansion(Arg.getAsType(), EllipsisLoc); in ActOnPackExpansion()
430 ExprResult Result = ActOnPackExpansion(Arg.getAsExpr(), EllipsisLoc); in ActOnPackExpansion()
443 Diag(EllipsisLoc, diag::err_pack_expansion_without_parameter_packs) in ActOnPackExpansion()
448 return Arg.getTemplatePackExpansion(EllipsisLoc); in ActOnPackExpansion()
454 SourceLocation EllipsisLoc) { in ActOnPackExpansion() argument
460 TypeSourceInfo *TSResult = CheckPackExpansion(TSInfo, EllipsisLoc, None); in ActOnPackExpansion()
468 Sema::CheckPackExpansion(TypeSourceInfo *Pattern, SourceLocation EllipsisLoc, in CheckPackExpansion() argument
473 EllipsisLoc, NumExpansions); in CheckPackExpansion()
480 TL.setEllipsisLoc(EllipsisLoc); in CheckPackExpansion()
486 SourceLocation EllipsisLoc, in CheckPackExpansion() argument
493 Diag(EllipsisLoc, diag::err_pack_expansion_without_parameter_packs) in CheckPackExpansion()
501 ExprResult Sema::ActOnPackExpansion(Expr *Pattern, SourceLocation EllipsisLoc) { in ActOnPackExpansion() argument
502 return CheckPackExpansion(Pattern, EllipsisLoc, None); in ActOnPackExpansion()
505 ExprResult Sema::CheckPackExpansion(Expr *Pattern, SourceLocation EllipsisLoc, in CheckPackExpansion() argument
515 Diag(EllipsisLoc, diag::err_pack_expansion_without_parameter_packs) in CheckPackExpansion()
522 PackExpansionExpr(Context.DependentTy, Pattern, EllipsisLoc, NumExpansions); in CheckPackExpansion()
539 SourceLocation EllipsisLoc, SourceRange PatternRange, in CheckParameterPacksForExpansion() argument
632 Diag(EllipsisLoc, diag::err_pack_expansion_length_conflict) in CheckParameterPacksForExpansion()
636 Diag(EllipsisLoc, diag::err_pack_expansion_length_conflict_multilevel) in CheckParameterPacksForExpansion()
950 SourceLocation EllipsisLoc, Expr *RHS, in ActOnCXXFoldExpr() argument
964 return Diag(EllipsisLoc, in ActOnCXXFoldExpr()
978 return Diag(EllipsisLoc, diag::err_pack_expansion_without_parameter_packs) in ActOnCXXFoldExpr()
983 return BuildCXXFoldExpr(LParenLoc, LHS, Opc, EllipsisLoc, RHS, RParenLoc); in ActOnCXXFoldExpr()
988 SourceLocation EllipsisLoc, Expr *RHS, in BuildCXXFoldExpr() argument
991 Operator, EllipsisLoc, RHS, RParenLoc); in BuildCXXFoldExpr()
994 ExprResult Sema::BuildEmptyCXXFoldExpr(SourceLocation EllipsisLoc, in BuildEmptyCXXFoldExpr() argument
1015 return ActOnIntegerConstant(EllipsisLoc, 1); in BuildEmptyCXXFoldExpr()
1020 return CreateBuiltinUnaryOp(EllipsisLoc, UO_Minus, in BuildEmptyCXXFoldExpr()
1021 ActOnIntegerConstant(EllipsisLoc, 1).get()); in BuildEmptyCXXFoldExpr()
1023 return ActOnCXXBoolLiteral(EllipsisLoc, tok::kw_false); in BuildEmptyCXXFoldExpr()
1025 return ActOnCXXBoolLiteral(EllipsisLoc, tok::kw_true); in BuildEmptyCXXFoldExpr()
1031 return Diag(EllipsisLoc, diag::err_fold_expression_empty) in BuildEmptyCXXFoldExpr()
1036 ScalarType, Context.getTrivialTypeSourceInfo(ScalarType, EllipsisLoc), in BuildEmptyCXXFoldExpr()
1037 EllipsisLoc); in BuildEmptyCXXFoldExpr()