Lines Matching refs:MB
248 StringRef MB = SourceMgr->getBufferData(FID);
249 I->second.Initialize(MB.begin(), MB.end());
264 StringRef MB = SourceMgr->getBufferData(FID);
275 while (isWhitespaceExceptNL(MB[i]))
277 indentSpace = MB.substr(lineOffs, i-lineOffs);
341 StringRef MB = SourceMgr->getBufferData(FID);
342 return ReplaceText(start, origLength, MB.substr(newOffs, newLength));
365 StringRef MB = SourceMgr->getBufferData(FID);
382 while (isWhitespaceExceptNL(MB[i]))
384 parentSpace = MB.substr(parentLineOffs, i-parentLineOffs);
387 while (isWhitespaceExceptNL(MB[i]))
389 startSpace = MB.substr(startLineOffs, i-startLineOffs);
403 while (isWhitespaceExceptNL(MB[i]))
405 StringRef origIndent = MB.substr(offs, i-offs);