Home | History | Annotate | Download | only in Parse

Lines Matching refs:endLoc

742   SourceLocation EndLoc;
746 EndLoc = Tok.getAnnotationEndLoc();
750 return EndLoc;
787 EndLoc = ConsumeParen();
793 EndLoc = ConsumeAnyToken();
796 EndLoc = Tok.getLocation();
799 return EndLoc;
819 EndLoc = T.getCloseLocation();
835 return EndLoc;
840 SourceLocation EndLoc) {
852 Tok.setAnnotationEndLoc(EndLoc);
2679 SourceLocation EndLoc;
2680 if (TryConsumeToken(tok::colon, EndLoc)) {
2681 } else if (TryConsumeToken(tok::semi, EndLoc)) {
2682 Diag(EndLoc, diag::err_expected)
2683 << tok::colon << FixItHint::CreateReplacement(EndLoc, ":");
2685 EndLoc = ASLoc.getLocWithOffset(TokLength);
2686 Diag(EndLoc, diag::err_expected)
2687 << tok::colon << FixItHint::CreateInsertion(EndLoc, ":");
2697 if (Actions.ActOnAccessSpecifier(AS, ASLoc, EndLoc,
3232 SourceLocation *EndLoc,
3251 ParseGNUAttributeArgs(AttrName, AttrNameLoc, Attrs, EndLoc, ScopeName,
3255 ParseAttributeArgsCommon(AttrName, AttrNameLoc, Attrs, EndLoc,
3308 SourceLocation *endLoc) {
3311 ParseAlignmentSpecifier(attrs, endLoc);
3361 AttrParsed = ParseCXX11AttributeArgs(AttrName, AttrLoc, attrs, endLoc,
3377 if (endLoc)
3378 *endLoc = Tok.getLocation();
3388 SourceLocation *endLoc) {
3392 if (!endLoc)
3393 endLoc = &Loc;
3396 ParseCXX11AttributeSpecifier(attrs, endLoc);
3399 attrs.Range = SourceRange(StartLoc, *endLoc);
3405 SourceLocation EndLoc = SkipCXX11Attributes();
3407 if (EndLoc.isValid()) {
3408 SourceRange Range(StartLoc, EndLoc);
3415 SourceLocation EndLoc;
3418 return EndLoc;
3425 EndLoc = T.getCloseLocation();
3432 EndLoc = T.getCloseLocation();
3436 return EndLoc;
3448 SourceLocation *endLoc) {
3455 if (endLoc) *endLoc = Tok.getLocation();