Lines Matching refs:EndLoc

761   SourceLocation EndLoc;  in ParseDecltypeSpecifier()  local
765 EndLoc = Tok.getAnnotationEndLoc(); in ParseDecltypeSpecifier()
769 return EndLoc; in ParseDecltypeSpecifier()
809 EndLoc = ConsumeParen(); in ParseDecltypeSpecifier()
815 EndLoc = ConsumeAnyToken(); in ParseDecltypeSpecifier()
818 EndLoc = Tok.getLocation(); in ParseDecltypeSpecifier()
821 return EndLoc; in ParseDecltypeSpecifier()
841 EndLoc = T.getCloseLocation(); in ParseDecltypeSpecifier()
857 return EndLoc; in ParseDecltypeSpecifier()
862 SourceLocation EndLoc) { in AnnotateExistingDecltypeSpecifier() argument
874 Tok.setAnnotationEndLoc(EndLoc); in AnnotateExistingDecltypeSpecifier()
2976 SourceLocation EndLoc; in ParseCXXMemberSpecification() local
2977 if (TryConsumeToken(tok::colon, EndLoc)) { in ParseCXXMemberSpecification()
2978 } else if (TryConsumeToken(tok::semi, EndLoc)) { in ParseCXXMemberSpecification()
2979 Diag(EndLoc, diag::err_expected) in ParseCXXMemberSpecification()
2980 << tok::colon << FixItHint::CreateReplacement(EndLoc, ":"); in ParseCXXMemberSpecification()
2982 EndLoc = ASLoc.getLocWithOffset(TokLength); in ParseCXXMemberSpecification()
2983 Diag(EndLoc, diag::err_expected) in ParseCXXMemberSpecification()
2984 << tok::colon << FixItHint::CreateInsertion(EndLoc, ":"); in ParseCXXMemberSpecification()
2994 if (Actions.ActOnAccessSpecifier(AS, ASLoc, EndLoc, in ParseCXXMemberSpecification()
3577 SourceLocation *EndLoc, in ParseCXX11AttributeArgs() argument
3596 ParseGNUAttributeArgs(AttrName, AttrNameLoc, Attrs, EndLoc, ScopeName, in ParseCXX11AttributeArgs()
3600 ParseAttributeArgsCommon(AttrName, AttrNameLoc, Attrs, EndLoc, in ParseCXX11AttributeArgs()
3619 << FixItHint::CreateRemoval(SourceRange(LParenLoc, *EndLoc)); in ParseCXX11AttributeArgs()
3748 SourceLocation EndLoc = SkipCXX11Attributes(); in DiagnoseAndSkipCXX11Attributes() local
3750 if (EndLoc.isValid()) { in DiagnoseAndSkipCXX11Attributes()
3751 SourceRange Range(StartLoc, EndLoc); in DiagnoseAndSkipCXX11Attributes()
3758 SourceLocation EndLoc; in SkipCXX11Attributes() local
3761 return EndLoc; in SkipCXX11Attributes()
3768 EndLoc = T.getCloseLocation(); in SkipCXX11Attributes()
3775 EndLoc = T.getCloseLocation(); in SkipCXX11Attributes()
3779 return EndLoc; in SkipCXX11Attributes()