/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 | 1081 SourceLocation EllipsisLoc; in ActOnStartOfLambdaDefinition() local 1082 if (C->EllipsisLoc.isValid()) { in ActOnStartOfLambdaDefinition() 1084 EllipsisLoc = C->EllipsisLoc; in ActOnStartOfLambdaDefinition() 1086 Diag(C->EllipsisLoc, diag::err_pack_expansion_without_parameter_packs) in ActOnStartOfLambdaDefinition() 1100 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 | SemaDeclCXX.cpp | 1355 SourceLocation EllipsisLoc) { in CheckBaseSpecifier() argument 1366 if (EllipsisLoc.isValid() && in CheckBaseSpecifier() 1368 Diag(EllipsisLoc, diag::err_pack_expansion_without_parameter_packs) in CheckBaseSpecifier() 1370 EllipsisLoc = SourceLocation(); in CheckBaseSpecifier() 1396 Access, TInfo, EllipsisLoc); in CheckBaseSpecifier() 1470 Access, TInfo, EllipsisLoc); in CheckBaseSpecifier() 1483 SourceLocation EllipsisLoc) { in ActOnBaseSpecifier() argument 1514 if (EllipsisLoc.isInvalid() && in ActOnBaseSpecifier() 1521 EllipsisLoc)) in ActOnBaseSpecifier() 2794 SourceLocation EllipsisLoc) { in ActOnMemInitializer() argument [all …]
|
D | TreeTransform.h | 253 bool TryExpandParameterPacks(SourceLocation EllipsisLoc, in TryExpandParameterPacks() argument 1037 SourceLocation EllipsisLoc, in RebuildPackExpansionType() argument 1039 return getSema().CheckPackExpansion(Pattern, PatternRange, EllipsisLoc, in RebuildPackExpansionType() 1114 SourceLocation EllipsisLoc, in RebuildCaseStmt() argument 1117 return getSema().ActOnCaseStmt(CaseLoc, LHS, EllipsisLoc, RHS, in RebuildCaseStmt() 2953 SourceLocation EllipsisLoc, in RebuildPackExpansion() argument 2959 EllipsisLoc, NumExpansions); in RebuildPackExpansion() 2972 EllipsisLoc); in RebuildPackExpansion() 2985 EllipsisLoc, in RebuildPackExpansion() 3000 ExprResult RebuildPackExpansion(Expr *Pattern, SourceLocation EllipsisLoc, in RebuildPackExpansion() argument [all …]
|
/external/clang/lib/Parse/ |
D | ParseTemplate.cpp | 506 SourceLocation EllipsisLoc; in ParseTypeParameter() local 507 if (TryConsumeToken(tok::ellipsis, EllipsisLoc)) { in ParseTypeParameter() 508 Diag(EllipsisLoc, in ParseTypeParameter() 530 bool AlreadyHasEllipsis = EllipsisLoc.isValid(); in ParseTypeParameter() 531 if (TryConsumeToken(tok::ellipsis, EllipsisLoc)) in ParseTypeParameter() 532 DiagnoseMisplacedEllipsis(EllipsisLoc, NameLoc, AlreadyHasEllipsis, true); in ParseTypeParameter() 543 return Actions.ActOnTypeParameter(getCurScope(), TypenameKeyword, EllipsisLoc, in ParseTypeParameter() 604 SourceLocation EllipsisLoc; in ParseTemplateTemplateParameter() local 605 if (TryConsumeToken(tok::ellipsis, EllipsisLoc)) in ParseTemplateTemplateParameter() 606 Diag(EllipsisLoc, in ParseTemplateTemplateParameter() [all …]
|
D | ParseDecl.cpp | 2430 SourceLocation &EllipsisLoc) { in ParseAlignArgument() argument 2442 TryConsumeToken(tok::ellipsis, EllipsisLoc); in ParseAlignArgument() 2467 SourceLocation EllipsisLoc; in ParseAlignmentSpecifier() local 2468 ExprResult ArgExpr = ParseAlignArgument(T.getOpenLocation(), EllipsisLoc); in ParseAlignmentSpecifier() 2481 AttributeList::AS_Keyword, EllipsisLoc); in ParseAlignmentSpecifier() 5142 SourceLocation EllipsisLoc = ConsumeToken(); in ParseDirectDeclarator() local 5147 if (EllipsisLoc.isValid()) in ParseDirectDeclarator() 5148 DiagnoseMisplacedEllipsisInDeclarator(EllipsisLoc, D); in ParseDirectDeclarator() 5151 D.setEllipsisLoc(EllipsisLoc); in ParseDirectDeclarator() 5408 SourceLocation EllipsisLoc = D.getEllipsisLoc(); in ParseParenDeclarator() local [all …]
|
D | ParseInit.cpp | 335 SourceLocation EllipsisLoc = ConsumeToken(); in ParseInitializerWithPotentialDesignator() local 344 StartLoc, EllipsisLoc)); in ParseInitializerWithPotentialDesignator()
|
D | ParseDeclCXX.cpp | 1915 SourceLocation EllipsisLoc; in ParseBaseSpecifier() local 1916 TryConsumeToken(tok::ellipsis, EllipsisLoc); in ParseBaseSpecifier() 1925 EllipsisLoc); in ParseBaseSpecifier() 3280 SourceLocation EllipsisLoc; in ParseMemInitializer() local 3281 TryConsumeToken(tok::ellipsis, EllipsisLoc); in ParseMemInitializer() 3285 InitList.get(), EllipsisLoc); in ParseMemInitializer() 3300 SourceLocation EllipsisLoc; in ParseMemInitializer() local 3301 TryConsumeToken(tok::ellipsis, EllipsisLoc); in ParseMemInitializer() 3306 T.getCloseLocation(), EllipsisLoc); in ParseMemInitializer() 3469 SourceLocation EllipsisLoc = ConsumeToken(); in ParseDynamicExceptionSpecification() local [all …]
|
D | ParseExprCXX.cpp | 847 SourceLocation EllipsisLoc; in ParseLambdaIntroducer() local 958 TryConsumeToken(tok::ellipsis, EllipsisLoc); in ParseLambdaIntroducer() 1009 Intro.addCapture(Kind, Loc, Id, EllipsisLoc, InitKind, Init, in ParseLambdaIntroducer() 1081 SourceLocation EllipsisLoc; in ParseLambdaExpressionAfterIntroducer() local 1085 ParseParameterDeclarationClause(D, Attr, ParamInfo, EllipsisLoc); in ParseLambdaExpressionAfterIntroducer() 1146 EllipsisLoc, RParenLoc, in ParseLambdaExpressionAfterIntroducer()
|
D | ParseExpr.cpp | 1786 SourceLocation EllipsisLoc = ConsumeToken(); in ParseUnaryExprOrTypeTraitExpression() local 1808 LParenLoc = PP.getLocForEndOfToken(EllipsisLoc); in ParseUnaryExprOrTypeTraitExpression() 2556 SourceLocation EllipsisLoc = ConsumeToken(); in ParseFoldExpression() local 2576 Diag(EllipsisLoc, getLangOpts().CPlusPlus1z in ParseFoldExpression() 2582 EllipsisLoc, RHS.get(), T.getCloseLocation()); in ParseFoldExpression()
|
/external/clang/include/clang/AST/ |
D | LambdaCapture.h | 41 SourceLocation EllipsisLoc; variable 64 SourceLocation EllipsisLoc = SourceLocation()); 116 bool isPackExpansion() const { return EllipsisLoc.isValid(); } in isPackExpansion() 122 return EllipsisLoc; in getEllipsisLoc()
|
D | TemplateBase.h | 370 unsigned EllipsisLoc; member 388 SourceLocation EllipsisLoc) in TemplateArgumentLocInfo() 393 Template.EllipsisLoc = EllipsisLoc.getRawEncoding(); in TemplateArgumentLocInfo() 414 return SourceLocation::getFromRawEncoding(Template.EllipsisLoc); in getTemplateEllipsisLoc() 445 SourceLocation EllipsisLoc = SourceLocation()) 446 : Argument(Argument), LocInfo(QualifierLoc, TemplateNameLoc, EllipsisLoc) { in Argument()
|
D | DeclCXX.h | 165 SourceLocation EllipsisLoc; variable 196 TypeSourceInfo *TInfo, SourceLocation EllipsisLoc) in CXXBaseSpecifier() argument 197 : Range(R), EllipsisLoc(EllipsisLoc), Virtual(V), BaseOfClass(BC), in CXXBaseSpecifier() 213 bool isPackExpansion() const { return EllipsisLoc.isValid(); } in isPackExpansion() 225 return EllipsisLoc; in getEllipsisLoc() 1943 SourceLocation EllipsisLoc);
|
D | ExprObjC.h | 217 SourceLocation EllipsisLoc; member 224 bool isPackExpansion() const { return EllipsisLoc.isValid(); } in isPackExpansion() 249 SourceLocation EllipsisLoc; 324 Result.EllipsisLoc = Expansion.EllipsisLoc;
|
D | ExprCXX.h | 3539 SourceLocation EllipsisLoc; variable 3554 PackExpansionExpr(QualType T, Expr *Pattern, SourceLocation EllipsisLoc, in PackExpansionExpr() argument 3560 EllipsisLoc(EllipsisLoc), in PackExpansionExpr() 3574 SourceLocation getEllipsisLoc() const { return EllipsisLoc; } in getEllipsisLoc() 3588 SourceLocation getLocEnd() const LLVM_READONLY { return EllipsisLoc; } in getLocEnd() 4019 SourceLocation EllipsisLoc; variable 4028 BinaryOperatorKind Opcode, SourceLocation EllipsisLoc, Expr *RHS, in CXXFoldExpr() argument 4033 LParenLoc(LParenLoc), EllipsisLoc(EllipsisLoc), RParenLoc(RParenLoc), in CXXFoldExpr() 4054 SourceLocation getEllipsisLoc() const { return EllipsisLoc; } in getEllipsisLoc()
|
D | TypeLoc.h | 1949 SourceLocation EllipsisLoc; member 1957 return this->getLocalData()->EllipsisLoc; in getEllipsisLoc() 1961 this->getLocalData()->EllipsisLoc = Loc; 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 | 61 SS(SS), Loc(TemplateLoc), EllipsisLoc() { } in ParsedTemplateArgument() 103 return EllipsisLoc; in getEllipsisLoc() 111 SourceLocation EllipsisLoc) const; 130 SourceLocation EllipsisLoc; variable
|
D | ScopeInfo.h | 424 SourceLocation EllipsisLoc; variable 432 SourceLocation Loc, SourceLocation EllipsisLoc, in Capture() argument 437 Loc(Loc), EllipsisLoc(EllipsisLoc), CaptureType(CaptureType) {} in Capture() 444 Loc(Loc), EllipsisLoc(), CaptureType(CaptureType) {} in Capture() 477 SourceLocation getEllipsisLoc() const { return EllipsisLoc; } in getEllipsisLoc() 514 SourceLocation Loc, SourceLocation EllipsisLoc, in addCapture() argument 517 EllipsisLoc, CaptureType, Cpy)); in addCapture()
|
D | AttributeList.h | 95 SourceLocation EllipsisLoc; variable 220 ScopeLoc(scopeLoc), EllipsisLoc(ellipsisLoc), NumArgs(numArgs), in AttributeList() 238 ScopeLoc(scopeLoc), EllipsisLoc(), NumArgs(1), SyntaxUsed(syntaxUsed), in AttributeList() 259 ScopeLoc(scopeLoc), EllipsisLoc(), NumArgs(3), SyntaxUsed(syntaxUsed), in AttributeList() 277 ScopeLoc(scopeLoc), EllipsisLoc(), NumArgs(1), SyntaxUsed(syntaxUsed), in AttributeList() 295 ScopeLoc(scopeLoc), EllipsisLoc(), NumArgs(0), SyntaxUsed(syntaxUsed), in AttributeList() 309 ScopeLoc(scopeLoc), EllipsisLoc(), NumArgs(0), SyntaxUsed(syntaxUsed), in AttributeList() 367 bool isPackExpansion() const { return EllipsisLoc.isValid(); } in isPackExpansion() 368 SourceLocation getEllipsisLoc() const { return EllipsisLoc; } in getEllipsisLoc()
|
D | DeclSpec.h | 1217 unsigned EllipsisLoc; member 1318 return SourceLocation::getFromRawEncoding(EllipsisLoc); in getEllipsisLoc() 1496 SourceLocation EllipsisLoc, 1663 SourceLocation EllipsisLoc; variable 1756 EllipsisLoc = SourceLocation(); in clear() 2181 bool hasEllipsis() const { return EllipsisLoc.isValid(); } in hasEllipsis() 2182 SourceLocation getEllipsisLoc() const { return EllipsisLoc; } in getEllipsisLoc() 2183 void setEllipsisLoc(SourceLocation EL) { EllipsisLoc = EL; } in setEllipsisLoc() 2278 SourceLocation EllipsisLoc; member 2283 IdentifierInfo *Id, SourceLocation EllipsisLoc, in LambdaCapture() [all …]
|
D | Sema.h | 3633 SourceLocation EllipsisLoc, bool BuildAndDiagnose, 3641 SourceLocation EllipsisLoc = SourceLocation()); 4556 SourceLocation EllipsisLoc, Expr *RHS, 4560 SourceLocation EllipsisLoc, Expr *RHS, 4562 ExprResult BuildEmptyCXXFoldExpr(SourceLocation EllipsisLoc, 5193 SourceLocation EllipsisLoc); 5203 SourceLocation EllipsisLoc); 5213 SourceLocation EllipsisLoc); 5223 SourceLocation EllipsisLoc); 5360 SourceLocation EllipsisLoc); [all …]
|
/external/clang/lib/AST/ |
D | ExprObjC.cpp | 72 if (VK[I].EllipsisLoc.isInvalid() && in ObjCDictionaryLiteral() 80 Expansions[I].EllipsisLoc = VK[I].EllipsisLoc; in ObjCDictionaryLiteral()
|
/external/clang/include/clang/Parse/ |
D | Parser.h | 2230 SourceLocation &EllipsisLoc); 2317 SourceLocation &EllipsisLoc); 2523 void DiagnoseMisplacedEllipsis(SourceLocation EllipsisLoc, 2527 void DiagnoseMisplacedEllipsisInDeclarator(SourceLocation EllipsisLoc,
|