github-actions[bot] wrote:

<!--LLVM CODE FORMAT COMMENT: {clang-format}-->

:warning: C/C++ code formatter, clang-format found issues in your code. 
:warning:

<details>
<summary>
You can test this locally with the following command:
</summary>

``````````bash
git-clang-format --diff 1379a7286e156af2d96cb0f3d8aa8e5c7f56bccd 
791fd06fe642f1163c39d79c57c7a6daae2c8ea6 -- 
lldb/include/lldb/Target/WatchpointResource.h 
lldb/include/lldb/Target/WatchpointResourceList.h 
lldb/source/Target/WatchpointResource.cpp 
lldb/source/Target/WatchpointResourceList.cpp 
lldb/include/lldb/Breakpoint/Watchpoint.h 
lldb/include/lldb/Interpreter/OptionGroupWatchpoint.h 
lldb/include/lldb/Target/Process.h lldb/include/lldb/lldb-forward.h 
lldb/source/API/SBWatchpoint.cpp lldb/source/Breakpoint/Watchpoint.cpp 
lldb/source/Commands/CommandObjectWatchpoint.cpp 
lldb/source/Interpreter/OptionGroupWatchpoint.cpp 
lldb/source/Plugins/Process/MacOSX-Kernel/ProcessKDP.cpp 
lldb/source/Plugins/Process/MacOSX-Kernel/ProcessKDP.h 
lldb/source/Plugins/Process/Utility/StopInfoMachException.cpp 
lldb/source/Plugins/Process/Windows/Common/ProcessWindows.cpp 
lldb/source/Plugins/Process/Windows/Common/ProcessWindows.h 
lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp 
lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.h 
lldb/source/Target/Process.cpp lldb/source/Target/StopInfo.cpp 
lldb/source/Target/Target.cpp 
lldb/test/API/commands/watchpoints/watchpoint_count/main.c 
lldb/test/Shell/Watchpoint/Inputs/val.c
``````````

</details>

<details>
<summary>
View the diff from clang-format here.
</summary>

``````````diff
diff --git a/lldb/source/Interpreter/OptionGroupWatchpoint.cpp 
b/lldb/source/Interpreter/OptionGroupWatchpoint.cpp
index d1ae916cd74b..48cbc9ec0e75 100644
--- a/lldb/source/Interpreter/OptionGroupWatchpoint.cpp
+++ b/lldb/source/Interpreter/OptionGroupWatchpoint.cpp
@@ -43,8 +43,15 @@ static constexpr OptionDefinition g_option_table[] = {
     {LLDB_OPT_SET_1, false, "watch", 'w', OptionParser::eRequiredArgument,
      nullptr, OptionEnumValues(g_watch_type), 0, eArgTypeWatchType,
      "Specify the type of watching to perform."},
-    {LLDB_OPT_SET_1, false, "size", 's', OptionParser::eRequiredArgument,
-     nullptr, {}, 0, eArgTypeByteSize, 
+    {LLDB_OPT_SET_1,
+     false,
+     "size",
+     's',
+     OptionParser::eRequiredArgument,
+     nullptr,
+     {},
+     0,
+     eArgTypeByteSize,
      "Number of bytes to use to watch a region."},
     {LLDB_OPT_SET_2,
      false,

``````````

</details>


https://github.com/llvm/llvm-project/pull/68845
_______________________________________________
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to