summaryrefslogtreecommitdiffstats
path: root/clang/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
commit3ef9c44747fbe74cf1e55c10edfd7f7c5c248618 (patch)
treec1c7b369206f160e43acd7453528489b8c4559e2 /clang/lib/Driver/Driver.cpp
parent73dfcbbc29716cd7612cadf1c87e2de23e7270c6 (diff)
downloadbcm5719-llvm-3ef9c44747fbe74cf1e55c10edfd7f7c5c248618.tar.gz
bcm5719-llvm-3ef9c44747fbe74cf1e55c10edfd7f7c5c248618.zip
Pulls diagnostics for temp file handling into the common diagnostic kinds.
llvm-svn: 156947
Diffstat (limited to 'clang/lib/Driver/Driver.cpp')
-rw-r--r--clang/lib/Driver/Driver.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/Driver/Driver.cpp b/clang/lib/Driver/Driver.cpp
index 872be32b79b..9340ba10e50 100644
--- a/clang/lib/Driver/Driver.cpp
+++ b/clang/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 "";
}
OpenPOWER on IntegriCloud