Lines Matching refs:MB
247 StringRef MB = SourceMgr->getBufferData(FID);
248 I->second.Initialize(MB.begin(), MB.end());
263 StringRef MB = SourceMgr->getBufferData(FID);
274 while (isWhitespaceExceptNL(MB[i]))
276 indentSpace = MB.substr(lineOffs, i-lineOffs);
340 StringRef MB = SourceMgr->getBufferData(FID);
341 return ReplaceText(start, origLength, MB.substr(newOffs, newLength));
364 StringRef MB = SourceMgr->getBufferData(FID);
381 while (isWhitespaceExceptNL(MB[i]))
383 parentSpace = MB.substr(parentLineOffs, i-parentLineOffs);
386 while (isWhitespaceExceptNL(MB[i]))
388 startSpace = MB.substr(startLineOffs, i-startLineOffs);
402 while (isWhitespaceExceptNL(MB[i]))
404 StringRef origIndent = MB.substr(offs, i-offs);