From bdc3f3415000dcb0fc021233f0e2e7d66855dd13 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Mon, 5 Apr 2010 23:07:42 +0000 Subject: [PATCH] add a comment. llvm-svn: 100490 --- llvm/include/llvm/Support/SourceMgr.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/llvm/include/llvm/Support/SourceMgr.h b/llvm/include/llvm/Support/SourceMgr.h index fd56b16639cb..158e7c9f4265 100644 --- a/llvm/include/llvm/Support/SourceMgr.h +++ b/llvm/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;