aboutsummaryrefslogtreecommitdiff
path: root/lib/Driver/Driver.cpp
diff options
context:
space:
mode:
authorManuel Klimek <klimek@google.com>2012-05-16 20:55:58 +0000
committerManuel Klimek <klimek@google.com>2012-05-16 20:55:58 +0000
commit832a2aac5766dd78f113e0f03a0c62fd0eacbc97 (patch)
treef78236c436285ef97ba1554709d0258038d4ff40 /lib/Driver/Driver.cpp
parentee9ad5ce4840b3c95024948c89d00945ffdda9bb (diff)
Pulls diagnostics for temp file handling into the common diagnostic kinds.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@156947 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Driver/Driver.cpp')
-rw-r--r--lib/Driver/Driver.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Driver/Driver.cpp b/lib/Driver/Driver.cpp
index 872be32b79..9340ba10e5 100644
--- a/lib/Driver/Driver.cpp
+++ b/lib/Driver/Driver.cpp
@@ -1635,7 +1635,7 @@ std::string Driver::GetTemporaryPath(StringRef Prefix, const char *Suffix)
llvm::sys::Path P(TmpDir);
P.appendComponent(Prefix);
if (P.makeUnique(false, &Error)) {
- Diag(clang::diag::err_drv_unable_to_make_temp) << Error;
+ Diag(clang::diag::err_unable_to_make_temp) << Error;
return "";
}