Home | History | Annotate | Download | only in Parse

Lines Matching refs:endLoc

761   SourceLocation EndLoc;
765 EndLoc = Tok.getAnnotationEndLoc();
769 return EndLoc;
809 EndLoc = ConsumeParen();
815 EndLoc = ConsumeAnyToken();
818 EndLoc = Tok.getLocation();
821 return EndLoc;
841 EndLoc = T.getCloseLocation();
857 return EndLoc;
862 SourceLocation EndLoc) {
874 Tok.setAnnotationEndLoc(EndLoc);
2976 SourceLocation EndLoc;
2977 if (TryConsumeToken(tok::colon, EndLoc)) {
2978 } else if (TryConsumeToken(tok::semi, EndLoc)) {
2979 Diag(EndLoc, diag::err_expected)
2980 << tok::colon << FixItHint::CreateReplacement(EndLoc, ":");
2982 EndLoc = ASLoc.getLocWithOffset(TokLength);
2983 Diag(EndLoc, diag::err_expected)
2984 << tok::colon << FixItHint::CreateInsertion(EndLoc, ":");
2994 if (Actions.ActOnAccessSpecifier(AS, ASLoc, EndLoc,
3577 SourceLocation *EndLoc,
3596 ParseGNUAttributeArgs(AttrName, AttrNameLoc, Attrs, EndLoc, ScopeName,
3600 ParseAttributeArgsCommon(AttrName, AttrNameLoc, Attrs, EndLoc,
3619 << FixItHint::CreateRemoval(SourceRange(LParenLoc, *EndLoc));
3651 SourceLocation *endLoc) {
3654 ParseAlignmentSpecifier(attrs, endLoc);
3704 AttrParsed = ParseCXX11AttributeArgs(AttrName, AttrLoc, attrs, endLoc,
3720 if (endLoc)
3721 *endLoc = Tok.getLocation();
3731 SourceLocation *endLoc) {
3735 if (!endLoc)
3736 endLoc = &Loc;
3739 ParseCXX11AttributeSpecifier(attrs, endLoc);
3742 attrs.Range = SourceRange(StartLoc, *endLoc);
3748 SourceLocation EndLoc = SkipCXX11Attributes();
3750 if (EndLoc.isValid()) {
3751 SourceRange Range(StartLoc, EndLoc);
3758 SourceLocation EndLoc;
3761 return EndLoc;
3768 EndLoc = T.getCloseLocation();
3775 EndLoc = T.getCloseLocation();
3779 return EndLoc;
3791 SourceLocation *endLoc) {
3798 if (endLoc) *endLoc = Tok.getLocation();