• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /freebsd-12-stable/contrib/llvm-project/clang/lib/Frontend/Rewrite/

Lines Matching defs:startLoc

924     SourceLocation startLoc = PID->getBeginLoc();
925 InsertText(startLoc, "// ");
926 const char *startBuf = SM->getCharacterData(startLoc);
930 startGetterSetterLoc = startLoc.getLocWithOffset(semiBuf-startBuf+1);
1060 SourceLocation startLoc = ClassDecl->getBeginLoc();
1061 const char *startBuf = SM->getCharacterData(startLoc);
1064 ReplaceText(startLoc, semiPtr-startBuf+1, typedefString);
1612 SourceLocation startLoc = S->getBeginLoc();
1615 ReplaceText(startLoc, strlen("break"), buf);
1642 SourceLocation startLoc = S->getBeginLoc();
1645 ReplaceText(startLoc, strlen("continue"), buf);
1690 SourceLocation startLoc = S->getBeginLoc();
1691 const char *startBuf = SM->getCharacterData(startLoc);
1747 ReplaceText(startLoc, startCollectionBuf - startBuf, buf);
1751 SourceLocation lparenLoc = startLoc.getLocWithOffset(rparenBuf-startBuf);
1864 SourceLocation startLoc = S->getBeginLoc();
1865 const char *startBuf = SM->getCharacterData(startLoc);
1876 ReplaceText(startLoc, lparenBuf-startBuf+1, buf);
1890 RParenExprLoc = startLoc.getLocWithOffset(RParenExprLocBuf-startBuf);
1925 SourceLocation startLoc = S->getAtLoc();
1926 ReplaceText(startLoc, strlen("@autoreleasepool"), "/* @autoreleasepool */");
1948 SourceLocation startLoc = S->getBeginLoc();
1949 const char *startBuf = SM->getCharacterData(startLoc);
1953 ReplaceText(startLoc, 1, buf);
1956 ReplaceText(startLoc, 1, "");
1962 startLoc = Catch->getBeginLoc();
1973 startBuf = SM->getCharacterData(startLoc);
1982 ReplaceText(startLoc, rParenBuf-startBuf+1, Result);
2000 ReplaceText(startLoc, 1, "");
2039 SourceLocation startLoc = S->getBeginLoc();
2040 const char *startBuf = SM->getCharacterData(startLoc);
2054 ReplaceText(startLoc, wBuf-startBuf+1, buf);
2060 SourceLocation semiLoc = startLoc.getLocWithOffset(semiBuf-startBuf);
2294 SourceLocation startLoc;
2296 startLoc = ECE->getLParenLoc();
2298 startLoc = E->getBeginLoc();
2299 startLoc = SM->getExpansionLoc(startLoc);
2300 const char *endBuf = SM->getCharacterData(startLoc);
5140 SourceLocation startLoc;
5143 startLoc = ECE->getLParenLoc();
5145 startLoc = E->getBeginLoc();
5146 startLoc = SM->getExpansionLoc(startLoc);
5147 endBuf = SM->getCharacterData(startLoc);
5151 const char *startInitializerBuf = SM->getCharacterData(startLoc);
5156 startLoc.getLocWithOffset(separatorBuf-startInitializerBuf);
5522 SourceLocation startLoc = MessExpr->getBeginLoc();
5525 const char *startBuf = SM->getCharacterData(startLoc);
5535 // InsertText(startLoc, messString);
5537 // ReplaceText(startLoc, 0, messString.c_str(), messString.size());