aboutsummaryrefslogtreecommitdiffstats
path: root/include/llvm
diff options
context:
space:
mode:
Diffstat (limited to 'include/llvm')
-rw-r--r--include/llvm/Support/MemoryBuffer.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/include/llvm/Support/MemoryBuffer.h b/include/llvm/Support/MemoryBuffer.h
index fa1942341b..b6243b7b10 100644
--- a/include/llvm/Support/MemoryBuffer.h
+++ b/include/llvm/Support/MemoryBuffer.h
@@ -69,8 +69,7 @@ public:
int64_t FileSize = -1);
/// getOpenFile - Given an already-open file descriptor, read the file and
- /// return a MemoryBuffer. This takes ownership of the descriptor,
- /// immediately closing it after reading the file.
+ /// return a MemoryBuffer.
static error_code getOpenFile(int FD, const char *Filename,
OwningPtr<MemoryBuffer> &result,
int64_t FileSize = -1);