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/Driver/Driver.cpp | |
parent | 73dfcbbc29716cd7612cadf1c87e2de23e7270c6 (diff) | |
download | bcm5719-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.cpp | 2 |
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 ""; } |