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 -- 
lldb/source/Core/ModuleList.cpp
``````````

</details>

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

``````````diff
diff --git a/lldb/source/Core/ModuleList.cpp b/lldb/source/Core/ModuleList.cpp
index e507b2e8e..56b2d7a66 100644
--- a/lldb/source/Core/ModuleList.cpp
+++ b/lldb/source/Core/ModuleList.cpp
@@ -967,8 +967,8 @@ private:
         remove_count += to_remove.GetSize();
         m_list.Remove(to_remove);
       }
-     // Break when fixed-point is reached. 
-    } while (previous_remove_count != remove_count); 
+      // Break when fixed-point is reached.
+    } while (previous_remove_count != remove_count);
 
     return remove_count;
   }
@@ -978,7 +978,7 @@ private:
   /// A hash map from a module's filename to all the modules that share that
   /// filename, for fast module lookups by name.
   llvm::DenseMap<ConstString, llvm::SmallVector<ModuleSP, 1>> 
m_name_to_modules;
-  
+
   /// The use count of a module held only by m_list and m_name_to_modules.
   static constexpr long kUseCountOrphaned = 2;
 };

``````````

</details>


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

Reply via email to