Remove the “len” defaulted parameter from CommandReturnObject::AppendMessage, AppendW...
authorJim Ingham <jingham@apple.com>
Sat, 15 Dec 2012 02:40:54 +0000 (02:40 +0000)
committerJim Ingham <jingham@apple.com>
Sat, 15 Dec 2012 02:40:54 +0000 (02:40 +0000)
commit17fafa155cc4e6e8170c149ee20ef5ac685ee918
treee5586c8d436909e2b6072e203e481f9eb56a74ae
parent2e1f745da77279d3e06822ffa3484ad325810874
Remove the “len” defaulted parameter from CommandReturnObject::AppendMessage, AppendWarning and AppendError.  Nobody was using them, and it meant if you accidentally used the AppendWarning when you meant AppendWarningWithFormat with an integer in the format string, it would compile and then return your string plus some unknown amount of junk.

llvm-svn: 170266
lldb/include/lldb/Interpreter/CommandReturnObject.h
lldb/source/API/SBCommandReturnObject.cpp
lldb/source/Commands/CommandObjectTarget.cpp
lldb/source/Interpreter/CommandReturnObject.cpp