Lines Matching refs:EndLoc
1126 SourceLocation EndLoc; in ParseDecltypeSpecifier() local
1130 EndLoc = Tok.getAnnotationEndLoc(); in ParseDecltypeSpecifier()
1133 DS.setTypeArgumentRange(SourceRange(SourceLocation(), EndLoc)); in ParseDecltypeSpecifier()
1137 return EndLoc; in ParseDecltypeSpecifier()
1177 EndLoc = ConsumeParen(); in ParseDecltypeSpecifier()
1183 EndLoc = ConsumeAnyToken(); in ParseDecltypeSpecifier()
1186 EndLoc = Tok.getLocation(); in ParseDecltypeSpecifier()
1189 return EndLoc; in ParseDecltypeSpecifier()
1210 EndLoc = T.getCloseLocation(); in ParseDecltypeSpecifier()
1225 return EndLoc; in ParseDecltypeSpecifier()
1230 SourceLocation EndLoc) { in AnnotateExistingDecltypeSpecifier() argument
1239 EndLoc = PP.getLastCachedTokenLocation(); in AnnotateExistingDecltypeSpecifier()
1249 Tok.setAnnotationEndLoc(EndLoc); in AnnotateExistingDecltypeSpecifier()
1267 SourceLocation EndLoc; in ParsePackIndexingType() local
1269 EndLoc = Tok.getAnnotationEndLoc(); in ParsePackIndexingType()
1272 DS.setTypeArgumentRange(SourceRange(SourceLocation(), EndLoc)); in ParsePackIndexingType()
1276 return EndLoc; in ParsePackIndexingType()
1280 return EndLoc; in ParsePackIndexingType()
1320 SourceLocation EndLoc) { in AnnotateExistingIndexedTypeNamePack() argument
1329 EndLoc = PP.getLastCachedTokenLocation(); in AnnotateExistingIndexedTypeNamePack()
1336 Tok.setAnnotationEndLoc(EndLoc); in AnnotateExistingIndexedTypeNamePack()
3591 SourceLocation EndLoc; in ParseCXXClassMemberDeclarationWithPragmas() local
3592 if (TryConsumeToken(tok::colon, EndLoc)) { in ParseCXXClassMemberDeclarationWithPragmas()
3593 } else if (TryConsumeToken(tok::semi, EndLoc)) { in ParseCXXClassMemberDeclarationWithPragmas()
3594 Diag(EndLoc, diag::err_expected) in ParseCXXClassMemberDeclarationWithPragmas()
3595 << tok::colon << FixItHint::CreateReplacement(EndLoc, ":"); in ParseCXXClassMemberDeclarationWithPragmas()
3597 EndLoc = ASLoc.getLocWithOffset(TokLength); in ParseCXXClassMemberDeclarationWithPragmas()
3598 Diag(EndLoc, diag::err_expected) in ParseCXXClassMemberDeclarationWithPragmas()
3599 << tok::colon << FixItHint::CreateInsertion(EndLoc, ":"); in ParseCXXClassMemberDeclarationWithPragmas()
3608 if (Actions.ActOnAccessSpecifier(NewAS, ASLoc, EndLoc, AccessAttrs)) { in ParseCXXClassMemberDeclarationWithPragmas()
4611 SourceLocation *EndLoc, in ParseCXXAssumeAttributeArg() argument
4657 if (EndLoc) in ParseCXXAssumeAttributeArg()
4658 *EndLoc = RParen; in ParseCXXAssumeAttributeArg()
4679 ParsedAttributes &Attrs, SourceLocation *EndLoc, IdentifierInfo *ScopeName, in ParseCXX11AttributeArgs() argument
4709 ParseGNUAttributeArgs(AttrName, AttrNameLoc, Attrs, EndLoc, ScopeName, in ParseCXX11AttributeArgs()
4731 NumArgs = ParseClangAttributeArgs(AttrName, AttrNameLoc, Attrs, EndLoc, in ParseCXX11AttributeArgs()
4735 if (ParseCXXAssumeAttributeArg(Attrs, AttrName, AttrNameLoc, EndLoc, Form)) in ParseCXX11AttributeArgs()
4739 NumArgs = ParseAttributeArgsCommon(AttrName, AttrNameLoc, Attrs, EndLoc, in ParseCXX11AttributeArgs()
4768 << FixItHint::CreateRemoval(SourceRange(LParenLoc, *EndLoc)); in ParseCXX11AttributeArgs()
4801 SourceLocation *EndLoc) { in ParseCXX11AttributeSpecifierInternal() argument
4809 ParseAlignmentSpecifier(Attrs, EndLoc); in ParseCXX11AttributeSpecifierInternal()
4823 ParseAttributeArgsCommon(AttrName, Loc, Attrs, EndLoc, in ParseCXX11AttributeSpecifierInternal()
4918 AttrParsed = ParseCXX11AttributeArgs(AttrName, AttrLoc, Attrs, EndLoc, in ParseCXX11AttributeSpecifierInternal()
4947 if (EndLoc) in ParseCXX11AttributeSpecifierInternal()
4948 *EndLoc = Tok.getLocation(); in ParseCXX11AttributeSpecifierInternal()
4959 SourceLocation EndLoc = StartLoc; in ParseCXX11Attributes() local
4962 ParseCXX11AttributeSpecifier(Attrs, &EndLoc); in ParseCXX11Attributes()
4965 Attrs.Range = SourceRange(StartLoc, EndLoc); in ParseCXX11Attributes()
4973 SourceLocation EndLoc = SkipCXX11Attributes(); in DiagnoseAndSkipCXX11Attributes() local
4975 if (EndLoc.isValid()) { in DiagnoseAndSkipCXX11Attributes()
4976 SourceRange Range(StartLoc, EndLoc); in DiagnoseAndSkipCXX11Attributes()
4984 SourceLocation EndLoc; in SkipCXX11Attributes() local
4987 return EndLoc; in SkipCXX11Attributes()
4994 EndLoc = T.getCloseLocation(); in SkipCXX11Attributes()
4997 EndLoc = Tok.getLocation(); in SkipCXX11Attributes()
5006 EndLoc = T.getCloseLocation(); in SkipCXX11Attributes()
5010 return EndLoc; in SkipCXX11Attributes()
5110 SourceLocation EndLoc = StartLoc; in ParseMicrosoftAttributes() local
5145 ParseCXX11AttributeArgs(II, NameLoc, Attrs, &EndLoc, nullptr, in ParseMicrosoftAttributes()
5158 EndLoc = T.getCloseLocation(); in ParseMicrosoftAttributes()
5161 Attrs.Range = SourceRange(StartLoc, EndLoc); in ParseMicrosoftAttributes()