Lines Matching refs:LocEnd
952 SourceLocation LocEnd = Method->getEndLoc(); in RewriteMethodDeclaration() local
954 if (SM->getExpansionLineNumber(LocEnd) > in RewriteMethodDeclaration()
957 ReplaceText(LocEnd, 1, ";\n#endif\n"); in RewriteMethodDeclaration()
1003 SourceLocation LocEnd = PDecl->getAtEndRange().getBegin(); in RewriteProtocolDecl() local
1004 ReplaceText(LocEnd, strlen("@end"), "/* @end */"); in RewriteProtocolDecl()
1008 const char *endBuf = SM->getCharacterData(LocEnd); in RewriteProtocolDecl()
1180 SourceLocation LocEnd = OMD->getCompoundBody()->getBeginLoc(); in RewriteImplementationDecl() local
1183 const char *endBuf = SM->getCharacterData(LocEnd); in RewriteImplementationDecl()
1193 SourceLocation LocEnd = OMD->getCompoundBody()->getBeginLoc(); in RewriteImplementationDecl() local
1196 const char *endBuf = SM->getCharacterData(LocEnd); in RewriteImplementationDecl()
3097 SourceLocation LocEnd = CDecl->getEndOfDefinitionLoc(); in RewriteObjCInternalStruct() local
3100 const char *endBuf = SM->getCharacterData(LocEnd); in RewriteObjCInternalStruct()
3106 endBuf += Lexer::MeasureTokenLength(LocEnd, *SM, LangOpts); in RewriteObjCInternalStruct()
3201 InsertText(LocEnd.getLocWithOffset(1), ";"); in RewriteObjCInternalStruct()
3203 endBuf += Lexer::MeasureTokenLength(LocEnd, *SM, LangOpts); in RewriteObjCInternalStruct()
3884 SourceLocation LocEnd = CE->getRParenLoc(); in RewriteCastExpr() local
3890 if (!Rewriter::isRewritable(LocStart) || !Rewriter::isRewritable(LocEnd)) in RewriteCastExpr()
3894 const char *endBuf = SM->getCharacterData(LocEnd); in RewriteCastExpr()