Lines Matching refs:MB
234 StringRef MB = SourceMgr->getBufferData(FID);
235 I->second.Initialize(MB.begin(), MB.end());
250 StringRef MB = SourceMgr->getBufferData(FID);
261 while (isWhitespace(MB[i]))
263 indentSpace = MB.substr(lineOffs, i-lineOffs);
327 StringRef MB = SourceMgr->getBufferData(FID);
328 return ReplaceText(start, origLength, MB.substr(newOffs, newLength));
380 StringRef MB = SourceMgr->getBufferData(FID);
397 while (isWhitespace(MB[i]))
399 parentSpace = MB.substr(parentLineOffs, i-parentLineOffs);
402 while (isWhitespace(MB[i]))
404 startSpace = MB.substr(startLineOffs, i-startLineOffs);
418 while (isWhitespace(MB[i]))
420 StringRef origIndent = MB.substr(offs, i-offs);