diff options
author | Chris Lattner <sabre@nondot.org> | 2010-11-21 09:55:08 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2010-11-21 09:55:08 +0000 |
commit | 6538227d51df249b07c8ab80ae376f5c1d14403c (patch) | |
tree | bc53dcbfd7d7a7622637c81b0c9eb3715c894a57 /include/clang/Basic/FileManager.h | |
parent | f69a1f319bd3c846c4a9ab84ea615e4e37dfd359 (diff) |
remove old compatibility APIs, use StringRef versions instead.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@119935 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, 0 insertions, 11 deletions
diff --git a/include/clang/Basic/FileManager.h b/include/clang/Basic/FileManager.h index 05a3413312..7fd19d9296 100644 --- a/include/clang/Basic/FileManager.h +++ b/include/clang/Basic/FileManager.h @@ -198,23 +198,12 @@ public: /// const DirectoryEntry *getDirectory(llvm::StringRef Filename, const FileSystemOptions &FileSystemOpts); - const DirectoryEntry *getDirectory(const char *FileStart,const char *FileEnd, - const FileSystemOptions &FileSystemOpts) { - return getDirectory(llvm::StringRef(FileStart, FileEnd-FileStart), - FileSystemOpts); - } /// getFile - Lookup, cache, and verify the specified file. This returns null /// if the file doesn't exist. /// const FileEntry *getFile(llvm::StringRef Filename, const FileSystemOptions &FileSystemOpts); - const FileEntry *getFile(const char *FilenameStart, - const char *FilenameEnd, - const FileSystemOptions &FileSystemOpts) { - return getFile(llvm::StringRef(FilenameStart, FilenameEnd-FilenameStart), - FileSystemOpts); - } /// \brief Retrieve a file entry for a "virtual" file that acts as /// if there were a file with the given name on disk. The file |