[Lldb-commits] [lldb] Reapply PR/87550 (again) (PR #95571)
via lldb-commits
lldb-commits at lists.llvm.org
Fri Jun 14 10:06:02 PDT 2024
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 bbe9119d9cb37662faafe7fe273e792b1b70145e ac59dccc8f0c9d75ceca2cc4019535426301211a -- lldb/include/lldb/API/SBDebugger.h lldb/include/lldb/Symbol/TypeSystem.h lldb/source/API/SBDebugger.cpp lldb/source/Symbol/TypeSystem.cpp lldb/tools/lldb-dap/DAP.cpp lldb/tools/lldb-dap/DAP.h lldb/tools/lldb-dap/lldb-dap.cpp
``````````
</details>
<details>
<summary>
View the diff from clang-format here.
</summary>
``````````diff
diff --git a/lldb/tools/lldb-dap/DAP.cpp b/lldb/tools/lldb-dap/DAP.cpp
index e4fb3181a2..b3718650d7 100644
--- a/lldb/tools/lldb-dap/DAP.cpp
+++ b/lldb/tools/lldb-dap/DAP.cpp
@@ -60,8 +60,8 @@ DAP::~DAP() = default;
void DAP::PopulateExceptionBreakpoints() {
llvm::call_once(initExceptionBreakpoints, [this]() {
- exception_breakpoints = std::vector<ExceptionBreakpoint> {};
-
+ exception_breakpoints = std::vector<ExceptionBreakpoint>{};
+
if (lldb::SBDebugger::SupportsLanguage(lldb::eLanguageTypeC_plus_plus)) {
exception_breakpoints->emplace_back("cpp_catch", "C++ Catch",
lldb::eLanguageTypeC_plus_plus);
``````````
</details>
https://github.com/llvm/llvm-project/pull/95571
More information about the lldb-commits
mailing list