[llvm] [llvm-objcopy] Remove references for empty section groups (PR #98106)
via llvm-commits
llvm-commits at lists.llvm.org
Mon Jul 8 19:50:19 PDT 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 d3cb277ea35d2cf25cdcc41b894959332477861c d5427f30bd08a49170cacf27a7dd50c5386bdcc5 -- llvm/lib/ObjCopy/ELF/ELFObject.cpp llvm/lib/ObjCopy/ELF/ELFObject.h
``````````
</details>
<details>
<summary>
View the diff from clang-format here.
</summary>
``````````diff
diff --git a/llvm/lib/ObjCopy/ELF/ELFObject.h b/llvm/lib/ObjCopy/ELF/ELFObject.h
index fd119cabcc..6ccf853871 100644
--- a/llvm/lib/ObjCopy/ELF/ELFObject.h
+++ b/llvm/lib/ObjCopy/ELF/ELFObject.h
@@ -942,8 +942,8 @@ class GroupSection : public SectionBase {
public:
template <class T>
- using ConstRange = iterator_range<pointee_iterator<
- typename llvm::SmallVector<T *, 3>::const_iterator>>;
+ using ConstRange = iterator_range<
+ pointee_iterator<typename llvm::SmallVector<T *, 3>::const_iterator>>;
// TODO: Contents is present in several classes of the hierarchy.
// This needs to be refactored to avoid duplication.
ArrayRef<uint8_t> Contents;
``````````
</details>
https://github.com/llvm/llvm-project/pull/98106
More information about the llvm-commits
mailing list