[Lldb-commits] [lldb] Make env and source map dictionaries #95137 (PR #106919)

via lldb-commits lldb-commits at lists.llvm.org
Sun Sep 1 12:09:25 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 ec588175370a32dd40df86dc4672e65926817f25 864225ea1180f7e1098b6c64d1d29a617961583c --extensions h,cpp -- lldb/tools/lldb-dap/JSONUtils.cpp lldb/tools/lldb-dap/JSONUtils.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/JSONUtils.cpp b/lldb/tools/lldb-dap/JSONUtils.cpp
index 333c0b21e5..ce1845525c 100644
--- a/lldb/tools/lldb-dap/JSONUtils.cpp
+++ b/lldb/tools/lldb-dap/JSONUtils.cpp
@@ -1401,7 +1401,8 @@ CreateRunInTerminalReverseRequest(const llvm::json::Object &launch_request,
   for (const auto &[key, value] : envMap) {
     if (key.empty())
       g_dap.SendOutput(OutputType::Stderr,
-                       "empty environment variable for value: \"" + value + '\"');
+                       "empty environment variable for value: \"" + value +
+                           '\"');
     else
       environment.try_emplace(key, value);
   }

``````````

</details>


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


More information about the lldb-commits mailing list