diff options
author | Alp Toker <alp@nuanti.com> | 2014-01-27 05:24:39 +0000 |
---|---|---|
committer | Alp Toker <alp@nuanti.com> | 2014-01-27 05:24:39 +0000 |
commit | 17d4e98e7308922d6cbf24a577367dca75d3920e (patch) | |
tree | 230c7800a25a1a46d4cd91d4235ccdde6bc8ba27 /llvm/lib/Support/ErrorHandling.cpp | |
parent | 0d865d3d7beb04ab0f634a711a785156e25771aa (diff) | |
download | bcm5719-llvm-17d4e98e7308922d6cbf24a577367dca75d3920e.tar.gz bcm5719-llvm-17d4e98e7308922d6cbf24a577367dca75d3920e.zip |
Roll back the ConstStringRef change for now
There are a couple of interesting things here that we want to check over
(particularly the expecting asserts in StringRef) and get right for general use
in ADT so hold back on this one. For clang we have a workable templated
solution to use in the meanwhile.
This reverts commit r200187.
llvm-svn: 200194
Diffstat (limited to 'llvm/lib/Support/ErrorHandling.cpp')
-rw-r--r-- | llvm/lib/Support/ErrorHandling.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Support/ErrorHandling.cpp b/llvm/lib/Support/ErrorHandling.cpp index 141319ca4ea..1aa8303b9e2 100644 --- a/llvm/lib/Support/ErrorHandling.cpp +++ b/llvm/lib/Support/ErrorHandling.cpp @@ -58,7 +58,7 @@ void llvm::report_fatal_error(const std::string &Reason, bool GenCrashDiag) { report_fatal_error(Twine(Reason), GenCrashDiag); } -void llvm::report_fatal_error(const StringRef &Reason, bool GenCrashDiag) { +void llvm::report_fatal_error(StringRef Reason, bool GenCrashDiag) { report_fatal_error(Twine(Reason), GenCrashDiag); } |