Lines Matching refs:EndLoc
90 SourceLocation EndLoc = PP.getLocForEndOfToken(ParenRange.getEnd()); in SuggestParentheses() local
91 if (!ParenRange.getEnd().isFileID() || EndLoc.isInvalid()) { in SuggestParentheses()
100 << FixItHint::CreateInsertion(EndLoc, ")"); in SuggestParentheses()
138 SourceLocation EndLoc = PP.getLocForEndOfToken(PrevTokLocation); in ExpectAndConsume() local
140 if (EndLoc.isValid()) in ExpectAndConsume()
145 ? Diag(EndLoc, DiagID) << FixItHint::CreateInsertion(EndLoc, Spelling) in ExpectAndConsume()
184 SourceLocation EndLoc = Tok.getLocation(); in ConsumeExtraSemi() local
189 EndLoc = Tok.getLocation(); in ConsumeExtraSemi()
198 << FixItHint::CreateRemoval(SourceRange(StartLoc, EndLoc)); in ConsumeExtraSemi()
201 << FixItHint::CreateRemoval(SourceRange(StartLoc, EndLoc)); in ConsumeExtraSemi()
209 << FixItHint::CreateRemoval(SourceRange(StartLoc, EndLoc)); in ConsumeExtraSemi()
213 << FixItHint::CreateRemoval(SourceRange(StartLoc, EndLoc)); in ConsumeExtraSemi()
671 SourceLocation EndLoc; in ParseExternalDeclaration() local
672 ExprResult Result(ParseSimpleAsm(&EndLoc)); in ParseExternalDeclaration()
679 SingleDecl = Actions.ActOnFileScopeAsmDecl(Result.get(), StartLoc, EndLoc); in ParseExternalDeclaration()
1252 ExprResult Parser::ParseSimpleAsm(SourceLocation *EndLoc) { in ParseSimpleAsm() argument
1277 if (EndLoc) in ParseSimpleAsm()
1278 *EndLoc = T.getCloseLocation(); in ParseSimpleAsm()
1280 if (EndLoc) in ParseSimpleAsm()
1281 *EndLoc = Tok.getLocation(); in ParseSimpleAsm()
1558 SourceLocation EndLoc = Tok.getLastLoc(); in TryAnnotateTypeOrScopeToken() local
1561 Tok.setAnnotationEndLoc(EndLoc); in TryAnnotateTypeOrScopeToken()