summaryrefslogtreecommitdiffstats
path: root/lldb/source/Target/Process.cpp
diff options
context:
space:
mode:
authorSean Callanan <scallanan@apple.com>2015-12-09 01:25:01 +0000
committerSean Callanan <scallanan@apple.com>2015-12-09 01:25:01 +0000
commit77decf5f205be7718282e1dd9f451012873dd4fa (patch)
treea9844bee677c9152c6abf28f5232f2e47aabf2a6 /lldb/source/Target/Process.cpp
parent97564c3a1b015a5212cab9dfe048425fcb00ff97 (diff)
downloadbcm5719-llvm-77decf5f205be7718282e1dd9f451012873dd4fa.tar.gz
bcm5719-llvm-77decf5f205be7718282e1dd9f451012873dd4fa.zip
When printing warnings, the repeat_key should be
const void * because the data is never accessed, the pointer is the only useful piece of data. llvm-svn: 255090
Diffstat (limited to 'lldb/source/Target/Process.cpp')
-rw-r--r--lldb/source/Target/Process.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/source/Target/Process.cpp b/lldb/source/Target/Process.cpp
index cbe2d58eb13..3297addbbfa 100644
--- a/lldb/source/Target/Process.cpp
+++ b/lldb/source/Target/Process.cpp
@@ -6400,7 +6400,7 @@ Process::ModulesDidLoad (ModuleList &module_list)
}
void
-Process::PrintWarning (uint64_t warning_type, void *repeat_key, const char *fmt, ...)
+Process::PrintWarning (uint64_t warning_type, const void *repeat_key, const char *fmt, ...)
{
bool print_warning = true;
OpenPOWER on IntegriCloud