summaryrefslogtreecommitdiffstats
path: root/lldb/include/lldb/Host/OptionParser.h
diff options
context:
space:
mode:
authorZachary Turner <zturner@google.com>2015-02-25 18:42:47 +0000
committerZachary Turner <zturner@google.com>2015-02-25 18:42:47 +0000
commit171d943ac53788d5a41e35927d71dca30f878519 (patch)
tree70e7d7eb438519e1dff9203cc51116e335215dac /lldb/include/lldb/Host/OptionParser.h
parentf42e83cf722b71d82830e038143e3266a1b24a60 (diff)
downloadbcm5719-llvm-171d943ac53788d5a41e35927d71dca30f878519.tar.gz
bcm5719-llvm-171d943ac53788d5a41e35927d71dca30f878519.zip
Fix warnings found with clang-cl.
Earlier this week I was able to get clang-cl on Windows to be able to self host. This opened the door to being able to get a whole new slew of warnings for the Windows build. This patch fixes all of the warnings, many of which were real bugs. llvm-svn: 230522
Diffstat (limited to 'lldb/include/lldb/Host/OptionParser.h')
-rw-r--r--lldb/include/lldb/Host/OptionParser.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/include/lldb/Host/OptionParser.h b/lldb/include/lldb/Host/OptionParser.h
index 5aa7db5d34b..a169ce6ad6c 100644
--- a/lldb/include/lldb/Host/OptionParser.h
+++ b/lldb/include/lldb/Host/OptionParser.h
@@ -46,7 +46,7 @@ public:
const char *optstring,
const Option *longopts, int *longindex);
- static char* GetOptionArgument();
+ static const char* GetOptionArgument();
static int GetOptionIndex();
static int GetOptionErrorCause();
static std::string GetShortOptionString(struct option *long_options);
OpenPOWER on IntegriCloud