Lines Matching refs:startLoc
927 SourceLocation startLoc = PID->getBeginLoc(); in RewritePropertyImplDecl() local
928 InsertText(startLoc, "// "); in RewritePropertyImplDecl()
929 const char *startBuf = SM->getCharacterData(startLoc); in RewritePropertyImplDecl()
933 startGetterSetterLoc = startLoc.getLocWithOffset(semiBuf-startBuf+1); in RewritePropertyImplDecl()
1063 SourceLocation startLoc = ClassDecl->getBeginLoc(); in RewriteForwardClassEpilogue() local
1064 const char *startBuf = SM->getCharacterData(startLoc); in RewriteForwardClassEpilogue()
1067 ReplaceText(startLoc, semiPtr-startBuf+1, typedefString); in RewriteForwardClassEpilogue()
1610 SourceLocation startLoc = S->getBeginLoc(); in RewriteBreakStmt() local
1613 ReplaceText(startLoc, strlen("break"), buf); in RewriteBreakStmt()
1640 SourceLocation startLoc = S->getBeginLoc(); in RewriteContinueStmt() local
1643 ReplaceText(startLoc, strlen("continue"), buf); in RewriteContinueStmt()
1688 SourceLocation startLoc = S->getBeginLoc(); in RewriteObjCForCollectionStmt() local
1689 const char *startBuf = SM->getCharacterData(startLoc); in RewriteObjCForCollectionStmt()
1745 ReplaceText(startLoc, startCollectionBuf - startBuf, buf); in RewriteObjCForCollectionStmt()
1749 SourceLocation lparenLoc = startLoc.getLocWithOffset(rparenBuf-startBuf); in RewriteObjCForCollectionStmt()
1862 SourceLocation startLoc = S->getBeginLoc(); in RewriteObjCSynchronizedStmt() local
1863 const char *startBuf = SM->getCharacterData(startLoc); in RewriteObjCSynchronizedStmt()
1874 ReplaceText(startLoc, lparenBuf-startBuf+1, buf); in RewriteObjCSynchronizedStmt()
1888 RParenExprLoc = startLoc.getLocWithOffset(RParenExprLocBuf-startBuf); in RewriteObjCSynchronizedStmt()
1923 SourceLocation startLoc = S->getAtLoc(); in RewriteObjCAutoreleasePoolStmt() local
1924 ReplaceText(startLoc, strlen("@autoreleasepool"), "/* @autoreleasepool */"); in RewriteObjCAutoreleasePoolStmt()
1946 SourceLocation startLoc = S->getBeginLoc(); in RewriteObjCTryStmt() local
1947 const char *startBuf = SM->getCharacterData(startLoc); in RewriteObjCTryStmt()
1951 ReplaceText(startLoc, 1, buf); in RewriteObjCTryStmt()
1954 ReplaceText(startLoc, 1, ""); in RewriteObjCTryStmt()
1960 startLoc = Catch->getBeginLoc(); in RewriteObjCTryStmt()
1971 startBuf = SM->getCharacterData(startLoc); in RewriteObjCTryStmt()
1980 ReplaceText(startLoc, rParenBuf-startBuf+1, Result); in RewriteObjCTryStmt()
1998 ReplaceText(startLoc, 1, ""); in RewriteObjCTryStmt()
2037 SourceLocation startLoc = S->getBeginLoc(); in RewriteObjCThrowStmt() local
2038 const char *startBuf = SM->getCharacterData(startLoc); in RewriteObjCThrowStmt()
2052 ReplaceText(startLoc, wBuf-startBuf+1, buf); in RewriteObjCThrowStmt()
2058 SourceLocation semiLoc = startLoc.getLocWithOffset(semiBuf-startBuf); in RewriteObjCThrowStmt()
2293 SourceLocation startLoc; in RewriteTypeOfDecl() local
2295 startLoc = ECE->getLParenLoc(); in RewriteTypeOfDecl()
2297 startLoc = E->getBeginLoc(); in RewriteTypeOfDecl()
2298 startLoc = SM->getExpansionLoc(startLoc); in RewriteTypeOfDecl()
2299 const char *endBuf = SM->getCharacterData(startLoc); in RewriteTypeOfDecl()
5143 SourceLocation startLoc; in RewriteByRefVar() local
5146 startLoc = ECE->getLParenLoc(); in RewriteByRefVar()
5148 startLoc = E->getBeginLoc(); in RewriteByRefVar()
5149 startLoc = SM->getExpansionLoc(startLoc); in RewriteByRefVar()
5150 endBuf = SM->getCharacterData(startLoc); in RewriteByRefVar()
5154 const char *startInitializerBuf = SM->getCharacterData(startLoc); in RewriteByRefVar()
5159 startLoc.getLocWithOffset(separatorBuf-startInitializerBuf); in RewriteByRefVar()
5525 SourceLocation startLoc = MessExpr->getBeginLoc(); in RewriteFunctionBodyOrGlobalInitializer()
5528 const char *startBuf = SM->getCharacterData(startLoc); in RewriteFunctionBodyOrGlobalInitializer()