[llvm-branch-commits] MC: Add ELF section and directive for specifying a section's preferred alignment. (PR #150151)
via llvm-branch-commits
llvm-branch-commits at lists.llvm.org
Tue Jul 22 18:32:43 PDT 2025
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 HEAD~1 HEAD --extensions cpp,h -- llvm/include/llvm/BinaryFormat/ELF.h llvm/include/llvm/MC/MCObjectStreamer.h llvm/include/llvm/MC/MCSection.h llvm/include/llvm/MC/MCStreamer.h llvm/lib/MC/ELFObjectWriter.cpp llvm/lib/MC/MCAsmStreamer.cpp llvm/lib/MC/MCObjectStreamer.cpp llvm/lib/MC/MCParser/AsmParser.cpp llvm/lib/MC/MCStreamer.cpp llvm/lib/Object/ELF.cpp
``````````
</details>
<details>
<summary>
View the diff from clang-format here.
</summary>
``````````diff
diff --git a/llvm/include/llvm/MC/MCStreamer.h b/llvm/include/llvm/MC/MCStreamer.h
index e7947657e..1f9ee1c5f 100644
--- a/llvm/include/llvm/MC/MCStreamer.h
+++ b/llvm/include/llvm/MC/MCStreamer.h
@@ -833,7 +833,7 @@ public:
unsigned MaxBytesToEmit = 0);
virtual void emitPrefAlign(Align A);
-
+
/// Emit some number of copies of \p Value until the byte offset \p
/// Offset is reached.
///
``````````
</details>
https://github.com/llvm/llvm-project/pull/150151
More information about the llvm-branch-commits
mailing list