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]; }
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]; }
_______________________________________________ lldb-commits mailing list lldb-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits