diff options
author | Chris Lattner <sabre@nondot.org> | 2010-11-23 04:45:28 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2010-11-23 04:45:28 +0000 |
commit | 67452f51aec1ad8a3e4c6622c0c57c5d8dc1b6a3 (patch) | |
tree | f8d0d3f08c6a3dd7650fd606e4788c37508045b2 /include/clang/Basic/FileManager.h | |
parent | 7ad629ebefa87269cc1887debc83cfa58c285a80 (diff) |
stringref'ize API
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@119997 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/clang/Basic/FileManager.h')
-rw-r--r-- | include/clang/Basic/FileManager.h | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/include/clang/Basic/FileManager.h b/include/clang/Basic/FileManager.h index 7fd19d9296..3ee7d40c1e 100644 --- a/include/clang/Basic/FileManager.h +++ b/include/clang/Basic/FileManager.h @@ -225,15 +225,6 @@ public: const FileSystemOptions &FileSystemOpts, std::string *ErrorStr = 0, int64_t FileSize = -1, - struct stat *FileInfo = 0) { - return getBufferForFile(Filename.begin(), Filename.end(), FileSystemOpts, - ErrorStr, FileSize, FileInfo); - } - llvm::MemoryBuffer *getBufferForFile(const char *FilenameStart, - const char *FilenameEnd, - const FileSystemOptions &FileSystemOpts, - std::string *ErrorStr = 0, - int64_t FileSize = -1, struct stat *FileInfo = 0); /// \brief If path is not absolute and FileSystemOptions set the working @@ -241,7 +232,7 @@ public: /// working directory. static void FixupRelativePath(llvm::sys::Path &path, const FileSystemOptions &FSOpts); - + void PrintStats() const; }; |