[llvm] [LLVM][DWARF] Make dwarf::getDebugNamesBucketCount return a pair. (PR #83047)
via llvm-commits
llvm-commits at lists.llvm.org
Mon Feb 26 11:05:53 PST 2024
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 b876596a76cdc183439b36455d26883b67f8ee51 840411da8d03e96207f582631983ee8d7700ba1d -- llvm/include/llvm/BinaryFormat/Dwarf.h llvm/lib/CodeGen/AsmPrinter/AccelTable.cpp
``````````
</details>
<details>
<summary>
View the diff from clang-format here.
</summary>
``````````diff
diff --git a/llvm/include/llvm/BinaryFormat/Dwarf.h b/llvm/include/llvm/BinaryFormat/Dwarf.h
index e2d7978516..b5ea9811d8 100644
--- a/llvm/include/llvm/BinaryFormat/Dwarf.h
+++ b/llvm/include/llvm/BinaryFormat/Dwarf.h
@@ -616,8 +616,8 @@ enum AcceleratorTable {
// Uniquify the string hashes and calculate the bucket count for the
// DWARF v5 Accelerator Table. NOTE: This function effectively consumes the
// 'hashes' input parameter.
-inline std::pair<uint32_t, uint32_t> getDebugNamesBucketAndHashCount(
- MutableArrayRef<uint32_t> hashes) {
+inline std::pair<uint32_t, uint32_t>
+getDebugNamesBucketAndHashCount(MutableArrayRef<uint32_t> hashes) {
uint32_t uniqueHashCount = 0;
uint32_t bucketCount = 0;
``````````
</details>
https://github.com/llvm/llvm-project/pull/83047
More information about the llvm-commits
mailing list