diff options
| author | Dimitry Andric <dim@FreeBSD.org> | 2017-05-16 19:47:58 +0000 | 
|---|---|---|
| committer | Dimitry Andric <dim@FreeBSD.org> | 2017-05-16 19:47:58 +0000 | 
| commit | b76161e41bc2c07cd47f9c61f875d1be95e26d10 (patch) | |
| tree | d03c19ce10dec6419f97df1d4dac9d47eb88982f /source/DataFormatters/StringPrinter.cpp | |
| parent | 8b4000f13b303cc154136abc74c55670673e2a96 (diff) | |
Notes
Diffstat (limited to 'source/DataFormatters/StringPrinter.cpp')
| -rw-r--r-- | source/DataFormatters/StringPrinter.cpp | 6 | 
1 files changed, 3 insertions, 3 deletions
diff --git a/source/DataFormatters/StringPrinter.cpp b/source/DataFormatters/StringPrinter.cpp index 7ca3744a247a..84143a541087 100644 --- a/source/DataFormatters/StringPrinter.cpp +++ b/source/DataFormatters/StringPrinter.cpp @@ -15,7 +15,7 @@  #include "lldb/Target/Language.h"  #include "lldb/Target/Process.h"  #include "lldb/Target/Target.h" -#include "lldb/Utility/Error.h" +#include "lldb/Utility/Status.h"  #include "llvm/Support/ConvertUTF.h" @@ -417,7 +417,7 @@ bool StringPrinter::ReadStringAndDumpToStream<      StringPrinter::StringElementType::ASCII>(      const ReadStringAndDumpToStreamOptions &options) {    assert(options.GetStream() && "need a Stream to print the string to"); -  Error my_error; +  Status my_error;    ProcessSP process_sp(options.GetProcessSP()); @@ -561,7 +561,7 @@ static bool ReadUTFBufferAndDumpToStream(    if (!buffer_sp->GetBytes())      return false; -  Error error; +  Status error;    char *buffer = reinterpret_cast<char *>(buffer_sp->GetBytes());    if (needs_zero_terminator)  | 
