From: Chris Lattner Date: Mon, 5 Apr 2010 23:07:42 +0000 (+0000) Subject: add a comment. X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=e072ab869159015743d280a5b0390b68430b1dc0;p=oota-llvm.git add a comment. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@100490 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/include/llvm/Support/SourceMgr.h b/include/llvm/Support/SourceMgr.h index fd56b16639c..158e7c9f426 100644 --- a/include/llvm/Support/SourceMgr.h +++ b/include/llvm/Support/SourceMgr.h @@ -76,6 +76,8 @@ public: return Buffers[i].IncludeLoc; } + /// AddNewSourceBuffer - Add a new source buffer to this source manager. This + /// takes ownership of the memory buffer. unsigned AddNewSourceBuffer(MemoryBuffer *F, SMLoc IncludeLoc) { SrcBuffer NB; NB.Buffer = F;