Lines Matching defs:LocStart
730 SourceLocation LocStart = SM->getLocForStartOfFile(MainFileID);
747 LocStart.getLocWithOffset(BufPtr-MainBufStart);
949 SourceLocation LocStart = Method->getBeginLoc();
953 SM->getExpansionLineNumber(LocStart)) {
954 InsertText(LocStart, "#if 0\n");
957 InsertText(LocStart, "// ");
969 SourceLocation LocStart = CatDecl->getBeginLoc();
972 ReplaceText(LocStart, 0, "// ");
987 SourceLocation LocStart = PDecl->getBeginLoc();
991 ReplaceText(LocStart, 0, "// ");
1005 const char *startBuf = SM->getCharacterData(LocStart);
1009 SourceLocation OptionalLoc = LocStart.getLocWithOffset(p-startBuf);
1014 SourceLocation OptionalLoc = LocStart.getLocWithOffset(p-startBuf);
1022 SourceLocation LocStart = (*D.begin())->getBeginLoc();
1023 if (LocStart.isInvalid())
1026 ReplaceText(LocStart, 0, "// ");
1031 SourceLocation LocStart = DG[0]->getBeginLoc();
1032 if (LocStart.isInvalid())
1035 ReplaceText(LocStart, 0, "// ");
1177 SourceLocation LocStart = OMD->getBeginLoc();
1180 const char *startBuf = SM->getCharacterData(LocStart);
1182 ReplaceText(LocStart, endBuf-startBuf, ResultStr);
1190 SourceLocation LocStart = OMD->getBeginLoc();
1193 const char *startBuf = SM->getCharacterData(LocStart);
1195 ReplaceText(LocStart, endBuf-startBuf, ResultStr);
3094 SourceLocation LocStart = CDecl->getBeginLoc();
3097 const char *startBuf = SM->getCharacterData(LocStart);
3105 ReplaceText(LocStart, endBuf-startBuf, Result);
3147 ReplaceText(LocStart, endHeader-startBuf, Result);
3150 ReplaceText(LocStart, cursor-startBuf, Result);
3161 LocStart.getLocWithOffset(cursor-startBuf+1);
3169 SourceLocation atLoc = LocStart.getLocWithOffset(cursor-startBuf);
3186 SourceLocation atLoc = LocStart.getLocWithOffset(cursor-startBuf);
3190 atLoc = LocStart.getLocWithOffset(cursor-startBuf);
3193 SourceLocation caretLoc = LocStart.getLocWithOffset(cursor-startBuf);
3207 ReplaceText(LocStart, endBuf-startBuf, Result);
3875 SourceLocation LocStart = CE->getLParenLoc();
3879 if (LocStart.isInvalid())
3882 if (!Rewriter::isRewritable(LocStart) || !Rewriter::isRewritable(LocEnd))
3885 const char *startBuf = SM->getCharacterData(LocStart);
3895 ReplaceText(LocStart, endBuf-startBuf+1, TypeAsString);
3905 LocStart = LocStart.getLocWithOffset(argPtr-startBuf);
3906 ReplaceText(LocStart, 1, "*");