diff options
author | Zachary Turner <zturner@google.com> | 2018-10-25 20:45:40 +0000 |
---|---|---|
committer | Zachary Turner <zturner@google.com> | 2018-10-25 20:45:40 +0000 |
commit | 117b1fa19af43aff5d4ef0e5f35b80c9c27c5cf1 (patch) | |
tree | 94c2e53e2de6ed3fad41eb7c3cc40ba4eb5f6c1b /lldb/source/Commands/CommandObjectBreakpoint.cpp | |
parent | 991e44534a822a5c968ed85a0cce1cc529ad9e57 (diff) | |
download | llvm-117b1fa19af43aff5d4ef0e5f35b80c9c27c5cf1.zip llvm-117b1fa19af43aff5d4ef0e5f35b80c9c27c5cf1.tar.gz llvm-117b1fa19af43aff5d4ef0e5f35b80c9c27c5cf1.tar.bz2 |
Don't type-erase the FunctionNameType or TypeClass enums.
This is similar to D53597, but following up with 2 more enums.
After this, all flag enums should be strongly typed all the way
through to the symbol files plugins.
Differential Revision: https://reviews.llvm.org/D53616
llvm-svn: 345314
Diffstat (limited to 'lldb/source/Commands/CommandObjectBreakpoint.cpp')
-rw-r--r-- | lldb/source/Commands/CommandObjectBreakpoint.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lldb/source/Commands/CommandObjectBreakpoint.cpp b/lldb/source/Commands/CommandObjectBreakpoint.cpp index 1ba412e..1f324c7 100644 --- a/lldb/source/Commands/CommandObjectBreakpoint.cpp +++ b/lldb/source/Commands/CommandObjectBreakpoint.cpp @@ -636,7 +636,7 @@ public: uint32_t m_column; std::vector<std::string> m_func_names; std::vector<std::string> m_breakpoint_names; - uint32_t m_func_name_type_mask; + lldb::FunctionNameType m_func_name_type_mask; std::string m_func_regexp; std::string m_source_text_regexp; FileSpecList m_modules; @@ -765,7 +765,7 @@ protected: } case eSetTypeFunctionName: // Breakpoint by function name { - uint32_t name_type_mask = m_options.m_func_name_type_mask; + FunctionNameType name_type_mask = m_options.m_func_name_type_mask; if (name_type_mask == 0) name_type_mask = eFunctionNameTypeAuto; |