summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStephen Wilson <wilsons@start.ca>2011-03-23 02:12:10 +0000
committerStephen Wilson <wilsons@start.ca>2011-03-23 02:12:10 +0000
commit0c16aa6d39be6e37b7c8c86416a261cbb0c55bd1 (patch)
treeeab4203ded5a6f8b83e7407c0db540c4ade0dbdd
parente9b1491d49b3d9691a58ba58652aa936839ed33a (diff)
downloadbcm5719-llvm-0c16aa6d39be6e37b7c8c86416a261cbb0c55bd1.tar.gz
bcm5719-llvm-0c16aa6d39be6e37b7c8c86416a261cbb0c55bd1.zip
Eliminate a pile of "type qualifiers ignored on function return type" warnings.
llvm-svn: 128136
-rw-r--r--lldb/include/lldb/Interpreter/CommandObject.h2
-rw-r--r--lldb/source/Interpreter/CommandObject.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/lldb/include/lldb/Interpreter/CommandObject.h b/lldb/include/lldb/Interpreter/CommandObject.h
index 4822cc31c26..96498c99566 100644
--- a/lldb/include/lldb/Interpreter/CommandObject.h
+++ b/lldb/include/lldb/Interpreter/CommandObject.h
@@ -120,7 +120,7 @@ public:
static const ArgumentTableEntry*
GetArgumentTable ();
- static const lldb::CommandArgumentType
+ static lldb::CommandArgumentType
LookupArgumentName (const char *arg_name);
static ArgumentTableEntry *
diff --git a/lldb/source/Interpreter/CommandObject.cpp b/lldb/source/Interpreter/CommandObject.cpp
index 6503e29d5e6..7cdf36dcfe0 100644
--- a/lldb/source/Interpreter/CommandObject.cpp
+++ b/lldb/source/Interpreter/CommandObject.cpp
@@ -570,7 +570,7 @@ CommandObject::GetFormattedCommandArguments (Stream &str)
}
}
-const CommandArgumentType
+CommandArgumentType
CommandObject::LookupArgumentName (const char *arg_name)
{
CommandArgumentType return_type = eArgTypeLastArg;
OpenPOWER on IntegriCloud