[Lldb-commits] [PATCH] D24853: Fix windows build.It does not like mixed 'enum' and 'enum class'.

Andrew Ford via lldb-commits lldb-commits at lists.llvm.org
Thu Sep 22 17:13:45 PDT 2016


andrewford created this revision.
andrewford added a reviewer: jingham.
andrewford added a subscriber: lldb-commits.

Change-Id: I611460cf4df58073bda64e16847e5358c3361aa7

https://reviews.llvm.org/D24853

Files:
  include/lldb/Breakpoint/BreakpointOptions.h

Index: include/lldb/Breakpoint/BreakpointOptions.h
===================================================================
--- include/lldb/Breakpoint/BreakpointOptions.h
+++ include/lldb/Breakpoint/BreakpointOptions.h
@@ -368,7 +368,7 @@
   };
   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];
   }
 


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D24853.72225.patch
Type: text/x-patch
Size: 490 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20160923/e074a41e/attachment-0001.bin>


More information about the lldb-commits mailing list