[llvm] [SystemZ][z/OS] yaml2obj part 2, adding sections & symbols (PR #75971)
via llvm-commits
llvm-commits at lists.llvm.org
Tue Dec 19 13:34:23 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 1e91f32ef777eb2a868acac99d25cba6d54feb02 36be16704a9fd2be6fbb9e79bf5a9f830cfe642e -- llvm/include/llvm/BinaryFormat/GOFF.h llvm/include/llvm/ObjectYAML/GOFFYAML.h llvm/lib/ObjectYAML/GOFFEmitter.cpp llvm/lib/ObjectYAML/GOFFYAML.cpp
``````````
</details>
<details>
<summary>
View the diff from clang-format here.
</summary>
``````````diff
diff --git a/llvm/lib/ObjectYAML/GOFFEmitter.cpp b/llvm/lib/ObjectYAML/GOFFEmitter.cpp
index e7db073699..85612ec584 100644
--- a/llvm/lib/ObjectYAML/GOFFEmitter.cpp
+++ b/llvm/lib/ObjectYAML/GOFFEmitter.cpp
@@ -192,7 +192,8 @@ class GOFFState {
GOFFState(raw_ostream &OS, GOFFYAML::Object &Doc,
yaml::ErrorHandler ErrHandler)
- : GW(OS), Doc(Doc), ErrHandler(ErrHandler), SymbolID(0), HasError(false) {}
+ : GW(OS), Doc(Doc), ErrHandler(ErrHandler), SymbolID(0), HasError(false) {
+ }
~GOFFState() { GW.finalize(); }
``````````
</details>
https://github.com/llvm/llvm-project/pull/75971
More information about the llvm-commits
mailing list