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