Home
last modified time | relevance | path

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

12

/external/clang/lib/Sema/
DSemaTemplateVariadic.cpp415 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()
[all …]
DSemaLambda.cpp1088 SourceLocation EllipsisLoc; in ActOnStartOfLambdaDefinition() local
1089 if (C->EllipsisLoc.isValid()) { in ActOnStartOfLambdaDefinition()
1091 EllipsisLoc = C->EllipsisLoc; in ActOnStartOfLambdaDefinition()
1093 Diag(C->EllipsisLoc, diag::err_pack_expansion_without_parameter_packs) in ActOnStartOfLambdaDefinition()
1107 tryCaptureVariable(Var, C->Loc, Kind, EllipsisLoc); in ActOnStartOfLambdaDefinition()
DDeclSpec.cpp157 SourceLocation EllipsisLoc, in getFunction() argument
189 I.Fun.isVariadic = EllipsisLoc.isValid(); in getFunction()
192 I.Fun.EllipsisLoc = EllipsisLoc.getRawEncoding(); in getFunction()
DTreeTransform.h253 bool TryExpandParameterPacks(SourceLocation EllipsisLoc, in TryExpandParameterPacks() argument
1046 SourceLocation EllipsisLoc, in RebuildPackExpansionType() argument
1048 return getSema().CheckPackExpansion(Pattern, PatternRange, EllipsisLoc, in RebuildPackExpansionType()
1126 SourceLocation EllipsisLoc, in RebuildCaseStmt() argument
1129 return getSema().ActOnCaseStmt(CaseLoc, LHS, EllipsisLoc, RHS, in RebuildCaseStmt()
3036 SourceLocation EllipsisLoc, in RebuildPackExpansion() argument
3042 EllipsisLoc, NumExpansions); in RebuildPackExpansion()
3055 EllipsisLoc); in RebuildPackExpansion()
3068 EllipsisLoc, in RebuildPackExpansion()
3083 ExprResult RebuildPackExpansion(Expr *Pattern, SourceLocation EllipsisLoc, in RebuildPackExpansion() argument
[all …]
/external/clang/lib/Parse/
DParseTemplate.cpp511 SourceLocation EllipsisLoc; in ParseTypeParameter() local
512 if (TryConsumeToken(tok::ellipsis, EllipsisLoc)) { in ParseTypeParameter()
513 Diag(EllipsisLoc, in ParseTypeParameter()
535 bool AlreadyHasEllipsis = EllipsisLoc.isValid(); in ParseTypeParameter()
536 if (TryConsumeToken(tok::ellipsis, EllipsisLoc)) in ParseTypeParameter()
537 DiagnoseMisplacedEllipsis(EllipsisLoc, NameLoc, AlreadyHasEllipsis, true); in ParseTypeParameter()
548 return Actions.ActOnTypeParameter(getCurScope(), TypenameKeyword, EllipsisLoc, in ParseTypeParameter()
609 SourceLocation EllipsisLoc; in ParseTemplateTemplateParameter() local
610 if (TryConsumeToken(tok::ellipsis, EllipsisLoc)) in ParseTemplateTemplateParameter()
611 Diag(EllipsisLoc, in ParseTemplateTemplateParameter()
[all …]
DParseDecl.cpp2485 SourceLocation &EllipsisLoc) { in ParseAlignArgument() argument
2497 TryConsumeToken(tok::ellipsis, EllipsisLoc); in ParseAlignArgument()
2522 SourceLocation EllipsisLoc; in ParseAlignmentSpecifier() local
2523 ExprResult ArgExpr = ParseAlignArgument(T.getOpenLocation(), EllipsisLoc); in ParseAlignmentSpecifier()
2536 AttributeList::AS_Keyword, EllipsisLoc); in ParseAlignmentSpecifier()
5250 SourceLocation EllipsisLoc = ConsumeToken(); in ParseDirectDeclarator() local
5255 if (EllipsisLoc.isValid()) in ParseDirectDeclarator()
5256 DiagnoseMisplacedEllipsisInDeclarator(EllipsisLoc, D); in ParseDirectDeclarator()
5259 D.setEllipsisLoc(EllipsisLoc); in ParseDirectDeclarator()
5513 SourceLocation EllipsisLoc = D.getEllipsisLoc(); in ParseParenDeclarator() local
[all …]
DParseInit.cpp329 SourceLocation EllipsisLoc = ConsumeToken(); in ParseInitializerWithPotentialDesignator() local
338 StartLoc, EllipsisLoc)); in ParseInitializerWithPotentialDesignator()
DParseDeclCXX.cpp1930 SourceLocation EllipsisLoc; in ParseBaseSpecifier() local
1931 TryConsumeToken(tok::ellipsis, EllipsisLoc); in ParseBaseSpecifier()
1940 EllipsisLoc); in ParseBaseSpecifier()
3303 SourceLocation EllipsisLoc; in ParseMemInitializer() local
3304 TryConsumeToken(tok::ellipsis, EllipsisLoc); in ParseMemInitializer()
3308 InitList.get(), EllipsisLoc); in ParseMemInitializer()
3323 SourceLocation EllipsisLoc; in ParseMemInitializer() local
3324 TryConsumeToken(tok::ellipsis, EllipsisLoc); in ParseMemInitializer()
3329 T.getCloseLocation(), EllipsisLoc); in ParseMemInitializer()
3494 SourceLocation EllipsisLoc = ConsumeToken(); in ParseDynamicExceptionSpecification() local
[all …]
DParseExprCXX.cpp850 SourceLocation EllipsisLoc; in ParseLambdaIntroducer() local
969 TryConsumeToken(tok::ellipsis, EllipsisLoc); in ParseLambdaIntroducer()
1020 Intro.addCapture(Kind, Loc, Id, EllipsisLoc, InitKind, Init, in ParseLambdaIntroducer()
1144 SourceLocation EllipsisLoc; in ParseLambdaExpressionAfterIntroducer() local
1148 ParseParameterDeclarationClause(D, Attr, ParamInfo, EllipsisLoc); in ParseLambdaExpressionAfterIntroducer()
1212 EllipsisLoc, RParenLoc, in ParseLambdaExpressionAfterIntroducer()
DParseExpr.cpp1834 SourceLocation EllipsisLoc = ConsumeToken(); in ParseUnaryExprOrTypeTraitExpression() local
1856 LParenLoc = PP.getLocForEndOfToken(EllipsisLoc); in ParseUnaryExprOrTypeTraitExpression()
2604 SourceLocation EllipsisLoc = ConsumeToken(); in ParseFoldExpression() local
2624 Diag(EllipsisLoc, getLangOpts().CPlusPlus1z in ParseFoldExpression()
2630 EllipsisLoc, RHS.get(), T.getCloseLocation()); in ParseFoldExpression()
/external/clang/include/clang/AST/
DLambdaCapture.h53 SourceLocation EllipsisLoc; variable
76 SourceLocation EllipsisLoc = SourceLocation());
130 bool isPackExpansion() const { return EllipsisLoc.isValid(); } in isPackExpansion()
136 return EllipsisLoc; in getEllipsisLoc()
DTemplateBase.h377 unsigned EllipsisLoc; member
395 SourceLocation EllipsisLoc) in TemplateArgumentLocInfo()
400 Template.EllipsisLoc = EllipsisLoc.getRawEncoding(); in TemplateArgumentLocInfo()
421 return SourceLocation::getFromRawEncoding(Template.EllipsisLoc); in getTemplateEllipsisLoc()
452 SourceLocation EllipsisLoc = SourceLocation())
453 : Argument(Argument), LocInfo(QualifierLoc, TemplateNameLoc, EllipsisLoc) { in Argument()
DExprObjC.h220 SourceLocation EllipsisLoc; member
227 bool isPackExpansion() const { return EllipsisLoc.isValid(); } in isPackExpansion()
248 SourceLocation EllipsisLoc;
316 Result.EllipsisLoc = Expansion.EllipsisLoc;
DExprCXX.h3582 SourceLocation EllipsisLoc; variable
3597 PackExpansionExpr(QualType T, Expr *Pattern, SourceLocation EllipsisLoc, in PackExpansionExpr() argument
3603 EllipsisLoc(EllipsisLoc), in PackExpansionExpr()
3617 SourceLocation getEllipsisLoc() const { return EllipsisLoc; } in getEllipsisLoc()
3631 SourceLocation getLocEnd() const LLVM_READONLY { return EllipsisLoc; } in getLocEnd()
4067 SourceLocation EllipsisLoc; variable
4076 BinaryOperatorKind Opcode, SourceLocation EllipsisLoc, Expr *RHS, in CXXFoldExpr() argument
4081 LParenLoc(LParenLoc), EllipsisLoc(EllipsisLoc), RParenLoc(RParenLoc), in CXXFoldExpr()
4102 SourceLocation getEllipsisLoc() const { return EllipsisLoc; } in getEllipsisLoc()
DDeclCXX.h167 SourceLocation EllipsisLoc; variable
198 TypeSourceInfo *TInfo, SourceLocation EllipsisLoc) in CXXBaseSpecifier() argument
199 : Range(R), EllipsisLoc(EllipsisLoc), Virtual(V), BaseOfClass(BC), in CXXBaseSpecifier()
215 bool isPackExpansion() const { return EllipsisLoc.isValid(); } in isPackExpansion()
227 return EllipsisLoc; in getEllipsisLoc()
1975 SourceLocation EllipsisLoc);
DTypeLoc.h1949 SourceLocation EllipsisLoc; member
1957 return this->getLocalData()->EllipsisLoc; in getEllipsisLoc()
1961 this->getLocalData()->EllipsisLoc = Loc; in setEllipsisLoc()
DStmt.h690 SourceLocation EllipsisLoc; variable
701 EllipsisLoc = ellipsisLoc; in CaseStmt()
709 SourceLocation getEllipsisLoc() const { return EllipsisLoc; } in getEllipsisLoc()
710 void setEllipsisLoc(SourceLocation L) { EllipsisLoc = L; } in setEllipsisLoc()
/external/clang/include/clang/Sema/
DDesignator.h57 unsigned LBracketLoc, EllipsisLoc; member
123 return SourceLocation::getFromRawEncoding(ArrayRangeInfo.EllipsisLoc); in getEllipsisLoc()
149 SourceLocation EllipsisLoc) { in getArrayRange() argument
155 D.ArrayRangeInfo.EllipsisLoc = EllipsisLoc.getRawEncoding(); in getArrayRange()
DParsedTemplate.h68 SS(SS), Loc(TemplateLoc), EllipsisLoc() { } in ParsedTemplateArgument()
110 return EllipsisLoc; in getEllipsisLoc()
118 SourceLocation EllipsisLoc) const;
137 SourceLocation EllipsisLoc; variable
DScopeInfo.h444 SourceLocation EllipsisLoc; variable
452 SourceLocation Loc, SourceLocation EllipsisLoc, in Capture() argument
458 Loc(Loc), EllipsisLoc(EllipsisLoc), CaptureType(CaptureType) {} in Capture()
466 Loc(Loc), EllipsisLoc(), CaptureType(CaptureType) {} in Capture()
499 SourceLocation getEllipsisLoc() const { return EllipsisLoc; } in getEllipsisLoc()
539 SourceLocation Loc, SourceLocation EllipsisLoc, in addCapture() argument
542 EllipsisLoc, CaptureType, Cpy)); in addCapture()
DAttributeList.h117 SourceLocation EllipsisLoc; variable
242 ScopeLoc(scopeLoc), EllipsisLoc(ellipsisLoc), NumArgs(numArgs), in AttributeList()
262 ScopeLoc(scopeLoc), EllipsisLoc(), NumArgs(1), SyntaxUsed(syntaxUsed), in AttributeList()
282 ScopeLoc(scopeLoc), EllipsisLoc(), NumArgs(3), SyntaxUsed(syntaxUsed), in AttributeList()
299 ScopeLoc(scopeLoc), EllipsisLoc(), NumArgs(1), SyntaxUsed(syntaxUsed), in AttributeList()
317 ScopeLoc(scopeLoc), EllipsisLoc(), NumArgs(0), SyntaxUsed(syntaxUsed), in AttributeList()
331 ScopeLoc(scopeLoc), EllipsisLoc(), NumArgs(0), SyntaxUsed(syntaxUsed), in AttributeList()
399 bool isPackExpansion() const { return EllipsisLoc.isValid(); } in isPackExpansion()
400 SourceLocation getEllipsisLoc() const { return EllipsisLoc; } in getEllipsisLoc()
DDeclSpec.h1240 unsigned EllipsisLoc; member
1341 return SourceLocation::getFromRawEncoding(EllipsisLoc); in getEllipsisLoc()
1530 SourceLocation EllipsisLoc,
1709 SourceLocation EllipsisLoc; variable
1802 EllipsisLoc = SourceLocation(); in clear()
2233 bool hasEllipsis() const { return EllipsisLoc.isValid(); } in hasEllipsis()
2234 SourceLocation getEllipsisLoc() const { return EllipsisLoc; } in getEllipsisLoc()
2235 void setEllipsisLoc(SourceLocation EL) { EllipsisLoc = EL; } in setEllipsisLoc()
2330 SourceLocation EllipsisLoc; member
2335 IdentifierInfo *Id, SourceLocation EllipsisLoc, in LambdaCapture()
[all …]
DSema.h3724 SourceLocation EllipsisLoc, bool BuildAndDiagnose,
3732 SourceLocation EllipsisLoc = SourceLocation());
4670 SourceLocation EllipsisLoc, Expr *RHS,
4674 SourceLocation EllipsisLoc, Expr *RHS,
4676 ExprResult BuildEmptyCXXFoldExpr(SourceLocation EllipsisLoc,
5309 SourceLocation EllipsisLoc);
5319 SourceLocation EllipsisLoc);
5329 SourceLocation EllipsisLoc);
5339 SourceLocation EllipsisLoc);
5483 SourceLocation EllipsisLoc);
[all …]
/external/clang/lib/AST/
DExprObjC.cpp71 if (VK[I].EllipsisLoc.isInvalid() && in ObjCDictionaryLiteral()
79 Expansions[I].EllipsisLoc = VK[I].EllipsisLoc; in ObjCDictionaryLiteral()
/external/clang/include/clang/Parse/
DParser.h2280 SourceLocation &EllipsisLoc);
2367 SourceLocation &EllipsisLoc);
2610 void DiagnoseMisplacedEllipsis(SourceLocation EllipsisLoc,
2614 void DiagnoseMisplacedEllipsisInDeclarator(SourceLocation EllipsisLoc,

12