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 HEAD~1 HEAD --extensions cpp,h -- 
lldb/include/lldb/Core/Debugger.h lldb/source/Breakpoint/Breakpoint.cpp 
lldb/source/Core/Debugger.cpp
``````````

</details>

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

``````````diff
diff --git a/lldb/source/Breakpoint/Breakpoint.cpp 
b/lldb/source/Breakpoint/Breakpoint.cpp
index c2d3f4d23..c5cb14b0b 100644
--- a/lldb/source/Breakpoint/Breakpoint.cpp
+++ b/lldb/source/Breakpoint/Breakpoint.cpp
@@ -841,11 +841,12 @@ void Breakpoint::GetDescription(Stream *s, 
lldb::DescriptionLevel level,
   assert(s != nullptr);
 
   // Grey out any disabled breakpoints in the list of breakpoints.
-    const bool highlight_disabled = !IsEnabled() && 
s->AsRawOstream().colors_enabled();
+  const bool highlight_disabled =
+      !IsEnabled() && s->AsRawOstream().colors_enabled();
   if (highlight_disabled)
-      s->Printf("%s", ansi::FormatAnsiTerminalCodes(
-                          GetTarget().GetDebugger().GetDisabledAnsiPrefix())
-                          .c_str());
+    s->Printf("%s", ansi::FormatAnsiTerminalCodes(
+                        GetTarget().GetDebugger().GetDisabledAnsiPrefix())
+                        .c_str());
 
   if (!m_kind_description.empty()) {
     if (level == eDescriptionLevelBrief) {

``````````

</details>


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

Reply via email to