[llvm-branch-commits] [llvm] [GOFF] Add writing of section symbols (PR #133799)

via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Mon Mar 31 14:16:19 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 7810f30bb64b71e006ff7f0b16dff684ed63597b 77c230f82a61769714bee98b2e848820850d9cb5 --extensions cpp,h -- llvm/include/llvm/MC/MCGOFFSymbolMapper.h llvm/lib/MC/MCGOFFSymbolMapper.cpp llvm/include/llvm/BinaryFormat/GOFF.h llvm/lib/MC/GOFFObjectWriter.cpp llvm/lib/MC/MCObjectFileInfo.cpp
``````````

</details>

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

``````````diff
diff --git a/llvm/include/llvm/BinaryFormat/GOFF.h b/llvm/include/llvm/BinaryFormat/GOFF.h
index 43d80e0c24..077a5a36df 100644
--- a/llvm/include/llvm/BinaryFormat/GOFF.h
+++ b/llvm/include/llvm/BinaryFormat/GOFF.h
@@ -221,7 +221,7 @@ struct SymbolFlags {
 
 #undef GOFF_SYMBOL_FLAG
 
-constexpr operator uint8_t() const { return static_cast<uint8_t>(SymFlags); }
+  constexpr operator uint8_t() const { return static_cast<uint8_t>(SymFlags); }
 };
 
 // Structure for the behavioral attributes. See

``````````

</details>


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


More information about the llvm-branch-commits mailing list