Lines Matching defs:LocStart
740 SourceLocation LocStart = SM->getLocForStartOfFile(MainFileID);
757 LocStart.getLocWithOffset(BufPtr-MainBufStart);
956 SourceLocation LocStart = Method->getLocStart();
960 SM->getExpansionLineNumber(LocStart)) {
961 InsertText(LocStart, "#if 0\n");
964 InsertText(LocStart, "// ");
976 SourceLocation LocStart = CatDecl->getLocStart();
979 ReplaceText(LocStart, 0, "// ");
994 SourceLocation LocStart = PDecl->getLocStart();
998 ReplaceText(LocStart, 0, "// ");
1012 const char *startBuf = SM->getCharacterData(LocStart);
1016 SourceLocation OptionalLoc = LocStart.getLocWithOffset(p-startBuf);
1021 SourceLocation OptionalLoc = LocStart.getLocWithOffset(p-startBuf);
1029 SourceLocation LocStart = (*D.begin())->getLocStart();
1030 if (LocStart.isInvalid())
1033 ReplaceText(LocStart, 0, "// ");
1038 SourceLocation LocStart = DG[0]->getLocStart();
1039 if (LocStart.isInvalid())
1042 ReplaceText(LocStart, 0, "// ");
1180 SourceLocation LocStart = OMD->getLocStart();
1183 const char *startBuf = SM->getCharacterData(LocStart);
1185 ReplaceText(LocStart, endBuf-startBuf, ResultStr);
1191 SourceLocation LocStart = OMD->getLocStart();
1194 const char *startBuf = SM->getCharacterData(LocStart);
1196 ReplaceText(LocStart, endBuf-startBuf, ResultStr);
3123 SourceLocation LocStart = CDecl->getLocStart();
3126 const char *startBuf = SM->getCharacterData(LocStart);
3134 ReplaceText(LocStart, endBuf-startBuf, Result);
3176 ReplaceText(LocStart, endHeader-startBuf, Result);
3179 ReplaceText(LocStart, cursor-startBuf, Result);
3190 LocStart.getLocWithOffset(cursor-startBuf+1);
3198 SourceLocation atLoc = LocStart.getLocWithOffset(cursor-startBuf);
3215 SourceLocation atLoc = LocStart.getLocWithOffset(cursor-startBuf);
3219 atLoc = LocStart.getLocWithOffset(cursor-startBuf);
3222 SourceLocation caretLoc = LocStart.getLocWithOffset(cursor-startBuf);
3236 ReplaceText(LocStart, endBuf-startBuf, Result);
3932 SourceLocation LocStart = CE->getLParenLoc();
3936 if (LocStart.isInvalid())
3939 if (!Rewriter::isRewritable(LocStart) || !Rewriter::isRewritable(LocEnd))
3942 const char *startBuf = SM->getCharacterData(LocStart);
3952 ReplaceText(LocStart, endBuf-startBuf+1, TypeAsString);
3962 LocStart = LocStart.getLocWithOffset(argPtr-startBuf);
3963 ReplaceText(LocStart, 1, "*");