[lld] [lld-macho] icf objc stubs (PR #79730)

via llvm-commits llvm-commits at lists.llvm.org
Sat Jan 27 22:38:51 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 7c03d5d41daad230406890499cf4fa14973ee5eb 88bcdaedd4f9ee8aaec4f8c1bf2a0289cc4183fa -- lld/MachO/Driver.cpp lld/MachO/SyntheticSections.cpp lld/MachO/SyntheticSections.h lld/MachO/Writer.cpp
``````````

</details>

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

``````````diff
diff --git a/lld/MachO/SyntheticSections.h b/lld/MachO/SyntheticSections.h
index 00944ebfae..f5adcf7126 100644
--- a/lld/MachO/SyntheticSections.h
+++ b/lld/MachO/SyntheticSections.h
@@ -340,8 +340,8 @@ private:
   std::vector<Defined *> symbols;
   // Existing mapping from methname to selref (0 index is assumed).
   llvm::StringMap<InputSection *> methnameToselref;
-  // Newly created mapping from methname to the pair of index (selref) and offset
-  // (methname).
+  // Newly created mapping from methname to the pair of index (selref) and
+  // offset (methname).
   llvm::MapVector<StringRef, std::pair<uint32_t, uint32_t>>
       methnameToidxOffsetPair;
   Symbol *objcMsgSend = nullptr;

``````````

</details>


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


More information about the llvm-commits mailing list