Author: zturner Date: Thu Sep 22 21:54:26 2016 New Revision: 282226 URL: http://llvm.org/viewvc/llvm-project?rev=282226&view=rev Log: Fix windows build caused by mixing enum and enum class.
Modified: lldb/trunk/include/lldb/Breakpoint/BreakpointOptions.h lldb/trunk/include/lldb/Target/ThreadSpec.h Modified: lldb/trunk/include/lldb/Breakpoint/BreakpointOptions.h URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/include/lldb/Breakpoint/BreakpointOptions.h?rev=282226&r1=282225&r2=282226&view=diff ============================================================================== --- lldb/trunk/include/lldb/Breakpoint/BreakpointOptions.h (original) +++ lldb/trunk/include/lldb/Breakpoint/BreakpointOptions.h Thu Sep 22 21:54:26 2016 @@ -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]; } Modified: lldb/trunk/include/lldb/Target/ThreadSpec.h URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/include/lldb/Target/ThreadSpec.h?rev=282226&r1=282225&r2=282226&view=diff ============================================================================== --- lldb/trunk/include/lldb/Target/ThreadSpec.h (original) +++ lldb/trunk/include/lldb/Target/ThreadSpec.h Thu Sep 22 21:54:26 2016 @@ -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]; } _______________________________________________ lldb-commits mailing list lldb-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits