summaryrefslogtreecommitdiffstats
path: root/clang/lib/Frontend/CompilerInstance.cpp
diff options
context:
space:
mode:
authorAnders Carlsson <andersca@mac.com>2011-03-14 01:13:54 +0000
committerAnders Carlsson <andersca@mac.com>2011-03-14 01:13:54 +0000
commit9ba8fb1e48baba536621d544da1299df83847548 (patch)
treedc00f76f10b585d1346f0e01068615ab7195ed1f /clang/lib/Frontend/CompilerInstance.cpp
parentd91d5f162f099eea10054ef3b083a18ca1558e0c (diff)
downloadbcm5719-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.cpp2
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)
OpenPOWER on IntegriCloud