Patch from Viktor Kutuzov: changes the method declarations to const for the Args::GetCommandString and Agrs::GetQuotedCommandString methods. It allows using of these methods within the other const methods.



git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@155593 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/source/Interpreter/Args.cpp b/source/Interpreter/Args.cpp
index 99dddda..a6eb1f0 100644
--- a/source/Interpreter/Args.cpp
+++ b/source/Interpreter/Args.cpp
@@ -114,7 +114,7 @@
 }
 
 bool
-Args::GetCommandString (std::string &command)
+Args::GetCommandString (std::string &command) const
 {
     command.clear();
     int argc = GetArgumentCount();
@@ -128,7 +128,7 @@
 }
 
 bool
-Args::GetQuotedCommandString (std::string &command)
+Args::GetQuotedCommandString (std::string &command) const
 {
     command.clear ();
     size_t argc = GetArgumentCount ();