[llvm] [llvm-objcopy] Support SREC output format (PR #75874)

via llvm-commits llvm-commits at lists.llvm.org
Tue Dec 19 11:46:12 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 fade67565e1a3d7447335f9b5dfbf85dccb5773b 2f1ba89ed181fc040cf50d1ab26e40a2e4a3045c -- llvm/include/llvm/ObjCopy/CommonConfig.h llvm/lib/ObjCopy/ELF/ELFObjcopy.cpp llvm/lib/ObjCopy/ELF/ELFObject.cpp llvm/lib/ObjCopy/ELF/ELFObject.h llvm/tools/llvm-objcopy/ObjcopyOptions.cpp llvm/tools/llvm-objcopy/llvm-objcopy.cpp
``````````

</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 14a567f5f5..498be59308 100644
--- a/llvm/lib/ObjCopy/ELF/ELFObject.h
+++ b/llvm/lib/ObjCopy/ELF/ELFObject.h
@@ -441,7 +441,6 @@ public:
       : Writer(Obj, OS), OutputFileName(OutputFile) {}
 };
 
-
 class SectionBase {
 public:
   std::string Name;

``````````

</details>


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


More information about the llvm-commits mailing list