diff options
Diffstat (limited to 'contrib/llvm/tools/lldb/source/Interpreter/Args.cpp')
| -rw-r--r-- | contrib/llvm/tools/lldb/source/Interpreter/Args.cpp | 5 | 
1 files changed, 5 insertions, 0 deletions
diff --git a/contrib/llvm/tools/lldb/source/Interpreter/Args.cpp b/contrib/llvm/tools/lldb/source/Interpreter/Args.cpp index a23ba3094b22..07e5191f898a 100644 --- a/contrib/llvm/tools/lldb/source/Interpreter/Args.cpp +++ b/contrib/llvm/tools/lldb/source/Interpreter/Args.cpp @@ -185,6 +185,11 @@ Args::Args(llvm::StringRef command) { SetCommandString(command); }  Args::Args(const Args &rhs) { *this = rhs; } +Args::Args(const StringList &list) : Args() { +  for(size_t i = 0; i < list.GetSize(); ++i) +    AppendArgument(list[i]); +} +  Args &Args::operator=(const Args &rhs) {    Clear();  | 
