Lines Matching refs:EndLoc

91                                      SourceLocation EndLoc) {  in FindLocsWithCommonFileID()  argument
92 if (!StartLoc.isMacroID() || !EndLoc.isMacroID()) in FindLocsWithCommonFileID()
96 if (SM.getFileID(StartLoc) != SM.getFileID(EndLoc)) in FindLocsWithCommonFileID()
102 Lexer::isAtEndOfMacroExpansion(EndLoc, SM, PP.getLangOpts()); in FindLocsWithCommonFileID()
166 SourceLocation *EndLoc, in ParseGNUAttributes() argument
172 if (!EndLoc) in ParseGNUAttributes()
173 EndLoc = &Loc; in ParseGNUAttributes()
212 ParseGNUAttributeArgs(AttrName, AttrNameLoc, Attrs, EndLoc, nullptr, in ParseGNUAttributes()
245 if (EndLoc) in ParseGNUAttributes()
246 *EndLoc = Loc; in ParseGNUAttributes()
268 Attrs.Range = SourceRange(StartLoc, *EndLoc); in ParseGNUAttributes()
329 SourceLocation *EndLoc, in ParseAttributeWithTypeArg() argument
357 ParsedAttributes &Attrs, SourceLocation *EndLoc, IdentifierInfo *ScopeName, in ParseAttributeArgsCommon() argument
446 if (EndLoc) in ParseAttributeArgsCommon()
447 *EndLoc = RParen; in ParseAttributeArgsCommon()
457 SourceLocation *EndLoc, in ParseGNUAttributeArgs() argument
469 ParseAvailabilityAttribute(*AttrName, AttrNameLoc, Attrs, EndLoc, ScopeName, in ParseGNUAttributeArgs()
473 ParseExternalSourceSymbolAttribute(*AttrName, AttrNameLoc, Attrs, EndLoc, in ParseGNUAttributeArgs()
477 ParseObjCBridgeRelatedAttribute(*AttrName, AttrNameLoc, Attrs, EndLoc, in ParseGNUAttributeArgs()
481 ParseSwiftNewTypeAttribute(*AttrName, AttrNameLoc, Attrs, EndLoc, ScopeName, in ParseGNUAttributeArgs()
485 ParseTypeTagForDatatypeAttribute(*AttrName, AttrNameLoc, Attrs, EndLoc, in ParseGNUAttributeArgs()
489 ParseAttributeWithTypeArg(*AttrName, AttrNameLoc, Attrs, EndLoc, ScopeName, in ParseGNUAttributeArgs()
509 ParseAttributeArgsCommon(AttrName, AttrNameLoc, Attrs, EndLoc, ScopeName, in ParseGNUAttributeArgs()
515 ParsedAttributes &Attrs, SourceLocation *EndLoc, IdentifierInfo *ScopeName, in ParseClangAttributeArgs() argument
524 return ParseAttributeArgsCommon(AttrName, AttrNameLoc, Attrs, EndLoc, in ParseClangAttributeArgs()
527 ParseExternalSourceSymbolAttribute(*AttrName, AttrNameLoc, Attrs, EndLoc, in ParseClangAttributeArgs()
531 ParseAvailabilityAttribute(*AttrName, AttrNameLoc, Attrs, EndLoc, ScopeName, in ParseClangAttributeArgs()
535 ParseObjCBridgeRelatedAttribute(*AttrName, AttrNameLoc, Attrs, EndLoc, in ParseClangAttributeArgs()
539 ParseSwiftNewTypeAttribute(*AttrName, AttrNameLoc, Attrs, EndLoc, ScopeName, in ParseClangAttributeArgs()
543 ParseTypeTagForDatatypeAttribute(*AttrName, AttrNameLoc, Attrs, EndLoc, in ParseClangAttributeArgs()
793 SourceLocation EndLoc = SkipExtendedMicrosoftTypeAttributes(); in DiagnoseAndSkipExtendedMicrosoftTypeAttributes() local
795 if (EndLoc.isValid()) { in DiagnoseAndSkipExtendedMicrosoftTypeAttributes()
796 SourceRange Range(StartLoc, EndLoc); in DiagnoseAndSkipExtendedMicrosoftTypeAttributes()
802 SourceLocation EndLoc; in SkipExtendedMicrosoftTypeAttributes() local
819 EndLoc = ConsumeToken(); in SkipExtendedMicrosoftTypeAttributes()
822 return EndLoc; in SkipExtendedMicrosoftTypeAttributes()
1262 ParsedAttributes &Attrs, SourceLocation *EndLoc, IdentifierInfo *ScopeName, in ParseExternalSourceSymbolAttribute() argument
1351 if (EndLoc) in ParseExternalSourceSymbolAttribute()
1352 *EndLoc = T.getCloseLocation(); in ParseExternalSourceSymbolAttribute()
1449 ParsedAttributes &Attrs, SourceLocation *EndLoc, IdentifierInfo *ScopeName, in ParseSwiftNewTypeAttribute() argument
1480 if (EndLoc) in ParseSwiftNewTypeAttribute()
1481 *EndLoc = T.getCloseLocation(); in ParseSwiftNewTypeAttribute()
1492 SourceLocation *EndLoc, in ParseTypeTagForDatatypeAttribute() argument
1547 if (EndLoc) in ParseTypeTagForDatatypeAttribute()
1548 *EndLoc = T.getCloseLocation(); in ParseTypeTagForDatatypeAttribute()
1577 SourceLocation EndLoc = ConsumeBracket(); in DiagnoseProhibitedCXX11Attribute() local
1579 << SourceRange(BeginLoc, EndLoc); in DiagnoseProhibitedCXX11Attribute()
2835 SourceLocation *EndLoc) { in ParseAlignmentSpecifier() argument
2854 if (EndLoc) in ParseAlignmentSpecifier()
2855 *EndLoc = T.getCloseLocation(); in ParseAlignmentSpecifier()
4100 SourceLocation EndLoc; in ParseDeclarationSpecifiers() local
4101 TypeResult Type = parseObjCProtocolQualifierType(EndLoc); in ParseDeclarationSpecifiers()
4108 DS.SetRangeEnd(EndLoc); in ParseDeclarationSpecifiers()
5500 SourceLocation EndLoc; in ParseTypeQualifierListOpt() local
5623 if (EndLoc.isValid()) in ParseTypeQualifierListOpt()
5624 DS.SetRangeEnd(EndLoc); in ParseTypeQualifierListOpt()
5633 EndLoc = ConsumeToken(); in ParseTypeQualifierListOpt()
6272 SourceLocation EndLoc = getEndOfPreviousToken(); in ParseDecompositionDeclarator() local
6273 Diag(EndLoc, diag::err_expected) in ParseDecompositionDeclarator()
6274 << tok::comma << FixItHint::CreateInsertion(EndLoc, ","); in ParseDecompositionDeclarator()
6519 SourceLocation StartLoc, LocalEndLoc, EndLoc; in ParseFunctionDeclarator() local
6533 EndLoc = RParenLoc; in ParseFunctionDeclarator()
6553 EndLoc = RParenLoc; in ParseFunctionDeclarator()
6568 EndLoc = DS.getSourceRange().getEnd(); in ParseFunctionDeclarator()
6573 EndLoc = RefQualifierLoc; in ParseFunctionDeclarator()
6609 EndLoc = ESpecRange.getEnd(); in ParseFunctionDeclarator()
6616 LocalEndLoc = EndLoc; in ParseFunctionDeclarator()
6626 EndLoc = Range.getEnd(); in ParseFunctionDeclarator()
6660 std::move(FnAttrs), EndLoc); in ParseFunctionDeclarator()
7179 SourceLocation EndLoc = PP.getLocForEndOfToken(D.getEndLoc()); in ParseMisplacedBracketDeclarator() local
7180 D.AddTypeInfo(DeclaratorChunk::getParen(SuggestParenLoc, EndLoc), in ParseMisplacedBracketDeclarator()
7199 SourceLocation EndLoc = PP.getLocForEndOfToken(D.getEndLoc()); in ParseMisplacedBracketDeclarator() local
7202 Diag(EndLoc, diag::err_brackets_go_after_unqualified_id) in ParseMisplacedBracketDeclarator()
7205 << FixItHint::CreateInsertion(EndLoc, ")") in ParseMisplacedBracketDeclarator()
7207 EndLoc, CharSourceRange(BracketRange, true)) in ParseMisplacedBracketDeclarator()
7210 Diag(EndLoc, diag::err_brackets_go_after_unqualified_id) in ParseMisplacedBracketDeclarator()
7213 EndLoc, CharSourceRange(BracketRange, true)) in ParseMisplacedBracketDeclarator()