Lines Matching refs:LocStart
731 SourceLocation LocStart = SM->getLocForStartOfFile(MainFileID);
748 LocStart.getLocWithOffset(BufPtr-MainBufStart);
947 SourceLocation LocStart = Method->getLocStart();
951 SM->getExpansionLineNumber(LocStart)) {
952 InsertText(LocStart, "#if 0\n");
955 InsertText(LocStart, "// ");
967 SourceLocation LocStart = CatDecl->getLocStart();
970 ReplaceText(LocStart, 0, "// ");
985 SourceLocation LocStart = PDecl->getLocStart();
989 ReplaceText(LocStart, 0, "// ");
1003 const char *startBuf = SM->getCharacterData(LocStart);
1007 SourceLocation OptionalLoc = LocStart.getLocWithOffset(p-startBuf);
1012 SourceLocation OptionalLoc = LocStart.getLocWithOffset(p-startBuf);
1020 SourceLocation LocStart = (*D.begin())->getLocStart();
1021 if (LocStart.isInvalid())
1024 ReplaceText(LocStart, 0, "// ");
1029 SourceLocation LocStart = DG[0]->getLocStart();
1030 if (LocStart.isInvalid())
1033 ReplaceText(LocStart, 0, "// ");
1171 SourceLocation LocStart = OMD->getLocStart();
1174 const char *startBuf = SM->getCharacterData(LocStart);
1176 ReplaceText(LocStart, endBuf-startBuf, ResultStr);
1182 SourceLocation LocStart = OMD->getLocStart();
1185 const char *startBuf = SM->getCharacterData(LocStart);
1187 ReplaceText(LocStart, endBuf-startBuf, ResultStr);
3103 SourceLocation LocStart = CDecl->getLocStart();
3106 const char *startBuf = SM->getCharacterData(LocStart);
3114 ReplaceText(LocStart, endBuf-startBuf, Result);
3156 ReplaceText(LocStart, endHeader-startBuf, Result);
3159 ReplaceText(LocStart, cursor-startBuf, Result);
3170 LocStart.getLocWithOffset(cursor-startBuf+1);
3178 SourceLocation atLoc = LocStart.getLocWithOffset(cursor-startBuf);
3195 SourceLocation atLoc = LocStart.getLocWithOffset(cursor-startBuf);
3199 atLoc = LocStart.getLocWithOffset(cursor-startBuf);
3202 SourceLocation caretLoc = LocStart.getLocWithOffset(cursor-startBuf);
3216 ReplaceText(LocStart, endBuf-startBuf, Result);
3899 SourceLocation LocStart = CE->getLParenLoc();
3903 if (LocStart.isInvalid())
3906 if (!Rewriter::isRewritable(LocStart) || !Rewriter::isRewritable(LocEnd))
3909 const char *startBuf = SM->getCharacterData(LocStart);
3919 ReplaceText(LocStart, endBuf-startBuf+1, TypeAsString);
3929 LocStart = LocStart.getLocWithOffset(argPtr-startBuf);
3930 ReplaceText(LocStart, 1, "*");