Lines Matching refs:LocEnd
1111 SourceLocation LocEnd = Method->getEndLoc(); in RewriteMethodDeclaration() local
1113 if (SM->getExpansionLineNumber(LocEnd) > in RewriteMethodDeclaration()
1116 ReplaceText(LocEnd, 1, ";\n#endif\n"); in RewriteMethodDeclaration()
1169 SourceLocation LocEnd = PDecl->getAtEndRange().getBegin(); in RewriteProtocolDecl() local
1170 ReplaceText(LocEnd, strlen("@end"), "/* @end */\n"); in RewriteProtocolDecl()
1174 const char *endBuf = SM->getCharacterData(LocEnd); in RewriteProtocolDecl()
1356 SourceLocation LocEnd = OMD->getCompoundBody()->getBeginLoc(); in RewriteImplementationDecl() local
1359 const char *endBuf = SM->getCharacterData(LocEnd); in RewriteImplementationDecl()
1369 SourceLocation LocEnd = OMD->getCompoundBody()->getBeginLoc(); in RewriteImplementationDecl() local
1372 const char *endBuf = SM->getCharacterData(LocEnd); in RewriteImplementationDecl()
3886 SourceLocation LocEnd = CDecl->getEndOfDefinitionLoc(); in RewriteObjCInternalStruct() local
3889 const char *endBuf = SM->getCharacterData(LocEnd); in RewriteObjCInternalStruct()
3895 endBuf += Lexer::MeasureTokenLength(LocEnd, *SM, LangOpts); in RewriteObjCInternalStruct()
3942 endBuf += Lexer::MeasureTokenLength(LocEnd, *SM, LangOpts); in RewriteObjCInternalStruct()
4713 SourceLocation LocEnd = CE->getRParenLoc(); in RewriteCastExpr() local
4719 if (!Rewriter::isRewritable(LocStart) || !Rewriter::isRewritable(LocEnd)) in RewriteCastExpr()
4723 const char *endBuf = SM->getCharacterData(LocEnd); in RewriteCastExpr()