make a method public.

llvm-svn: 49770
This commit is contained in:
Chris Lattner 2008-04-16 04:28:52 +00:00
parent 81f7584c4e
commit a776f953d7
1 changed files with 7 additions and 1 deletions

View File

@ -203,8 +203,14 @@ public:
RewriteBuffers.find(FileID);
return I == RewriteBuffers.end() ? 0 : &I->second;
}
private:
/// getEditBuffer - This is like getRewriteBufferFor, but always returns a
/// buffer, and allows you to write on it directly. This is useful if you
/// want efficient low-level access to apis for scribbling on one specific
/// FileID's buffer.
RewriteBuffer &getEditBuffer(unsigned FileID);
private:
unsigned getLocationOffsetAndFileID(SourceLocation Loc,
unsigned &FileID) const;
};