Lines Matching refs:startLoc

925     SourceLocation startLoc = PID->getBeginLoc();  in RewritePropertyImplDecl()  local
926 InsertText(startLoc, "// "); in RewritePropertyImplDecl()
927 const char *startBuf = SM->getCharacterData(startLoc); in RewritePropertyImplDecl()
931 startGetterSetterLoc = startLoc.getLocWithOffset(semiBuf-startBuf+1); in RewritePropertyImplDecl()
1062 SourceLocation startLoc = ClassDecl->getBeginLoc(); in RewriteForwardClassEpilogue() local
1063 const char *startBuf = SM->getCharacterData(startLoc); in RewriteForwardClassEpilogue()
1066 ReplaceText(startLoc, semiPtr-startBuf+1, typedefString); in RewriteForwardClassEpilogue()
1614 SourceLocation startLoc = S->getBeginLoc(); in RewriteBreakStmt() local
1617 ReplaceText(startLoc, strlen("break"), buf); in RewriteBreakStmt()
1644 SourceLocation startLoc = S->getBeginLoc(); in RewriteContinueStmt() local
1647 ReplaceText(startLoc, strlen("continue"), buf); in RewriteContinueStmt()
1692 SourceLocation startLoc = S->getBeginLoc(); in RewriteObjCForCollectionStmt() local
1693 const char *startBuf = SM->getCharacterData(startLoc); in RewriteObjCForCollectionStmt()
1749 ReplaceText(startLoc, startCollectionBuf - startBuf, buf); in RewriteObjCForCollectionStmt()
1753 SourceLocation lparenLoc = startLoc.getLocWithOffset(rparenBuf-startBuf); in RewriteObjCForCollectionStmt()
1866 SourceLocation startLoc = S->getBeginLoc(); in RewriteObjCSynchronizedStmt() local
1867 const char *startBuf = SM->getCharacterData(startLoc); in RewriteObjCSynchronizedStmt()
1878 ReplaceText(startLoc, lparenBuf-startBuf+1, buf); in RewriteObjCSynchronizedStmt()
1892 RParenExprLoc = startLoc.getLocWithOffset(RParenExprLocBuf-startBuf); in RewriteObjCSynchronizedStmt()
1927 SourceLocation startLoc = S->getAtLoc(); in RewriteObjCAutoreleasePoolStmt() local
1928 ReplaceText(startLoc, strlen("@autoreleasepool"), "/* @autoreleasepool */"); in RewriteObjCAutoreleasePoolStmt()
1950 SourceLocation startLoc = S->getBeginLoc(); in RewriteObjCTryStmt() local
1951 const char *startBuf = SM->getCharacterData(startLoc); in RewriteObjCTryStmt()
1955 ReplaceText(startLoc, 1, buf); in RewriteObjCTryStmt()
1958 ReplaceText(startLoc, 1, ""); in RewriteObjCTryStmt()
1963 startLoc = Catch->getBeginLoc(); in RewriteObjCTryStmt()
1975 startBuf = SM->getCharacterData(startLoc); in RewriteObjCTryStmt()
1984 ReplaceText(startLoc, rParenBuf-startBuf+1, Result); in RewriteObjCTryStmt()
2002 ReplaceText(startLoc, 1, ""); in RewriteObjCTryStmt()
2041 SourceLocation startLoc = S->getBeginLoc(); in RewriteObjCThrowStmt() local
2042 const char *startBuf = SM->getCharacterData(startLoc); in RewriteObjCThrowStmt()
2056 ReplaceText(startLoc, wBuf-startBuf+1, buf); in RewriteObjCThrowStmt()
2062 SourceLocation semiLoc = startLoc.getLocWithOffset(semiBuf-startBuf); in RewriteObjCThrowStmt()
2297 SourceLocation startLoc; in RewriteTypeOfDecl() local
2299 startLoc = ECE->getLParenLoc(); in RewriteTypeOfDecl()
2301 startLoc = E->getBeginLoc(); in RewriteTypeOfDecl()
2302 startLoc = SM->getExpansionLoc(startLoc); in RewriteTypeOfDecl()
2303 const char *endBuf = SM->getCharacterData(startLoc); in RewriteTypeOfDecl()
5134 SourceLocation startLoc; in RewriteByRefVar() local
5137 startLoc = ECE->getLParenLoc(); in RewriteByRefVar()
5139 startLoc = E->getBeginLoc(); in RewriteByRefVar()
5140 startLoc = SM->getExpansionLoc(startLoc); in RewriteByRefVar()
5141 endBuf = SM->getCharacterData(startLoc); in RewriteByRefVar()
5145 const char *startInitializerBuf = SM->getCharacterData(startLoc); in RewriteByRefVar()
5150 startLoc.getLocWithOffset(separatorBuf-startInitializerBuf); in RewriteByRefVar()
5519 SourceLocation startLoc = MessExpr->getBeginLoc(); in RewriteFunctionBodyOrGlobalInitializer()
5522 const char *startBuf = SM->getCharacterData(startLoc); in RewriteFunctionBodyOrGlobalInitializer()