[Lldb-commits] [lldb] [lldb][unittest] Add call_once flag to initialize debugger (PR #80786)

via lldb-commits lldb-commits at lists.llvm.org
Mon Feb 5 18:49:28 PST 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 0d091206dd656c2a9d31d6088a4aa6f9c2cc7156 2fa99391c097def91369c164195ad2a4a1cd98ed -- lldb/unittests/TestingSupport/TestUtilities.cpp lldb/unittests/TestingSupport/TestUtilities.h
``````````

</details>

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

``````````diff
diff --git a/lldb/unittests/TestingSupport/TestUtilities.h b/lldb/unittests/TestingSupport/TestUtilities.h
index 99e569bfa5..636be860dc 100644
--- a/lldb/unittests/TestingSupport/TestUtilities.h
+++ b/lldb/unittests/TestingSupport/TestUtilities.h
@@ -32,8 +32,8 @@ namespace lldb_private {
 std::string GetInputFilePath(const llvm::Twine &name);
 
 class TestUtilities {
-  public:
-    static std::once_flag debugger_initialize_flag;
+public:
+  static std::once_flag debugger_initialize_flag;
 };
 
 class TestFile {

``````````

</details>


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


More information about the lldb-commits mailing list