diff options
Diffstat (limited to 'lldb/source/Interpreter/OptionGroupWatchpoint.cpp')
-rw-r--r-- | lldb/source/Interpreter/OptionGroupWatchpoint.cpp | 45 |
1 files changed, 37 insertions, 8 deletions
diff --git a/lldb/source/Interpreter/OptionGroupWatchpoint.cpp b/lldb/source/Interpreter/OptionGroupWatchpoint.cpp index 28e6b817fcc..e86fd22c49e 100644 --- a/lldb/source/Interpreter/OptionGroupWatchpoint.cpp +++ b/lldb/source/Interpreter/OptionGroupWatchpoint.cpp @@ -16,16 +16,45 @@ using namespace lldb; using namespace lldb_private; static constexpr OptionEnumValueElement g_watch_type[] = { - {OptionGroupWatchpoint::eWatchRead, "read", "Watch for read"}, - {OptionGroupWatchpoint::eWatchWrite, "write", "Watch for write"}, - {OptionGroupWatchpoint::eWatchReadWrite, "read_write", - "Watch for read/write"} }; + { + OptionGroupWatchpoint::eWatchRead, + "read", + "Watch for read", + }, + { + OptionGroupWatchpoint::eWatchWrite, + "write", + "Watch for write", + }, + { + OptionGroupWatchpoint::eWatchReadWrite, + "read_write", + "Watch for read/write", + }, +}; static constexpr OptionEnumValueElement g_watch_size[] = { - {1, "1", "Watch for byte size of 1"}, - {2, "2", "Watch for byte size of 2"}, - {4, "4", "Watch for byte size of 4"}, - {8, "8", "Watch for byte size of 8"} }; + { + 1, + "1", + "Watch for byte size of 1", + }, + { + 2, + "2", + "Watch for byte size of 2", + }, + { + 4, + "4", + "Watch for byte size of 4", + }, + { + 8, + "8", + "Watch for byte size of 8", + }, +}; static constexpr OptionDefinition g_option_table[] = { {LLDB_OPT_SET_1, false, "watch", 'w', OptionParser::eRequiredArgument, |