diff options
| author | Pavel Labath <labath@google.com> | 2017-02-17 10:19:46 +0000 |
|---|---|---|
| committer | Pavel Labath <labath@google.com> | 2017-02-17 10:19:46 +0000 |
| commit | a272fa8fff0674a2435603d5e8e7c095d6095483 (patch) | |
| tree | 850dd350767fac0ccc0bf6b7337b8ba288d583ad /lldb/source/Utility/Error.cpp | |
| parent | e2fa53030e1457060e5b88d4168be9c5b121054c (diff) | |
| download | bcm5719-llvm-a272fa8fff0674a2435603d5e8e7c095d6095483.tar.gz bcm5719-llvm-a272fa8fff0674a2435603d5e8e7c095d6095483.zip | |
Fix breakage caused by r295368
Also move the ErrorTest into the Utility package, to follow the class it
is testing.
llvm-svn: 295436
Diffstat (limited to 'lldb/source/Utility/Error.cpp')
| -rw-r--r-- | lldb/source/Utility/Error.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lldb/source/Utility/Error.cpp b/lldb/source/Utility/Error.cpp index 0b14949e88f..32f60b39729 100644 --- a/lldb/source/Utility/Error.cpp +++ b/lldb/source/Utility/Error.cpp @@ -235,6 +235,7 @@ int Error::SetErrorStringWithVarArg(const char *format, va_list args) { llvm::SmallString<1024> buf; VASprintf(buf, format, args); + m_string = buf.str(); return buf.size(); } else { m_string.clear(); |

