Lines Matching refs:startLoc
923 SourceLocation startLoc = PID->getLocStart(); in RewritePropertyImplDecl() local
924 InsertText(startLoc, "// "); in RewritePropertyImplDecl()
925 const char *startBuf = SM->getCharacterData(startLoc); in RewritePropertyImplDecl()
929 startGetterSetterLoc = startLoc.getLocWithOffset(semiBuf-startBuf+1); in RewritePropertyImplDecl()
1060 SourceLocation startLoc = ClassDecl->getLocStart(); in RewriteForwardClassEpilogue() local
1061 const char *startBuf = SM->getCharacterData(startLoc); in RewriteForwardClassEpilogue()
1064 ReplaceText(startLoc, semiPtr-startBuf+1, typedefString); in RewriteForwardClassEpilogue()
1607 SourceLocation startLoc = S->getLocStart(); in RewriteBreakStmt() local
1610 ReplaceText(startLoc, strlen("break"), buf); in RewriteBreakStmt()
1637 SourceLocation startLoc = S->getLocStart(); in RewriteContinueStmt() local
1640 ReplaceText(startLoc, strlen("continue"), buf); in RewriteContinueStmt()
1685 SourceLocation startLoc = S->getLocStart(); in RewriteObjCForCollectionStmt() local
1686 const char *startBuf = SM->getCharacterData(startLoc); in RewriteObjCForCollectionStmt()
1742 ReplaceText(startLoc, startCollectionBuf - startBuf, buf); in RewriteObjCForCollectionStmt()
1746 SourceLocation lparenLoc = startLoc.getLocWithOffset(rparenBuf-startBuf); in RewriteObjCForCollectionStmt()
1859 SourceLocation startLoc = S->getLocStart(); in RewriteObjCSynchronizedStmt() local
1860 const char *startBuf = SM->getCharacterData(startLoc); in RewriteObjCSynchronizedStmt()
1871 ReplaceText(startLoc, lparenBuf-startBuf+1, buf); in RewriteObjCSynchronizedStmt()
1885 RParenExprLoc = startLoc.getLocWithOffset(RParenExprLocBuf-startBuf); in RewriteObjCSynchronizedStmt()
1920 SourceLocation startLoc = S->getAtLoc(); in RewriteObjCAutoreleasePoolStmt() local
1921 ReplaceText(startLoc, strlen("@autoreleasepool"), "/* @autoreleasepool */"); in RewriteObjCAutoreleasePoolStmt()
1943 SourceLocation startLoc = S->getLocStart(); in RewriteObjCTryStmt() local
1944 const char *startBuf = SM->getCharacterData(startLoc); in RewriteObjCTryStmt()
1948 ReplaceText(startLoc, 1, buf); in RewriteObjCTryStmt()
1951 ReplaceText(startLoc, 1, ""); in RewriteObjCTryStmt()
1957 startLoc = Catch->getLocStart(); in RewriteObjCTryStmt()
1968 startBuf = SM->getCharacterData(startLoc); in RewriteObjCTryStmt()
1977 ReplaceText(startLoc, rParenBuf-startBuf+1, Result); in RewriteObjCTryStmt()
1995 ReplaceText(startLoc, 1, ""); in RewriteObjCTryStmt()
2034 SourceLocation startLoc = S->getLocStart(); in RewriteObjCThrowStmt() local
2035 const char *startBuf = SM->getCharacterData(startLoc); in RewriteObjCThrowStmt()
2049 ReplaceText(startLoc, wBuf-startBuf+1, buf); in RewriteObjCThrowStmt()
2055 SourceLocation semiLoc = startLoc.getLocWithOffset(semiBuf-startBuf); in RewriteObjCThrowStmt()
2291 SourceLocation startLoc; in RewriteTypeOfDecl() local
2293 startLoc = ECE->getLParenLoc(); in RewriteTypeOfDecl()
2295 startLoc = E->getLocStart(); in RewriteTypeOfDecl()
2296 startLoc = SM->getExpansionLoc(startLoc); in RewriteTypeOfDecl()
2297 const char *endBuf = SM->getCharacterData(startLoc); in RewriteTypeOfDecl()
5149 SourceLocation startLoc; in RewriteByRefVar() local
5152 startLoc = ECE->getLParenLoc(); in RewriteByRefVar()
5154 startLoc = E->getLocStart(); in RewriteByRefVar()
5155 startLoc = SM->getExpansionLoc(startLoc); in RewriteByRefVar()
5156 endBuf = SM->getCharacterData(startLoc); in RewriteByRefVar()
5160 const char *startInitializerBuf = SM->getCharacterData(startLoc); in RewriteByRefVar()
5165 startLoc.getLocWithOffset(separatorBuf-startInitializerBuf); in RewriteByRefVar()
5534 SourceLocation startLoc = MessExpr->getLocStart(); in RewriteFunctionBodyOrGlobalInitializer()
5537 const char *startBuf = SM->getCharacterData(startLoc); in RewriteFunctionBodyOrGlobalInitializer()