summaryrefslogtreecommitdiffstats
path: root/lldb/source/Interpreter
diff options
context:
space:
mode:
authorZachary Turner <zturner@google.com>2014-07-08 04:28:07 +0000
committerZachary Turner <zturner@google.com>2014-07-08 04:28:07 +0000
commit24f3dee6ca075ae51953e1712cd36db6c0fd4d94 (patch)
tree94b5f63465133136019ae99bbac2c12e0ebff941 /lldb/source/Interpreter
parentafba553ede21c96fb7b2cf6473de102e11722493 (diff)
downloadbcm5719-llvm-24f3dee6ca075ae51953e1712cd36db6c0fd4d94.tar.gz
bcm5719-llvm-24f3dee6ca075ae51953e1712cd36db6c0fd4d94.zip
Fix a compilation failure caused by a non-const reference.
llvm-svn: 212509
Diffstat (limited to 'lldb/source/Interpreter')
-rw-r--r--lldb/source/Interpreter/CommandOptionValidators.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/source/Interpreter/CommandOptionValidators.cpp b/lldb/source/Interpreter/CommandOptionValidators.cpp
index c9f3e3b4635..7d66de53c0b 100644
--- a/lldb/source/Interpreter/CommandOptionValidators.cpp
+++ b/lldb/source/Interpreter/CommandOptionValidators.cpp
@@ -15,7 +15,7 @@
using namespace lldb;
using namespace lldb_private;
-bool PosixPlatformCommandOptionValidator::IsValid(Platform &platform, ExecutionContext &target) const
+bool PosixPlatformCommandOptionValidator::IsValid(Platform &platform, const ExecutionContext &target) const
{
llvm::Triple::OSType os = platform.GetSystemArchitecture().GetTriple().getOS();
switch (os)
OpenPOWER on IntegriCloud