diff options
author | Manuel Klimek <klimek@google.com> | 2012-05-16 20:55:58 +0000 |
---|---|---|
committer | Manuel Klimek <klimek@google.com> | 2012-05-16 20:55:58 +0000 |
commit | 3ef9c44747fbe74cf1e55c10edfd7f7c5c248618 (patch) | |
tree | c1c7b369206f160e43acd7453528489b8c4559e2 /clang/lib/Frontend/CompilerInstance.cpp | |
parent | 73dfcbbc29716cd7612cadf1c87e2de23e7270c6 (diff) | |
download | llvm-3ef9c44747fbe74cf1e55c10edfd7f7c5c248618.zip llvm-3ef9c44747fbe74cf1e55c10edfd7f7c5c248618.tar.gz llvm-3ef9c44747fbe74cf1e55c10edfd7f7c5c248618.tar.bz2 |
Pulls diagnostics for temp file handling into the common diagnostic kinds.
llvm-svn: 156947
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 c5b6a8f..cd24a69 100644 --- a/clang/lib/Frontend/CompilerInstance.cpp +++ b/clang/lib/Frontend/CompilerInstance.cpp @@ -456,7 +456,7 @@ void CompilerInstance::clearOutputFiles(bool EraseFiles) { 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) + getDiagnostics().Report(diag::err_unable_to_rename_temp) << it->TempFilename << it->Filename << ec.message(); bool existed; |