[Lldb-commits] [lldb] Do not land, just testing the formatting job! (PR #73811)

via lldb-commits lldb-commits at lists.llvm.org
Wed Nov 29 08:07:15 PST 2023


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 953d675c42c254676ca446951bd728abefecf436 27e279c17fb7747f252b4eca58e3dd1d44845191 -- lldb/source/Utility/Scalar.cpp
``````````

</details>

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

``````````diff
diff --git a/lldb/source/Utility/Scalar.cpp b/lldb/source/Utility/Scalar.cpp
index dc5c887247..5ad68065bc 100644
--- a/lldb/source/Utility/Scalar.cpp
+++ b/lldb/source/Utility/Scalar.cpp
@@ -31,7 +31,7 @@ using llvm::APSInt;
 Scalar::PromotionKey Scalar::GetPromoKey() const {
   switch (m_type) {
   case e_void:
-    return PromotionKey{e_void, 0, false                   };
+    return PromotionKey{e_void, 0, false};
   case e_int:
     return PromotionKey{e_int, m_integer.getBitWidth(), m_integer.isUnsigned()};
   case e_float:

``````````

</details>


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


More information about the lldb-commits mailing list