Lines Matching refs:MB
230 StringRef MB = SourceMgr->getBufferData(FID);
231 I->second.Initialize(MB.begin(), MB.end());
246 StringRef MB = SourceMgr->getBufferData(FID);
257 while (isWhitespace(MB[i]))
259 indentSpace = MB.substr(lineOffs, i-lineOffs);
323 StringRef MB = SourceMgr->getBufferData(FID);
324 return ReplaceText(start, origLength, MB.substr(newOffs, newLength));
373 StringRef MB = SourceMgr->getBufferData(FID);
390 while (isWhitespace(MB[i]))
392 parentSpace = MB.substr(parentLineOffs, i-parentLineOffs);
395 while (isWhitespace(MB[i]))
397 startSpace = MB.substr(startLineOffs, i-startLineOffs);
411 while (isWhitespace(MB[i]))
413 StringRef origIndent = MB.substr(offs, i-offs);