diff options
author | Anders Carlsson <andersca@mac.com> | 2011-03-14 01:13:54 +0000 |
---|---|---|
committer | Anders Carlsson <andersca@mac.com> | 2011-03-14 01:13:54 +0000 |
commit | 2e2468e2d2ccbb9a38fe3b6b754009af7e5d39a9 (patch) | |
tree | 9294460a0d3fdefdbcd66a57fb2118434dac407f /lib/Frontend/CompilerInstance.cpp | |
parent | 4597b7b28e3a71f3c4f0ee3a3bd6a34423e6f885 (diff) |
Get rid of the static FileManager::FixupRelativePath.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@127573 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Frontend/CompilerInstance.cpp')
-rw-r--r-- | lib/Frontend/CompilerInstance.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Frontend/CompilerInstance.cpp b/lib/Frontend/CompilerInstance.cpp index 70d6fef295..b47da312a1 100644 --- a/lib/Frontend/CompilerInstance.cpp +++ b/lib/Frontend/CompilerInstance.cpp @@ -370,7 +370,7 @@ void CompilerInstance::clearOutputFiles(bool EraseFiles) { // If '-working-directory' was passed, the output filename should be // relative to that. - FileManager::FixupRelativePath(NewOutFile, getFileSystemOpts()); + FileMgr->FixupRelativePath(NewOutFile); if (llvm::error_code ec = llvm::sys::fs::rename(it->TempFilename, NewOutFile.str())) { getDiagnostics().Report(diag::err_fe_unable_to_rename_temp) |