Lines Matching refs:LocEnd

949   SourceLocation LocEnd = Method->getEndLoc();  in RewriteMethodDeclaration()  local
951 if (SM->getExpansionLineNumber(LocEnd) > in RewriteMethodDeclaration()
954 ReplaceText(LocEnd, 1, ";\n#endif\n"); in RewriteMethodDeclaration()
1000 SourceLocation LocEnd = PDecl->getAtEndRange().getBegin(); in RewriteProtocolDecl() local
1001 ReplaceText(LocEnd, strlen("@end"), "/* @end */"); in RewriteProtocolDecl()
1005 const char *endBuf = SM->getCharacterData(LocEnd); in RewriteProtocolDecl()
1174 SourceLocation LocEnd = OMD->getCompoundBody()->getBeginLoc(); in RewriteImplementationDecl() local
1177 const char *endBuf = SM->getCharacterData(LocEnd); in RewriteImplementationDecl()
1185 SourceLocation LocEnd = OMD->getCompoundBody()->getBeginLoc(); in RewriteImplementationDecl() local
1188 const char *endBuf = SM->getCharacterData(LocEnd); in RewriteImplementationDecl()
3096 SourceLocation LocEnd = CDecl->getEndOfDefinitionLoc(); in RewriteObjCInternalStruct() local
3099 const char *endBuf = SM->getCharacterData(LocEnd); in RewriteObjCInternalStruct()
3105 endBuf += Lexer::MeasureTokenLength(LocEnd, *SM, LangOpts); in RewriteObjCInternalStruct()
3200 InsertText(LocEnd.getLocWithOffset(1), ";"); in RewriteObjCInternalStruct()
3202 endBuf += Lexer::MeasureTokenLength(LocEnd, *SM, LangOpts); in RewriteObjCInternalStruct()
3886 SourceLocation LocEnd = CE->getRParenLoc(); in RewriteCastExpr() local
3892 if (!Rewriter::isRewritable(LocStart) || !Rewriter::isRewritable(LocEnd)) in RewriteCastExpr()
3896 const char *endBuf = SM->getCharacterData(LocEnd); in RewriteCastExpr()