Lines Matching defs:startLoc

771   SourceLocation startLoc = PID->getBeginLoc();
772 InsertText(startLoc, "// ");
773 const char *startBuf = SM->getCharacterData(startLoc);
778 startLoc.getLocWithOffset(semiBuf-startBuf+1);
905 SourceLocation startLoc = ClassDecl->getBeginLoc();
906 const char *startBuf = SM->getCharacterData(startLoc);
909 ReplaceText(startLoc, semiPtr - startBuf + 1, typedefString);
1421 SourceLocation startLoc = S->getBeginLoc();
1424 ReplaceText(startLoc, strlen("break"), buf);
1438 SourceLocation startLoc = S->getBeginLoc();
1441 ReplaceText(startLoc, strlen("continue"), buf);
1486 SourceLocation startLoc = S->getBeginLoc();
1487 const char *startBuf = SM->getCharacterData(startLoc);
1540 ReplaceText(startLoc, startCollectionBuf - startBuf, buf);
1544 SourceLocation lparenLoc = startLoc.getLocWithOffset(rparenBuf-startBuf);
1650 SourceLocation startLoc = S->getBeginLoc();
1651 const char *startBuf = SM->getCharacterData(startLoc);
1659 ReplaceText(startLoc, lparenBuf-startBuf+1, buf);
1666 SourceLocation rparenLoc = startLoc.getLocWithOffset(endBuf-startBuf);
1676 startLoc = S->getSynchBody()->getEndLoc();
1677 startBuf = SM->getCharacterData(startLoc);
1680 SourceLocation lastCurlyLoc = startLoc;
1751 SourceLocation startLoc = S->getBeginLoc();
1752 const char *startBuf = SM->getCharacterData(startLoc);
1755 SourceLocation onePastSemiLoc = startLoc.getLocWithOffset(semiBuf-startBuf+1);
1760 ReplaceText(startLoc, 6, buf);
1772 SourceLocation startLoc = S->getBeginLoc();
1773 const char *startBuf = SM->getCharacterData(startLoc);
1777 SourceLocation onePastSemiLoc = startLoc.getLocWithOffset(semiBuf-startBuf+1);
1784 ReplaceText(startLoc, 6, buf);
1791 SourceLocation startLoc = S->getBeginLoc();
1792 const char *startBuf = SM->getCharacterData(startLoc);
1805 ReplaceText(startLoc, 4, buf);
1807 startLoc = S->getTryBody()->getEndLoc();
1808 startBuf = SM->getCharacterData(startLoc);
1812 SourceLocation lastCurlyLoc = startLoc;
1814 startLoc = startLoc.getLocWithOffset(1);
1822 InsertText(startLoc, buf);
1838 startLoc = Catch->getBeginLoc();
1839 startBuf = SM->getCharacterData(startLoc);
1855 Rewrite.ReplaceText(startLoc, bodyBuf-startBuf+1, buf);
1860 ReplaceText(startLoc, lParenLoc-startBuf+1, buf);
1869 ReplaceText(startLoc, lParenLoc-startBuf+1, buf);
1909 startLoc = finalStmt->getBeginLoc();
1910 startBuf = SM->getCharacterData(startLoc);
1913 ReplaceText(startLoc, 8, "/* @finally */");
1916 SourceLocation startLoc = body->getBeginLoc();
1918 assert(*SM->getCharacterData(startLoc) == '{' &&
1923 startLoc = startLoc.getLocWithOffset(1);
1924 InsertText(startLoc, " if (!_rethrow) objc_exception_try_exit(&_stack);\n");
1959 SourceLocation startLoc = S->getBeginLoc();
1960 const char *startBuf = SM->getCharacterData(startLoc);
1974 ReplaceText(startLoc, wBuf-startBuf+1, buf);
1978 SourceLocation semiLoc = startLoc.getLocWithOffset(semiBuf-startBuf);
2208 SourceLocation startLoc;
2210 startLoc = ECE->getLParenLoc();
2212 startLoc = E->getBeginLoc();
2213 startLoc = SM->getExpansionLoc(startLoc);
2214 const char *endBuf = SM->getCharacterData(startLoc);
4274 SourceLocation startLoc;
4277 startLoc = ECE->getLParenLoc();
4279 startLoc = E->getBeginLoc();
4280 startLoc = SM->getExpansionLoc(startLoc);
4281 endBuf = SM->getCharacterData(startLoc);
4308 const char *startInitializerBuf = SM->getCharacterData(startLoc);
4312 startLoc.getLocWithOffset(semiBuf-startInitializerBuf);
4633 SourceLocation startLoc = MessExpr->getBeginLoc();
4636 const char *startBuf = SM->getCharacterData(startLoc);
4646 // InsertText(startLoc, messString);
4648 // ReplaceText(startLoc, 0, messString.c_str(), messString.size());