diff options
Diffstat (limited to 'include/clang/Lex')
-rw-r--r-- | include/clang/Lex/HeaderMap.h | 7 | ||||
-rw-r--r-- | include/clang/Lex/HeaderSearch.h | 6 | ||||
-rw-r--r-- | include/clang/Lex/PTHManager.h | 1 | ||||
-rw-r--r-- | include/clang/Lex/Preprocessor.h | 3 |
4 files changed, 3 insertions, 14 deletions
diff --git a/include/clang/Lex/HeaderMap.h b/include/clang/Lex/HeaderMap.h index 4f17ae3ec3..8a5c83ecf4 100644 --- a/include/clang/Lex/HeaderMap.h +++ b/include/clang/Lex/HeaderMap.h @@ -21,7 +21,6 @@ namespace llvm { namespace clang { class FileEntry; class FileManager; - class FileSystemOptions; struct HMapBucket; struct HMapHeader; @@ -44,13 +43,11 @@ public: /// HeaderMap::Create - This attempts to load the specified file as a header /// map. If it doesn't look like a HeaderMap, it gives up and returns null. - static const HeaderMap *Create(const FileEntry *FE, FileManager &FM, - const FileSystemOptions &FSOpts); + static const HeaderMap *Create(const FileEntry *FE, FileManager &FM); /// LookupFile - Check to see if the specified relative filename is located in /// this HeaderMap. If so, open it and return its FileEntry. - const FileEntry *LookupFile(llvm::StringRef Filename, FileManager &FM, - const FileSystemOptions &FileSystemOpts) const; + const FileEntry *LookupFile(llvm::StringRef Filename, FileManager &FM) const; /// getFileName - Return the filename of the headermap. const char *getFileName() const; diff --git a/include/clang/Lex/HeaderSearch.h b/include/clang/Lex/HeaderSearch.h index 7d467a5680..b8d5781a6d 100644 --- a/include/clang/Lex/HeaderSearch.h +++ b/include/clang/Lex/HeaderSearch.h @@ -23,7 +23,6 @@ namespace clang { class ExternalIdentifierLookup; class FileEntry; class FileManager; -class FileSystemOptions; class IdentifierInfo; /// HeaderFileInfo - The preprocessor keeps track of this information for each @@ -72,8 +71,6 @@ struct HeaderFileInfo { /// file referenced by a #include or #include_next, (sub-)framework lookup, etc. class HeaderSearch { FileManager &FileMgr; - const FileSystemOptions &FileSystemOpts; - /// #include search path information. Requests for #include "x" search the /// directory of the #including file first, then each directory in SearchDirs /// consequtively. Requests for <x> search the current dir first, then each @@ -120,11 +117,10 @@ class HeaderSearch { explicit HeaderSearch(const HeaderSearch&); void operator=(const HeaderSearch&); public: - HeaderSearch(FileManager &FM, const FileSystemOptions &FSOpts); + HeaderSearch(FileManager &FM); ~HeaderSearch(); FileManager &getFileMgr() const { return FileMgr; } - const FileSystemOptions &getFileSystemOpts() const { return FileSystemOpts; } /// SetSearchPaths - Interface for setting the file search paths. /// diff --git a/include/clang/Lex/PTHManager.h b/include/clang/Lex/PTHManager.h index a3787e3ffe..531ec11ea1 100644 --- a/include/clang/Lex/PTHManager.h +++ b/include/clang/Lex/PTHManager.h @@ -120,7 +120,6 @@ public: /// Create - This method creates PTHManager objects. The 'file' argument /// is the name of the PTH file. This method returns NULL upon failure. static PTHManager *Create(const std::string& file, FileManager &FileMgr, - const FileSystemOptions &FSOpts, Diagnostic &Diags); void setPreprocessor(Preprocessor *pp) { PP = pp; } diff --git a/include/clang/Lex/Preprocessor.h b/include/clang/Lex/Preprocessor.h index 261daed75b..c2fcfe218e 100644 --- a/include/clang/Lex/Preprocessor.h +++ b/include/clang/Lex/Preprocessor.h @@ -35,7 +35,6 @@ namespace clang { class SourceManager; class ExternalPreprocessorSource; class FileManager; -class FileSystemOptions; class FileEntry; class HeaderSearch; class PragmaNamespace; @@ -58,7 +57,6 @@ class Preprocessor { LangOptions Features; const TargetInfo &Target; FileManager &FileMgr; - const FileSystemOptions &FileSystemOpts; SourceManager &SourceMgr; ScratchBuffer *ScratchBuf; HeaderSearch &HeaderInfo; @@ -281,7 +279,6 @@ public: const LangOptions &getLangOptions() const { return Features; } const TargetInfo &getTargetInfo() const { return Target; } FileManager &getFileManager() const { return FileMgr; } - const FileSystemOptions &getFileSystemOpts() const { return FileSystemOpts; } SourceManager &getSourceManager() const { return SourceMgr; } HeaderSearch &getHeaderSearchInfo() const { return HeaderInfo; } |