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 | 9ba8fb1e48baba536621d544da1299df83847548 (patch) | |
tree | dc00f76f10b585d1346f0e01068615ab7195ed1f /clang/lib/Frontend/CompilerInstance.cpp | |
parent | d91d5f162f099eea10054ef3b083a18ca1558e0c (diff) | |
download | bcm5719-llvm-9ba8fb1e48baba536621d544da1299df83847548.tar.gz bcm5719-llvm-9ba8fb1e48baba536621d544da1299df83847548.zip |
Get rid of the static FileManager::FixupRelativePath.
llvm-svn: 127573
Diffstat (limited to 'clang/lib/Frontend/CompilerInstance.cpp')
-rw-r--r-- | clang/lib/Frontend/CompilerInstance.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/Frontend/CompilerInstance.cpp b/clang/lib/Frontend/CompilerInstance.cpp index 70d6fef2951..b47da312a19 100644 --- a/clang/lib/Frontend/CompilerInstance.cpp +++ b/clang/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) |