[Lldb-commits] [lldb] r282226 - Fix windows build caused by mixing enum and enum class.
Zachary Turner via lldb-commits
lldb-commits at lists.llvm.org
Thu Sep 22 19:54:26 PDT 2016
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];
}
More information about the lldb-commits
mailing list