typedef enum -> enum

Reviewed By: labath

Differential Revision: https://reviews.llvm.org/D61883

llvm-svn: 360654
This commit is contained in:
Fangrui Song committed 2019-05-14 08:55:50 +00:00
1 parent 004393681c
commit efe8e7e36d
48 files changed
+172 -202

No files matched your search

@@ -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",