Lines Matching refs:LocEnd
948 SourceLocation LocEnd = Method->getLocEnd(); in RewriteMethodDeclaration() local
950 if (SM->getExpansionLineNumber(LocEnd) > in RewriteMethodDeclaration()
953 ReplaceText(LocEnd, 1, ";\n#endif\n"); in RewriteMethodDeclaration()
999 SourceLocation LocEnd = PDecl->getAtEndRange().getBegin(); in RewriteProtocolDecl() local
1000 ReplaceText(LocEnd, strlen("@end"), "/* @end */"); in RewriteProtocolDecl()
1004 const char *endBuf = SM->getCharacterData(LocEnd); in RewriteProtocolDecl()
1173 SourceLocation LocEnd = OMD->getCompoundBody()->getLocStart(); in RewriteImplementationDecl() local
1176 const char *endBuf = SM->getCharacterData(LocEnd); in RewriteImplementationDecl()
1184 SourceLocation LocEnd = OMD->getCompoundBody()->getLocStart(); in RewriteImplementationDecl() local
1187 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()
3887 SourceLocation LocEnd = CE->getRParenLoc(); in RewriteCastExpr() local
3893 if (!Rewriter::isRewritable(LocStart) || !Rewriter::isRewritable(LocEnd)) in RewriteCastExpr()
3897 const char *endBuf = SM->getCharacterData(LocEnd); in RewriteCastExpr()