Lines Matching refs:startLoc

926     SourceLocation startLoc = PID->getBeginLoc();  in RewritePropertyImplDecl()  local
927 InsertText(startLoc, "// "); in RewritePropertyImplDecl()
928 const char *startBuf = SM->getCharacterData(startLoc); in RewritePropertyImplDecl()
932 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()
1615 SourceLocation startLoc = S->getBeginLoc(); in RewriteBreakStmt() local
1618 ReplaceText(startLoc, strlen("break"), buf); in RewriteBreakStmt()
1645 SourceLocation startLoc = S->getBeginLoc(); in RewriteContinueStmt() local
1648 ReplaceText(startLoc, strlen("continue"), buf); in RewriteContinueStmt()
1693 SourceLocation startLoc = S->getBeginLoc(); in RewriteObjCForCollectionStmt() local
1694 const char *startBuf = SM->getCharacterData(startLoc); in RewriteObjCForCollectionStmt()
1750 ReplaceText(startLoc, startCollectionBuf - startBuf, buf); in RewriteObjCForCollectionStmt()
1754 SourceLocation lparenLoc = startLoc.getLocWithOffset(rparenBuf-startBuf); in RewriteObjCForCollectionStmt()
1867 SourceLocation startLoc = S->getBeginLoc(); in RewriteObjCSynchronizedStmt() local
1868 const char *startBuf = SM->getCharacterData(startLoc); in RewriteObjCSynchronizedStmt()
1879 ReplaceText(startLoc, lparenBuf-startBuf+1, buf); in RewriteObjCSynchronizedStmt()
1893 RParenExprLoc = startLoc.getLocWithOffset(RParenExprLocBuf-startBuf); in RewriteObjCSynchronizedStmt()
1928 SourceLocation startLoc = S->getAtLoc(); in RewriteObjCAutoreleasePoolStmt() local
1929 ReplaceText(startLoc, strlen("@autoreleasepool"), "/* @autoreleasepool */"); in RewriteObjCAutoreleasePoolStmt()
1951 SourceLocation startLoc = S->getBeginLoc(); in RewriteObjCTryStmt() local
1952 const char *startBuf = SM->getCharacterData(startLoc); in RewriteObjCTryStmt()
1956 ReplaceText(startLoc, 1, buf); in RewriteObjCTryStmt()
1959 ReplaceText(startLoc, 1, ""); in RewriteObjCTryStmt()
1964 startLoc = Catch->getBeginLoc(); in RewriteObjCTryStmt()
1976 startBuf = SM->getCharacterData(startLoc); in RewriteObjCTryStmt()
1985 ReplaceText(startLoc, rParenBuf-startBuf+1, Result); in RewriteObjCTryStmt()
2003 ReplaceText(startLoc, 1, ""); in RewriteObjCTryStmt()
2042 SourceLocation startLoc = S->getBeginLoc(); in RewriteObjCThrowStmt() local
2043 const char *startBuf = SM->getCharacterData(startLoc); in RewriteObjCThrowStmt()
2057 ReplaceText(startLoc, wBuf-startBuf+1, buf); in RewriteObjCThrowStmt()
2063 SourceLocation semiLoc = startLoc.getLocWithOffset(semiBuf-startBuf); in RewriteObjCThrowStmt()
2298 SourceLocation startLoc; in RewriteTypeOfDecl() local
2300 startLoc = ECE->getLParenLoc(); in RewriteTypeOfDecl()
2302 startLoc = E->getBeginLoc(); in RewriteTypeOfDecl()
2303 startLoc = SM->getExpansionLoc(startLoc); in RewriteTypeOfDecl()
2304 const char *endBuf = SM->getCharacterData(startLoc); in RewriteTypeOfDecl()
5137 SourceLocation startLoc; in RewriteByRefVar() local
5140 startLoc = ECE->getLParenLoc(); in RewriteByRefVar()
5142 startLoc = E->getBeginLoc(); in RewriteByRefVar()
5143 startLoc = SM->getExpansionLoc(startLoc); in RewriteByRefVar()
5144 endBuf = SM->getCharacterData(startLoc); in RewriteByRefVar()
5148 const char *startInitializerBuf = SM->getCharacterData(startLoc); in RewriteByRefVar()
5153 startLoc.getLocWithOffset(separatorBuf-startInitializerBuf); in RewriteByRefVar()
5522 SourceLocation startLoc = MessExpr->getBeginLoc(); in RewriteFunctionBodyOrGlobalInitializer()
5525 const char *startBuf = SM->getCharacterData(startLoc); in RewriteFunctionBodyOrGlobalInitializer()