aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Support/MemoryBuffer.cpp
diff options
context:
space:
mode:
authorRafael Espindola <rafael.espindola@gmail.com>2013-06-12 14:11:15 +0000
committerRafael Espindola <rafael.espindola@gmail.com>2013-06-12 14:11:15 +0000
commit2e0372d69ab11fb6c38b35d533e0a6358fd38658 (patch)
treec8888f406e8c1ac4018499f1b5763fa25f35fbc7 /lib/Support/MemoryBuffer.cpp
parentddee9b46917d10e7d854011d275b77ad41693726 (diff)
downloadexternal_llvm-2e0372d69ab11fb6c38b35d533e0a6358fd38658.tar.gz
external_llvm-2e0372d69ab11fb6c38b35d533e0a6358fd38658.tar.bz2
external_llvm-2e0372d69ab11fb6c38b35d533e0a6358fd38658.zip
Remove the old file memory mapping functions.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@183828 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Support/MemoryBuffer.cpp')
-rw-r--r--lib/Support/MemoryBuffer.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/Support/MemoryBuffer.cpp b/lib/Support/MemoryBuffer.cpp
index 7c5ab96a76..82812c0aed 100644
--- a/lib/Support/MemoryBuffer.cpp
+++ b/lib/Support/MemoryBuffer.cpp
@@ -33,8 +33,7 @@
#include <unistd.h>
#else
#include <io.h>
-// Simplistic definitinos of these macros to allow files to be read with
-// MapInFilePages.
+// Simplistic definitinos of these macros for use in getOpenFile.
#ifndef S_ISREG
#define S_ISREG(x) (1)
#endif