diff options
author | Fangrui Song <maskray@google.com> | 2019-05-14 08:55:50 +0000 |
---|---|---|
committer | Fangrui Song <maskray@google.com> | 2019-05-14 08:55:50 +0000 |
commit | efe8e7e36d01cfa19b8c405fffc3411c8c74cabf (patch) | |
tree | c606cbe8c4fbe0121d85b6d1e02ca27ed505fdf4 /lldb/source/Commands/CommandObjectBreakpoint.cpp | |
parent | 004393681c25e34e921adccc69ae6378090dee54 (diff) | |
download | llvm-efe8e7e36d01cfa19b8c405fffc3411c8c74cabf.zip llvm-efe8e7e36d01cfa19b8c405fffc3411c8c74cabf.tar.gz llvm-efe8e7e36d01cfa19b8c405fffc3411c8c74cabf.tar.bz2 |
typedef enum -> enum
Reviewed By: labath
Differential Revision: https://reviews.llvm.org/D61883
llvm-svn: 360654
Diffstat (limited to 'lldb/source/Commands/CommandObjectBreakpoint.cpp')
-rw-r--r-- | lldb/source/Commands/CommandObjectBreakpoint.cpp | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/lldb/source/Commands/CommandObjectBreakpoint.cpp b/lldb/source/Commands/CommandObjectBreakpoint.cpp index d4ec326..a4f558e 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", |