Lines Matching defs:LocStart
824 SourceLocation LocStart = SM->getLocForStartOfFile(MainFileID);
841 LocStart.getLocWithOffset(BufPtr-MainBufStart);
1131 SourceLocation LocStart = Method->getLocStart();
1135 SM->getExpansionLineNumber(LocStart)) {
1136 InsertText(LocStart, "#if 0\n");
1139 InsertText(LocStart, "// ");
1151 SourceLocation LocStart = CatDecl->getLocStart();
1155 ReplaceText(LocStart, 1, "/** ");
1159 ReplaceText(LocStart, 0, "// ");
1176 SourceLocation LocStart = PDecl->getLocStart();
1180 ReplaceText(LocStart, 0, "// ");
1194 const char *startBuf = SM->getCharacterData(LocStart);
1198 SourceLocation OptionalLoc = LocStart.getLocWithOffset(p-startBuf);
1203 SourceLocation OptionalLoc = LocStart.getLocWithOffset(p-startBuf);
1211 SourceLocation LocStart = (*D.begin())->getLocStart();
1212 if (LocStart.isInvalid())
1215 ReplaceText(LocStart, 0, "// ");
1220 SourceLocation LocStart = DG[0]->getLocStart();
1221 if (LocStart.isInvalid())
1224 ReplaceText(LocStart, 0, "// ");
1229 SourceLocation LocStart = LSD->getExternLoc();
1230 if (LocStart.isInvalid())
1233 ReplaceText(LocStart, 0, "// ");
1388 SourceLocation LocStart = OMD->getLocStart();
1391 const char *startBuf = SM->getCharacterData(LocStart);
1393 ReplaceText(LocStart, endBuf-startBuf, ResultStr);
1399 SourceLocation LocStart = OMD->getLocStart();
1402 const char *startBuf = SM->getCharacterData(LocStart);
1404 ReplaceText(LocStart, endBuf-startBuf, ResultStr);
3996 SourceLocation LocStart = CDecl->getLocStart();
3999 const char *startBuf = SM->getCharacterData(LocStart);
4007 ReplaceText(LocStart, endBuf-startBuf, Result);
4054 ReplaceText(LocStart, endBuf-startBuf, Result);
4848 SourceLocation LocStart = CE->getLParenLoc();
4852 if (LocStart.isInvalid())
4855 if (!Rewriter::isRewritable(LocStart) || !Rewriter::isRewritable(LocEnd))
4858 const char *startBuf = SM->getCharacterData(LocStart);
4868 ReplaceText(LocStart, endBuf-startBuf+1, TypeAsString);
4878 LocStart = LocStart.getLocWithOffset(argPtr-startBuf);
4879 ReplaceText(LocStart, 1, "*");