Lines Matching refs:EndLoc
110 SourceLocation EndLoc = PP.getLocForEndOfToken(ParenRange.getEnd()); in SuggestParentheses() local
111 if (!ParenRange.getEnd().isFileID() || EndLoc.isInvalid()) { in SuggestParentheses()
120 << FixItHint::CreateInsertion(EndLoc, ")"); in SuggestParentheses()
158 SourceLocation EndLoc = PP.getLocForEndOfToken(PrevTokLocation); in ExpectAndConsume() local
160 if (EndLoc.isValid()) in ExpectAndConsume()
165 ? Diag(EndLoc, DiagID) << FixItHint::CreateInsertion(EndLoc, Spelling) in ExpectAndConsume()
204 SourceLocation EndLoc = Tok.getLocation(); in ConsumeExtraSemi() local
209 EndLoc = Tok.getLocation(); in ConsumeExtraSemi()
218 << FixItHint::CreateRemoval(SourceRange(StartLoc, EndLoc)); in ConsumeExtraSemi()
221 << FixItHint::CreateRemoval(SourceRange(StartLoc, EndLoc)); in ConsumeExtraSemi()
229 << FixItHint::CreateRemoval(SourceRange(StartLoc, EndLoc)); in ConsumeExtraSemi()
233 << FixItHint::CreateRemoval(SourceRange(StartLoc, EndLoc)); in ConsumeExtraSemi()
695 SourceLocation EndLoc; in ParseExternalDeclaration() local
697 ExprResult Result(ParseSimpleAsm(&EndLoc)); in ParseExternalDeclaration()
713 SingleDecl = Actions.ActOnFileScopeAsmDecl(Result.get(), StartLoc, EndLoc); in ParseExternalDeclaration()
1317 ExprResult Parser::ParseSimpleAsm(SourceLocation *EndLoc) { in ParseSimpleAsm() argument
1342 if (EndLoc) in ParseSimpleAsm()
1343 *EndLoc = T.getCloseLocation(); in ParseSimpleAsm()
1345 if (EndLoc) in ParseSimpleAsm()
1346 *EndLoc = Tok.getLocation(); in ParseSimpleAsm()
1644 SourceLocation EndLoc = Tok.getLastLoc(); in TryAnnotateTypeOrScopeToken() local
1647 Tok.setAnnotationEndLoc(EndLoc); in TryAnnotateTypeOrScopeToken()