aboutsummaryrefslogtreecommitdiff
path: root/include/clang/Basic/FileManager.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/clang/Basic/FileManager.h')
-rw-r--r--include/clang/Basic/FileManager.h8
1 files changed, 3 insertions, 5 deletions
diff --git a/include/clang/Basic/FileManager.h b/include/clang/Basic/FileManager.h
index 3ee7d40c1e..77eb1f4d1e 100644
--- a/include/clang/Basic/FileManager.h
+++ b/include/clang/Basic/FileManager.h
@@ -216,16 +216,14 @@ public:
/// MemoryBuffer if successful, otherwise returning null.
llvm::MemoryBuffer *getBufferForFile(const FileEntry *Entry,
const FileSystemOptions &FileSystemOpts,
- std::string *ErrorStr = 0,
- struct stat *FileInfo = 0) {
+ std::string *ErrorStr = 0) {
return getBufferForFile(Entry->getName(), FileSystemOpts,
- ErrorStr, Entry->getSize(), FileInfo);
+ ErrorStr, Entry->getSize());
}
llvm::MemoryBuffer *getBufferForFile(llvm::StringRef Filename,
const FileSystemOptions &FileSystemOpts,
std::string *ErrorStr = 0,
- int64_t FileSize = -1,
- struct stat *FileInfo = 0);
+ int64_t FileSize = -1);
/// \brief If path is not absolute and FileSystemOptions set the working
/// directory, the path is modified to be relative to the given