Lines Matching defs:EndLoc
769 SourceLocation EndLoc;
773 EndLoc = Tok.getAnnotationEndLoc();
777 return EndLoc;
817 EndLoc = ConsumeParen();
823 EndLoc = ConsumeAnyToken();
826 EndLoc = Tok.getLocation();
829 return EndLoc;
849 EndLoc = T.getCloseLocation();
865 return EndLoc;
870 SourceLocation EndLoc) {
882 Tok.setAnnotationEndLoc(EndLoc);
2883 SourceLocation EndLoc;
2884 if (TryConsumeToken(tok::colon, EndLoc)) {
2885 } else if (TryConsumeToken(tok::semi, EndLoc)) {
2886 Diag(EndLoc, diag::err_expected)
2887 << tok::colon << FixItHint::CreateReplacement(EndLoc, ":");
2889 EndLoc = ASLoc.getLocWithOffset(TokLength);
2890 Diag(EndLoc, diag::err_expected)
2891 << tok::colon << FixItHint::CreateInsertion(EndLoc, ":");
2900 if (Actions.ActOnAccessSpecifier(NewAS, ASLoc, EndLoc,
3655 SourceLocation *EndLoc,
3674 ParseGNUAttributeArgs(AttrName, AttrNameLoc, Attrs, EndLoc, ScopeName,
3678 ParseAttributeArgsCommon(AttrName, AttrNameLoc, Attrs, EndLoc,
3697 << FixItHint::CreateRemoval(SourceRange(LParenLoc, *EndLoc));
3729 SourceLocation *endLoc) {
3732 ParseAlignmentSpecifier(attrs, endLoc);
3782 AttrParsed = ParseCXX11AttributeArgs(AttrName, AttrLoc, attrs, endLoc,
3798 if (endLoc)
3799 *endLoc = Tok.getLocation();
3809 SourceLocation *endLoc) {
3813 if (!endLoc)
3814 endLoc = &Loc;
3817 ParseCXX11AttributeSpecifier(attrs, endLoc);
3820 attrs.Range = SourceRange(StartLoc, *endLoc);
3826 SourceLocation EndLoc = SkipCXX11Attributes();
3828 if (EndLoc.isValid()) {
3829 SourceRange Range(StartLoc, EndLoc);
3836 SourceLocation EndLoc;
3839 return EndLoc;
3846 EndLoc = T.getCloseLocation();
3853 EndLoc = T.getCloseLocation();
3857 return EndLoc;
3869 SourceLocation *endLoc) {
3878 if (endLoc)
3879 *endLoc = T.getCloseLocation();