diff options
author | Zachary Turner <zturner@google.com> | 2016-11-14 23:23:31 +0000 |
---|---|---|
committer | Zachary Turner <zturner@google.com> | 2016-11-14 23:23:31 +0000 |
commit | 03c9f3642af61f089977ab7a683ad5a2405c67f8 (patch) | |
tree | 143924a99bb9e8f275bdd03dd58734abf1155c40 /lldb/source/Interpreter/CommandObject.cpp | |
parent | 3cb86272fc4c2c42cce63a978879a4299a8c7bd5 (diff) | |
download | llvm-03c9f3642af61f089977ab7a683ad5a2405c67f8.zip llvm-03c9f3642af61f089977ab7a683ad5a2405c67f8.tar.gz llvm-03c9f3642af61f089977ab7a683ad5a2405c67f8.tar.bz2 |
Fix some StringRef Printf warnings.
llvm-svn: 286906
Diffstat (limited to 'lldb/source/Interpreter/CommandObject.cpp')
-rw-r--r-- | lldb/source/Interpreter/CommandObject.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/source/Interpreter/CommandObject.cpp b/lldb/source/Interpreter/CommandObject.cpp index c9337a5..a7f590fd 100644 --- a/lldb/source/Interpreter/CommandObject.cpp +++ b/lldb/source/Interpreter/CommandObject.cpp @@ -862,7 +862,7 @@ void CommandObject::GenerateHelpText(Stream &output_strm) { 1); } else interpreter.OutputFormattedHelpText(output_strm, "", "", GetHelp(), 1); - output_strm.Printf("\nSyntax: %s\n", GetSyntax()); + output_strm << "\nSyntax: " << GetSyntax() << "\n"; Options *options = GetOptions(); if (options != nullptr) { options->GenerateOptionUsage( |