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 origin/main HEAD --extensions cpp,h -- 
lldb/include/lldb/Interpreter/Interfaces/ScriptedStringSummaryInterface.h 
lldb/source/Plugins/ScriptInterpreter/Python/Interfaces/ScriptedStringSummaryPythonInterface.cpp
 
lldb/source/Plugins/ScriptInterpreter/Python/Interfaces/ScriptedStringSummaryPythonInterface.h
 lldb/include/lldb/API/SBTypeSummary.h 
lldb/include/lldb/DataFormatters/TypeSummary.h 
lldb/include/lldb/Interpreter/ScriptInterpreter.h 
lldb/include/lldb/lldb-enumerations.h lldb/include/lldb/lldb-forward.h 
lldb/source/API/SBTypeSummary.cpp lldb/source/Commands/CommandObjectType.cpp 
lldb/source/DataFormatters/TypeSummary.cpp 
lldb/source/Interpreter/ScriptInterpreter.cpp 
lldb/source/Plugins/ScriptInterpreter/Python/Interfaces/ScriptInterpreterPythonInterfaces.cpp
 
lldb/source/Plugins/ScriptInterpreter/Python/Interfaces/ScriptInterpreterPythonInterfaces.h
 lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp 
lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPythonImpl.h 
--diff_from_common_commit
``````````

:warning:
The reproduction instructions above might return results for more than one PR
in a stack if you are using a stacked PR workflow. You can limit the results by
changing `origin/main` to the base branch/commit you want to compare against.
:warning:

</details>

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

``````````diff
diff --git a/lldb/source/Commands/CommandObjectType.cpp 
b/lldb/source/Commands/CommandObjectType.cpp
index 985bf4709..38e3d8be0 100644
--- a/lldb/source/Commands/CommandObjectType.cpp
+++ b/lldb/source/Commands/CommandObjectType.cpp
@@ -1168,8 +1168,7 @@ Status 
CommandObjectTypeSummaryAdd::CommandOptions::SetOptionValue(
     uint32_t option_idx, llvm::StringRef option_arg,
     ExecutionContext *execution_context) {
   Status error;
-  const int short_option =
-      g_type_summary_add_options[option_idx].short_option;
+  const int short_option = g_type_summary_add_options[option_idx].short_option;
   bool success;
 
   switch (short_option) {

``````````

</details>


https://github.com/llvm/llvm-project/pull/210469
_______________________________________________
lldb-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to