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 HEAD~1 HEAD --extensions cpp,h -- 
lldb/include/lldb/Core/Module.h lldb/include/lldb/Core/PluginManager.h 
lldb/include/lldb/Target/Statistics.h lldb/source/Core/DynamicLoader.cpp 
lldb/source/Core/ModuleList.cpp lldb/source/Core/PluginManager.cpp 
lldb/source/Plugins/Platform/MacOSX/PlatformDarwinKernel.cpp 
lldb/source/Plugins/Process/MacOSX-Kernel/ProcessKDP.cpp 
lldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARF.cpp 
lldb/source/Plugins/SymbolVendor/ELF/SymbolVendorELF.cpp 
lldb/source/Plugins/SymbolVendor/MacOSX/SymbolVendorMacOSX.cpp 
lldb/source/Plugins/SymbolVendor/PECOFF/SymbolVendorPECOFF.cpp 
lldb/source/Plugins/SymbolVendor/wasm/SymbolVendorWasm.cpp 
lldb/source/Target/Statistics.cpp
``````````

</details>

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

``````````diff
diff --git a/lldb/source/Core/PluginManager.cpp 
b/lldb/source/Core/PluginManager.cpp
index 7511592cf..3f1af859c 100644
--- a/lldb/source/Core/PluginManager.cpp
+++ b/lldb/source/Core/PluginManager.cpp
@@ -1239,7 +1239,7 @@ PluginManager::LocateExecutableObjectFile(const 
ModuleSpec &module_spec,
 FileSpec PluginManager::LocateExecutableSymbolFile(
     const ModuleSpec &module_spec, const FileSpecList &default_search_paths,
     StatisticsMap &map) {
-      auto instances = GetSymbolLocatorInstances().GetSnapshot();
+  auto instances = GetSymbolLocatorInstances().GetSnapshot();
   for (auto &instance : instances) {
     if (instance.locate_executable_symbol_file) {
       StatsDuration time;

``````````

</details>


https://github.com/llvm/llvm-project/pull/134563
_______________________________________________
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to