summaryrefslogtreecommitdiffstats
path: root/lldb/packages/Python/lldbsuite/test/python_api/module_section
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/packages/Python/lldbsuite/test/python_api/module_section
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/packages/Python/lldbsuite/test/python_api/module_section')
-rw-r--r--lldb/packages/Python/lldbsuite/test/python_api/module_section/main.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/lldb/packages/Python/lldbsuite/test/python_api/module_section/main.cpp b/lldb/packages/Python/lldbsuite/test/python_api/module_section/main.cpp
index da94b2714a2..c2dc68c38fd 100644
--- a/lldb/packages/Python/lldbsuite/test/python_api/module_section/main.cpp
+++ b/lldb/packages/Python/lldbsuite/test/python_api/module_section/main.cpp
@@ -22,11 +22,11 @@ std::thread g_thread_2;
std::thread g_thread_3;
std::mutex g_mask_mutex;
-typedef enum {
+enum MaskAction {
eGet,
eAssign,
eClearBits
-} MaskAction;
+};
uint32_t mask_access (MaskAction action, uint32_t mask = 0);
OpenPOWER on IntegriCloud