summaryrefslogtreecommitdiffstats
path: root/lldb/source/Plugins/ObjectFile
diff options
context:
space:
mode:
authorFangrui Song <maskray@google.com>2019-05-14 08:55:50 +0000
committerFangrui Song <maskray@google.com>2019-05-14 08:55:50 +0000
commitefe8e7e36d01cfa19b8c405fffc3411c8c74cabf (patch)
treec606cbe8c4fbe0121d85b6d1e02ca27ed505fdf4 /lldb/source/Plugins/ObjectFile
parent004393681c25e34e921adccc69ae6378090dee54 (diff)
downloadbcm5719-llvm-efe8e7e36d01cfa19b8c405fffc3411c8c74cabf.tar.gz
bcm5719-llvm-efe8e7e36d01cfa19b8c405fffc3411c8c74cabf.zip
typedef enum -> enum
Reviewed By: labath Differential Revision: https://reviews.llvm.org/D61883 llvm-svn: 360654
Diffstat (limited to 'lldb/source/Plugins/ObjectFile')
-rw-r--r--lldb/source/Plugins/ObjectFile/PECOFF/ObjectFilePECOFF.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/lldb/source/Plugins/ObjectFile/PECOFF/ObjectFilePECOFF.h b/lldb/source/Plugins/ObjectFile/PECOFF/ObjectFilePECOFF.h
index 9b696de9a47..93edaa72b81 100644
--- a/lldb/source/Plugins/ObjectFile/PECOFF/ObjectFilePECOFF.h
+++ b/lldb/source/Plugins/ObjectFile/PECOFF/ObjectFilePECOFF.h
@@ -16,7 +16,7 @@
class ObjectFilePECOFF : public lldb_private::ObjectFile {
public:
- typedef enum MachineType {
+ enum MachineType {
MachineUnknown = 0x0,
MachineAm33 = 0x1d3,
MachineAmd64 = 0x8664,
@@ -39,7 +39,7 @@ public:
MachineSh5 = 0x1a8,
MachineThumb = 0x1c2,
MachineWcemIpsv2 = 0x169
- } MachineType;
+ };
ObjectFilePECOFF(const lldb::ModuleSP &module_sp, lldb::DataBufferSP &data_sp,
lldb::offset_t data_offset,
@@ -206,10 +206,10 @@ protected:
data_dirs; // will contain num_data_dir_entries entries
} coff_opt_header_t;
- typedef enum coff_data_dir_type {
+ enum coff_data_dir_type {
coff_data_dir_export_table = 0,
coff_data_dir_import_table = 1,
- } coff_data_dir_type;
+ };
typedef struct section_header {
char name[8];
OpenPOWER on IntegriCloud