[Lldb-commits] [lldb] [lldb] Add value to enumerator dump (PR #69815)

via lldb-commits lldb-commits at lists.llvm.org
Fri Oct 20 23:41:37 PDT 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 4aae5387a874a55ee491f5dc23ce0506c5cdc678 886c627b8675886cfa09745c2441e3ab4aaadaea -- lldb/source/Plugins/TypeSystem/Clang/TypeSystemClang.cpp
``````````

</details>

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

``````````diff
diff --git a/lldb/source/Plugins/TypeSystem/Clang/TypeSystemClang.cpp b/lldb/source/Plugins/TypeSystem/Clang/TypeSystemClang.cpp
index b1ec1cf9a322..0edf817e125f 100644
--- a/lldb/source/Plugins/TypeSystem/Clang/TypeSystemClang.cpp
+++ b/lldb/source/Plugins/TypeSystem/Clang/TypeSystemClang.cpp
@@ -8550,7 +8550,8 @@ static bool DumpEnumValue(const clang::QualType &qual_type, Stream &s,
     ++num_enumerators;
     if (val == enum_svalue) {
       // Found an exact match, that's all we need to do.
-      s.Printf("%s(%" PRIi64 ")", enumerator->getNameAsString().c_str(), enum_svalue);
+      s.Printf("%s(%" PRIi64 ")", enumerator->getNameAsString().c_str(),
+               enum_svalue);
       return true;
     }
   }

``````````

</details>


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


More information about the lldb-commits mailing list