diff options
author | Chris Lattner <sabre@nondot.org> | 2010-11-23 07:51:02 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2010-11-23 07:51:02 +0000 |
commit | 7ad97ffa631af6ad678c79b38341ac995f347ce9 (patch) | |
tree | 91682978a5bcc7469d1e8685bcb157952f68d574 /include/clang/Basic/FileManager.h | |
parent | 02a8078b9de108b6d0c33f488ebf06cb826cf4b6 (diff) |
give FileManager a 'FileSystemOptions' ivar, which will be used
to simplify a bunch of code in it. It should ultimately get inlined
into FileManager.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@120007 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/clang/Basic/FileManager.h')
-rw-r--r-- | include/clang/Basic/FileManager.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/include/clang/Basic/FileManager.h b/include/clang/Basic/FileManager.h index 77eb1f4d1e..d5d2da7c26 100644 --- a/include/clang/Basic/FileManager.h +++ b/include/clang/Basic/FileManager.h @@ -141,7 +141,8 @@ public: /// names (e.g. symlinked) will be treated as a single file. /// class FileManager { - + const FileSystemOptions &FileSystemOpts; + class UniqueDirContainer; class UniqueFileContainer; @@ -170,11 +171,10 @@ class FileManager { // Caching. llvm::OwningPtr<StatSysCallCache> StatCache; - int stat_cached(const char* path, struct stat* buf, - const FileSystemOptions &FileSystemOpts); + int stat_cached(const char* path, struct stat* buf); public: - FileManager(); + FileManager(const FileSystemOptions &FileSystemOpts); ~FileManager(); /// \brief Installs the provided StatSysCallCache object within |