diff options
Diffstat (limited to 'lldb/include/lldb/Interpreter/Args.h')
-rw-r--r-- | lldb/include/lldb/Interpreter/Args.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/lldb/include/lldb/Interpreter/Args.h b/lldb/include/lldb/Interpreter/Args.h index 84918367040..e0e748cdd8e 100644 --- a/lldb/include/lldb/Interpreter/Args.h +++ b/lldb/include/lldb/Interpreter/Args.h @@ -342,6 +342,12 @@ public: void Clear (); + static const char * + StripSpaces (std::string &s, + bool leading = true, + bool trailing = true, + bool return_null_if_empty = true); + static int32_t StringToSInt32 (const char *s, int32_t fail_value = 0, int base = 0, bool *success_ptr = NULL); |