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 origin/main HEAD --extensions cpp,h -- 
lldb/include/lldb/Target/MemoryRegionInfoCache.h 
lldb/include/lldb/Utility/Locked.h lldb/source/Target/MemoryRegionInfoCache.cpp 
lldb/unittests/Utility/LockedTest.cpp --diff_from_common_commit
``````````

:warning:
The reproduction instructions above might return results for more than one PR
in a stack if you are using a stacked PR workflow. You can limit the results by
changing `origin/main` to the base branch/commit you want to compare against.
:warning:

</details>

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

``````````diff
diff --git a/lldb/include/lldb/Target/MemoryRegionInfoCache.h 
b/lldb/include/lldb/Target/MemoryRegionInfoCache.h
index 7daea4367..329f69423 100644
--- a/lldb/include/lldb/Target/MemoryRegionInfoCache.h
+++ b/lldb/include/lldb/Target/MemoryRegionInfoCache.h
@@ -35,8 +35,7 @@ public:
   size_t GetSize();
 
 private:
-  Guarded<std::map<lldb::addr_t, MemoryRegionInfo>, std::mutex>
-      m_region_infos;
+  Guarded<std::map<lldb::addr_t, MemoryRegionInfo>, std::mutex> m_region_infos;
 };
 } // namespace lldb_private
 

``````````

</details>


https://github.com/llvm/llvm-project/pull/219425
_______________________________________________
lldb-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to