From: Zachary Turner Date: Fri, 23 Sep 2016 02:54:26 +0000 (+0000) Subject: Fix windows build caused by mixing enum and enum class. X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=5eb536069fbd1446d77e92fb36ee6fcb4d3a339e;p=platform%2Fupstream%2Fllvm.git Fix windows build caused by mixing enum and enum class. llvm-svn: 282226 --- diff --git a/lldb/include/lldb/Breakpoint/BreakpointOptions.h b/lldb/include/lldb/Breakpoint/BreakpointOptions.h index 791c66c..3c9bea9 100644 --- a/lldb/include/lldb/Breakpoint/BreakpointOptions.h +++ b/lldb/include/lldb/Breakpoint/BreakpointOptions.h @@ -368,7 +368,7 @@ protected: }; static const char *g_option_names[(size_t) OptionNames::LastOptionName]; - static const char *GetKey(enum OptionNames enum_value) { + static const char *GetKey(OptionNames enum_value) { return g_option_names[(size_t) enum_value]; } diff --git a/lldb/include/lldb/Target/ThreadSpec.h b/lldb/include/lldb/Target/ThreadSpec.h index 7b22c28..204f1f9fb 100644 --- a/lldb/include/lldb/Target/ThreadSpec.h +++ b/lldb/include/lldb/Target/ThreadSpec.h @@ -123,7 +123,7 @@ private: }; static const char *g_option_names[(size_t)OptionNames::LastOptionName]; - static const char *GetKey(enum OptionNames enum_value) { + static const char *GetKey(OptionNames enum_value) { return g_option_names[(size_t) enum_value]; }