[Lldb-commits] [lldb] [lldb] Deprecate SBBreakpoint::AddName in favor of AddNameWithErrorHandling (PR #71228)

via lldb-commits lldb-commits at lists.llvm.org
Fri Nov 3 13:51:43 PDT 2023


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 fcc26bad82e190e1ec09bc6fe76ea320f5ffeeeb c8d96df16b669670267e8e257f4005b80d28194b -- lldb/include/lldb/API/SBBreakpoint.h
``````````

</details>

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

``````````diff
diff --git a/lldb/include/lldb/API/SBBreakpoint.h b/lldb/include/lldb/API/SBBreakpoint.h
index 86ecfc4b2965..e08df3b6d5ab 100644
--- a/lldb/include/lldb/API/SBBreakpoint.h
+++ b/lldb/include/lldb/API/SBBreakpoint.h
@@ -112,7 +112,8 @@ public:
 
   SBError SetScriptCallbackBody(const char *script_body_text);
 
-  LLDB_DEPRECATED_FIXME("Doesn't provide error handling", "AddNameWithErrorHandling")
+  LLDB_DEPRECATED_FIXME("Doesn't provide error handling",
+                        "AddNameWithErrorHandling")
   bool AddName(const char *new_name);
 
   SBError AddNameWithErrorHandling(const char *new_name);

``````````

</details>


https://github.com/llvm/llvm-project/pull/71228


More information about the lldb-commits mailing list