Lines Matching refs:startLoc
359 SourceLocation StartLoc=SourceLocation(),
368 SourceLocation StartLoc=SourceLocation(),
691 SourceLocation StartLoc = IFace->getLocStart();
695 StartLoc == (*DI)->getLocStart())
710 SourceLocation StartLoc = Proto->getLocStart();
714 StartLoc == (*DI)->getLocStart())
780 SourceLocation startLoc = PID->getLocStart();
781 InsertText(startLoc, "// ");
782 const char *startBuf = SM->getCharacterData(startLoc);
787 startLoc.getLocWithOffset(semiBuf-startBuf+1);
912 SourceLocation startLoc = ClassDecl->getLocStart();
913 const char *startBuf = SM->getCharacterData(startLoc);
916 ReplaceText(startLoc, semiPtr-startBuf+1, typedefString);
1422 SourceLocation startLoc = S->getLocStart();
1425 ReplaceText(startLoc, strlen("break"), buf);
1439 SourceLocation startLoc = S->getLocStart();
1442 ReplaceText(startLoc, strlen("continue"), buf);
1487 SourceLocation startLoc = S->getLocStart();
1488 const char *startBuf = SM->getCharacterData(startLoc);
1541 ReplaceText(startLoc, startCollectionBuf - startBuf, buf);
1545 SourceLocation lparenLoc = startLoc.getLocWithOffset(rparenBuf-startBuf);
1651 SourceLocation startLoc = S->getLocStart();
1652 const char *startBuf = SM->getCharacterData(startLoc);
1660 ReplaceText(startLoc, lparenBuf-startBuf+1, buf);
1667 SourceLocation rparenLoc = startLoc.getLocWithOffset(endBuf-startBuf);
1677 startLoc = S->getSynchBody()->getLocEnd();
1678 startBuf = SM->getCharacterData(startLoc);
1681 SourceLocation lastCurlyLoc = startLoc;
1754 SourceLocation startLoc = S->getLocStart();
1755 const char *startBuf = SM->getCharacterData(startLoc);
1759 SourceLocation onePastSemiLoc = startLoc.getLocWithOffset(semiBuf-startBuf+1);
1764 ReplaceText(startLoc, 6, buf);
1777 SourceLocation startLoc = S->getLocStart();
1778 const char *startBuf = SM->getCharacterData(startLoc);
1782 SourceLocation onePastSemiLoc = startLoc.getLocWithOffset(semiBuf-startBuf+1);
1789 ReplaceText(startLoc, 6, buf);
1797 SourceLocation startLoc = S->getLocStart();
1798 const char *startBuf = SM->getCharacterData(startLoc);
1811 ReplaceText(startLoc, 4, buf);
1813 startLoc = S->getTryBody()->getLocEnd();
1814 startBuf = SM->getCharacterData(startLoc);
1818 SourceLocation lastCurlyLoc = startLoc;
1820 startLoc = startLoc.getLocWithOffset(1);
1828 InsertText(startLoc, buf);
1844 startLoc = Catch->getLocStart();
1845 startBuf = SM->getCharacterData(startLoc);
1861 Rewrite.ReplaceText(startLoc, bodyBuf-startBuf+1, buf);
1866 ReplaceText(startLoc, lParenLoc-startBuf+1, buf);
1875 ReplaceText(startLoc, lParenLoc-startBuf+1, buf);
1915 startLoc = finalStmt->getLocStart();
1916 startBuf = SM->getCharacterData(startLoc);
1919 ReplaceText(startLoc, 8, "/* @finally */");
1922 SourceLocation startLoc = body->getLocStart();
1924 assert(*SM->getCharacterData(startLoc) == '{' &&
1929 startLoc = startLoc.getLocWithOffset(1);
1930 InsertText(startLoc, " if (!_rethrow) objc_exception_try_exit(&_stack);\n");
1965 SourceLocation startLoc = S->getLocStart();
1966 const char *startBuf = SM->getCharacterData(startLoc);
1980 ReplaceText(startLoc, wBuf-startBuf+1, buf);
1984 SourceLocation semiLoc = startLoc.getLocWithOffset(semiBuf-startBuf);
2016 FunctionDecl *FD, Expr **args, unsigned nargs, SourceLocation StartLoc,
2214 SourceLocation startLoc;
2216 startLoc = ECE->getLParenLoc();
2218 startLoc = E->getLocStart();
2219 startLoc = SM->getExpansionLoc(startLoc);
2220 const char *endBuf = SM->getCharacterData(startLoc);
2631 SourceLocation StartLoc,
2694 StartLoc,
2704 StartLoc, EndLoc);
2767 StartLoc, EndLoc);
2795 StartLoc, EndLoc);
2804 StartLoc, EndLoc);
2875 StartLoc,
2986 ParenExpr *PE = new (Context) ParenExpr(StartLoc, EndLoc, cast);
4322 SourceLocation startLoc;
4325 startLoc = ECE->getLParenLoc();
4327 startLoc = E->getLocStart();
4328 startLoc = SM->getExpansionLoc(startLoc);
4329 endBuf = SM->getCharacterData(startLoc);
4356 const char *startInitializerBuf = SM->getCharacterData(startLoc);
4360 startLoc.getLocWithOffset(semiBuf-startInitializerBuf);
4688 SourceLocation startLoc = MessExpr->getLocStart();
4691 const char *startBuf = SM->getCharacterData(startLoc);
4701 // InsertText(startLoc, messString.c_str(), messString.size());
4703 // ReplaceText(startLoc, 0, messString.c_str(), messString.size());