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 | 3f5a9efb2df0d6728c0ea928704978f223dc1e08 (patch) | |
tree | 8ef8b8b7a88eb9ca38016446db6bd68ff27a004f /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | 3c7cab1402304648b57d86d8e74d409fe7bd7112 (diff) | |
download | llvm-3f5a9efb2df0d6728c0ea928704978f223dc1e08.zip llvm-3f5a9efb2df0d6728c0ea928704978f223dc1e08.tar.gz llvm-3f5a9efb2df0d6728c0ea928704978f223dc1e08.tar.bz2 |
give FileManager a 'FileSystemOptions' ivar, which will be used
to simplify a bunch of code in it. It should ultimately get inlined
into FileManager.
llvm-svn: 120007
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
-rw-r--r-- | clang/lib/Frontend/CompilerInvocation.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/Frontend/CompilerInvocation.cpp b/clang/lib/Frontend/CompilerInvocation.cpp index b1d6adb..b0c3036 100644 --- a/clang/lib/Frontend/CompilerInvocation.cpp +++ b/clang/lib/Frontend/CompilerInvocation.cpp @@ -1563,7 +1563,7 @@ void CompilerInvocation::CreateFromArgs(CompilerInvocation &Res, // PCH file and find the original header name. Remove the need to do that in // ParsePreprocessorArgs and remove the FileManager & FileSystemOptions // parameters from the function and the "FileManager.h" #include. - FileManager FileMgr; + FileManager FileMgr(Res.getFileSystemOpts()); ParsePreprocessorArgs(Res.getPreprocessorOpts(), *Args, FileMgr, Res.getFileSystemOpts(), Diags); ParsePreprocessorOutputArgs(Res.getPreprocessorOutputOpts(), *Args); |