/external/clang/lib/Sema/ |
D | SemaTemplateVariadic.cpp | 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() [all …]
|
D | SemaLambda.cpp | 1088 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()
|
D | DeclSpec.cpp | 157 SourceLocation EllipsisLoc, in getFunction() argument 189 I.Fun.isVariadic = EllipsisLoc.isValid(); in getFunction() 192 I.Fun.EllipsisLoc = EllipsisLoc.getRawEncoding(); in getFunction()
|
D | TreeTransform.h | 253 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/ |
D | ParseTemplate.cpp | 511 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 …]
|
D | ParseDecl.cpp | 2485 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 …]
|
D | ParseInit.cpp | 329 SourceLocation EllipsisLoc = ConsumeToken(); in ParseInitializerWithPotentialDesignator() local 338 StartLoc, EllipsisLoc)); in ParseInitializerWithPotentialDesignator()
|
D | ParseDeclCXX.cpp | 1930 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 …]
|
D | ParseExprCXX.cpp | 850 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()
|
D | ParseExpr.cpp | 1834 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/ |
D | LambdaCapture.h | 53 SourceLocation EllipsisLoc; variable 76 SourceLocation EllipsisLoc = SourceLocation()); 130 bool isPackExpansion() const { return EllipsisLoc.isValid(); } in isPackExpansion() 136 return EllipsisLoc; in getEllipsisLoc()
|
D | TemplateBase.h | 377 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()
|
D | ExprObjC.h | 220 SourceLocation EllipsisLoc; member 227 bool isPackExpansion() const { return EllipsisLoc.isValid(); } in isPackExpansion() 248 SourceLocation EllipsisLoc; 316 Result.EllipsisLoc = Expansion.EllipsisLoc;
|
D | ExprCXX.h | 3582 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()
|
D | DeclCXX.h | 167 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);
|
D | TypeLoc.h | 1949 SourceLocation EllipsisLoc; member 1957 return this->getLocalData()->EllipsisLoc; in getEllipsisLoc() 1961 this->getLocalData()->EllipsisLoc = Loc; in setEllipsisLoc()
|
D | Stmt.h | 690 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/ |
D | Designator.h | 57 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()
|
D | ParsedTemplate.h | 68 SS(SS), Loc(TemplateLoc), EllipsisLoc() { } in ParsedTemplateArgument() 110 return EllipsisLoc; in getEllipsisLoc() 118 SourceLocation EllipsisLoc) const; 137 SourceLocation EllipsisLoc; variable
|
D | ScopeInfo.h | 444 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()
|
D | AttributeList.h | 117 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()
|
D | DeclSpec.h | 1240 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 …]
|
D | Sema.h | 3724 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/ |
D | ExprObjC.cpp | 71 if (VK[I].EllipsisLoc.isInvalid() && in ObjCDictionaryLiteral() 79 Expansions[I].EllipsisLoc = VK[I].EllipsisLoc; in ObjCDictionaryLiteral()
|
/external/clang/include/clang/Parse/ |
D | Parser.h | 2280 SourceLocation &EllipsisLoc); 2367 SourceLocation &EllipsisLoc); 2610 void DiagnoseMisplacedEllipsis(SourceLocation EllipsisLoc, 2614 void DiagnoseMisplacedEllipsisInDeclarator(SourceLocation EllipsisLoc,
|