summaryrefslogtreecommitdiffstats
path: root/lldb/source/Core/FormatEntity.cpp
diff options
context:
space:
mode:
authorRaphael Isemann <teemperor@gmail.com>2019-12-06 08:38:23 +0100
committerRaphael Isemann <teemperor@gmail.com>2019-12-06 09:40:42 +0100
commit4dac97eb1e6563750e682e482e68f29ac076a4f7 (patch)
treef766d99985f1c8f5674d1939b7de7e38b669315c /lldb/source/Core/FormatEntity.cpp
parent51ce067a442ee6381527b12d113f51906b0245a8 (diff)
downloadbcm5719-llvm-4dac97eb1e6563750e682e482e68f29ac076a4f7.tar.gz
bcm5719-llvm-4dac97eb1e6563750e682e482e68f29ac076a4f7.zip
[lldb][NFC] Migrate FileSpec::Dump to raw_ostream
Diffstat (limited to 'lldb/source/Core/FormatEntity.cpp')
-rw-r--r--lldb/source/Core/FormatEntity.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/source/Core/FormatEntity.cpp b/lldb/source/Core/FormatEntity.cpp
index 81ad6d127f0..beab026e67a 100644
--- a/lldb/source/Core/FormatEntity.cpp
+++ b/lldb/source/Core/FormatEntity.cpp
@@ -2310,7 +2310,7 @@ bool FormatEntity::FormatFileSpec(const FileSpec &file_spec, Stream &s,
llvm::StringRef variable_name,
llvm::StringRef variable_format) {
if (variable_name.empty() || variable_name.equals(".fullpath")) {
- file_spec.Dump(&s);
+ file_spec.Dump(s.AsRawOstream());
return true;
} else if (variable_name.equals(".basename")) {
s.PutCString(file_spec.GetFilename().AsCString(""));
OpenPOWER on IntegriCloud