Lines Matching defs:EndLoc
118 SourceLocation EndLoc) {
119 if (!StartLoc.isMacroID() || !EndLoc.isMacroID())
123 if (SM.getFileID(StartLoc) != SM.getFileID(EndLoc))
129 Lexer::isAtEndOfMacroExpansion(EndLoc, SM, PP.getLangOpts());
195 SourceLocation EndLoc = StartLoc;
258 ParseGNUAttributeArgs(AttrName, AttrNameLoc, Attrs, &EndLoc, nullptr,
291 EndLoc = Loc;
313 Attrs.Range = SourceRange(StartLoc, EndLoc);
521 ParsedAttributes &Attrs, SourceLocation *EndLoc, IdentifierInfo *ScopeName,
661 if (EndLoc)
662 *EndLoc = RParen;
671 ParsedAttributes &Attrs, SourceLocation *EndLoc, IdentifierInfo *ScopeName,
680 ParseAvailabilityAttribute(*AttrName, AttrNameLoc, Attrs, EndLoc, ScopeName,
684 ParseExternalSourceSymbolAttribute(*AttrName, AttrNameLoc, Attrs, EndLoc,
688 ParseObjCBridgeRelatedAttribute(*AttrName, AttrNameLoc, Attrs, EndLoc,
692 ParseSwiftNewTypeAttribute(*AttrName, AttrNameLoc, Attrs, EndLoc, ScopeName,
696 ParseTypeTagForDatatypeAttribute(*AttrName, AttrNameLoc, Attrs, EndLoc,
711 ParseCXXAssumeAttributeArg(Attrs, AttrName, AttrNameLoc, EndLoc, Form);
730 ParseAttributeArgsCommon(AttrName, AttrNameLoc, Attrs, EndLoc, ScopeName,
736 ParsedAttributes &Attrs, SourceLocation *EndLoc, IdentifierInfo *ScopeName,
745 return ParseAttributeArgsCommon(AttrName, AttrNameLoc, Attrs, EndLoc,
748 ParseExternalSourceSymbolAttribute(*AttrName, AttrNameLoc, Attrs, EndLoc,
752 ParseAvailabilityAttribute(*AttrName, AttrNameLoc, Attrs, EndLoc, ScopeName,
756 ParseObjCBridgeRelatedAttribute(*AttrName, AttrNameLoc, Attrs, EndLoc,
760 ParseSwiftNewTypeAttribute(*AttrName, AttrNameLoc, Attrs, EndLoc, ScopeName,
764 ParseTypeTagForDatatypeAttribute(*AttrName, AttrNameLoc, Attrs, EndLoc,
769 ParseCXXAssumeAttributeArg(Attrs, AttrName, AttrNameLoc, EndLoc, Form);
930 SourceLocation EndLoc = StartLoc;
995 EndLoc = T.getCloseLocation();
998 Attrs.Range = SourceRange(StartLoc, EndLoc);
1047 SourceLocation EndLoc = SkipExtendedMicrosoftTypeAttributes();
1049 if (EndLoc.isValid()) {
1050 SourceRange Range(StartLoc, EndLoc);
1056 SourceLocation EndLoc;
1073 EndLoc = ConsumeToken();
1076 return EndLoc;
1540 ParsedAttributes &Attrs, SourceLocation *EndLoc, IdentifierInfo *ScopeName,
1647 if (EndLoc)
1648 *EndLoc = T.getCloseLocation();
1669 ParsedAttributes &Attrs, SourceLocation *EndLoc, IdentifierInfo *ScopeName,
1726 if (EndLoc)
1727 *EndLoc = T.getCloseLocation();
1738 ParsedAttributes &Attrs, SourceLocation *EndLoc, IdentifierInfo *ScopeName,
1769 if (EndLoc)
1770 *EndLoc = T.getCloseLocation();
1779 ParsedAttributes &Attrs, SourceLocation *EndLoc, IdentifierInfo *ScopeName,
1832 if (EndLoc)
1833 *EndLoc = T.getCloseLocation();
1862 SourceLocation EndLoc = ConsumeBracket();
1864 << SourceRange(BeginLoc, EndLoc);
3318 SourceLocation *EndLoc) {
3342 if (EndLoc)
3343 *EndLoc = T.getCloseLocation();
4804 SourceLocation EndLoc;
4805 TypeResult Type = parseObjCProtocolQualifierType(EndLoc);
4812 DS.SetRangeEnd(EndLoc);
6417 SourceLocation EndLoc;
6553 if (EndLoc.isValid())
6554 DS.SetRangeEnd(EndLoc);
6563 EndLoc = ConsumeToken();
7260 SourceLocation EndLoc = getEndOfPreviousToken();
7261 Diag(EndLoc, diag::err_expected)
7262 << tok::comma << FixItHint::CreateInsertion(EndLoc, ",");
7522 EndLoc is the end location for the function declarator.
7524 SourceLocation StartLoc, LocalEndLoc, EndLoc;
7538 EndLoc = RParenLoc;
7560 EndLoc = RParenLoc;
7575 EndLoc = DS.getSourceRange().getEnd();
7580 EndLoc = RefQualifierLoc;
7624 EndLoc = ESpecRange.getEnd();
7631 LocalEndLoc = EndLoc;
7641 EndLoc = Range.getEnd();
7683 std::move(FnAttrs), EndLoc);
8263 SourceLocation EndLoc = PP.getLocForEndOfToken(D.getEndLoc());
8264 D.AddTypeInfo(DeclaratorChunk::getParen(SuggestParenLoc, EndLoc),
8283 SourceLocation EndLoc = PP.getLocForEndOfToken(D.getEndLoc());
8286 Diag(EndLoc, diag::err_brackets_go_after_unqualified_id)
8289 << FixItHint::CreateInsertion(EndLoc, ")")
8291 EndLoc, CharSourceRange(BracketRange, true))
8294 Diag(EndLoc, diag::err_brackets_go_after_unqualified_id)
8297 EndLoc, CharSourceRange(BracketRange, true))