From efe8e7e36d01cfa19b8c405fffc3411c8c74cabf Mon Sep 17 00:00:00 2001 From: Fangrui Song Date: Tue, 14 May 2019 08:55:50 +0000 Subject: typedef enum -> enum Reviewed By: labath Differential Revision: https://reviews.llvm.org/D61883 llvm-svn: 360654 --- lldb/source/Commands/CommandObjectBreakpoint.cpp | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) (limited to 'lldb/source/Commands/CommandObjectBreakpoint.cpp') diff --git a/lldb/source/Commands/CommandObjectBreakpoint.cpp b/lldb/source/Commands/CommandObjectBreakpoint.cpp index d4ec326fbc4..a4f558e7f81 100644 --- a/lldb/source/Commands/CommandObjectBreakpoint.cpp +++ b/lldb/source/Commands/CommandObjectBreakpoint.cpp @@ -324,7 +324,7 @@ static constexpr OptionDefinition g_breakpoint_set_options[] = { class CommandObjectBreakpointSet : public CommandObjectParsed { public: - typedef enum BreakpointSetType { + enum BreakpointSetType { eSetTypeInvalid, eSetTypeFileAndLine, eSetTypeAddress, @@ -333,7 +333,7 @@ public: eSetTypeSourceRegexp, eSetTypeException, eSetTypeScripted, - } BreakpointSetType; + }; CommandObjectBreakpointSet(CommandInterpreter &interpreter) : CommandObjectParsed( @@ -1420,10 +1420,7 @@ static constexpr OptionDefinition g_breakpoint_clear_options[] = { class CommandObjectBreakpointClear : public CommandObjectParsed { public: - typedef enum BreakpointClearType { - eClearTypeInvalid, - eClearTypeFileAndLine - } BreakpointClearType; + enum BreakpointClearType { eClearTypeInvalid, eClearTypeFileAndLine }; CommandObjectBreakpointClear(CommandInterpreter &interpreter) : CommandObjectParsed(interpreter, "breakpoint clear", -- cgit v1.2.3