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()
1172 SourceLocation LocEnd = OMD->getCompoundBody()->getLocStart(); in RewriteImplementationDecl() local
1175 const char *endBuf = SM->getCharacterData(LocEnd); in RewriteImplementationDecl()
1183 SourceLocation LocEnd = OMD->getCompoundBody()->getLocStart(); in RewriteImplementationDecl() local
1186 const char *endBuf = SM->getCharacterData(LocEnd); in RewriteImplementationDecl()
3115 SourceLocation LocEnd = CDecl->getEndOfDefinitionLoc(); in RewriteObjCInternalStruct() local
3118 const char *endBuf = SM->getCharacterData(LocEnd); in RewriteObjCInternalStruct()
3124 endBuf += Lexer::MeasureTokenLength(LocEnd, *SM, LangOpts); in RewriteObjCInternalStruct()
3219 InsertText(LocEnd.getLocWithOffset(1), ";"); in RewriteObjCInternalStruct()
3221 endBuf += Lexer::MeasureTokenLength(LocEnd, *SM, LangOpts); in RewriteObjCInternalStruct()
3911 SourceLocation LocEnd = CE->getRParenLoc(); in RewriteCastExpr() local
3917 if (!Rewriter::isRewritable(LocStart) || !Rewriter::isRewritable(LocEnd)) in RewriteCastExpr()
3921 const char *endBuf = SM->getCharacterData(LocEnd); in RewriteCastExpr()