[llvm] [SystemZ][z/OS] TXT records in the GOFF reader (PR #74526)
via llvm-commits
llvm-commits at lists.llvm.org
Tue Dec 5 13:33: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 d6fbd96e5eaf3e8acbf1b43dce7a311352907567 91e81aa767d5e9e94b553281649a9a89b5cf3481 -- llvm/include/llvm/Object/GOFF.h llvm/include/llvm/Object/GOFFObjectFile.h llvm/lib/Object/GOFFObjectFile.cpp llvm/unittests/Object/GOFFObjectFileTest.cpp
``````````
</details>
<details>
<summary>
View the diff from clang-format here.
</summary>
``````````diff
diff --git a/llvm/include/llvm/Object/GOFF.h b/llvm/include/llvm/Object/GOFF.h
index 79f96e23b5..61b04c8f5c 100644
--- a/llvm/include/llvm/Object/GOFF.h
+++ b/llvm/include/llvm/Object/GOFF.h
@@ -79,10 +79,8 @@ public:
static const uint8_t TXTMaxDataLength = 56;
public:
-
// Get routines.
- static Error getData(const uint8_t *Record,
- SmallString<256> &CompleteData);
+ static Error getData(const uint8_t *Record, SmallString<256> &CompleteData);
static void getElementEsdId(const uint8_t *Record, uint32_t &EsdId) {
get<uint32_t>(Record, 4, EsdId);
``````````
</details>
https://github.com/llvm/llvm-project/pull/74526
More information about the llvm-commits
mailing list