Lines Matching refs:LocEnd
1109 SourceLocation LocEnd = Method->getLocEnd(); in RewriteMethodDeclaration() local
1111 if (SM->getExpansionLineNumber(LocEnd) > in RewriteMethodDeclaration()
1114 ReplaceText(LocEnd, 1, ";\n#endif\n"); in RewriteMethodDeclaration()
1167 SourceLocation LocEnd = PDecl->getAtEndRange().getBegin(); in RewriteProtocolDecl() local
1168 ReplaceText(LocEnd, strlen("@end"), "/* @end */\n"); in RewriteProtocolDecl()
1172 const char *endBuf = SM->getCharacterData(LocEnd); in RewriteProtocolDecl()
1351 SourceLocation LocEnd = OMD->getCompoundBody()->getLocStart(); in RewriteImplementationDecl() local
1354 const char *endBuf = SM->getCharacterData(LocEnd); in RewriteImplementationDecl()
1362 SourceLocation LocEnd = OMD->getCompoundBody()->getLocStart(); in RewriteImplementationDecl() local
1365 const char *endBuf = SM->getCharacterData(LocEnd); in RewriteImplementationDecl()
3896 SourceLocation LocEnd = CDecl->getEndOfDefinitionLoc(); in RewriteObjCInternalStruct() local
3899 const char *endBuf = SM->getCharacterData(LocEnd); in RewriteObjCInternalStruct()
3905 endBuf += Lexer::MeasureTokenLength(LocEnd, *SM, LangOpts); in RewriteObjCInternalStruct()
3952 endBuf += Lexer::MeasureTokenLength(LocEnd, *SM, LangOpts); in RewriteObjCInternalStruct()
4728 SourceLocation LocEnd = CE->getRParenLoc(); in RewriteCastExpr() local
4734 if (!Rewriter::isRewritable(LocStart) || !Rewriter::isRewritable(LocEnd)) in RewriteCastExpr()
4738 const char *endBuf = SM->getCharacterData(LocEnd); in RewriteCastExpr()