[llvm] [SystemZ][NFC] Fix a couple of style issues (PR #69958)

via llvm-commits llvm-commits at lists.llvm.org
Mon Oct 23 11:30:39 PDT 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 2973febe1087353be285d84afc82a5cbe49a5b9f d70709f02c739def0651ca5035644a4186d2079e -- llvm/lib/Target/SystemZ/AsmParser/SystemZAsmParser.cpp llvm/lib/Target/SystemZ/Disassembler/SystemZDisassembler.cpp llvm/lib/Target/SystemZ/MCTargetDesc/SystemZELFObjectWriter.cpp llvm/lib/Target/SystemZ/MCTargetDesc/SystemZGOFFObjectWriter.cpp llvm/lib/Target/SystemZ/MCTargetDesc/SystemZMCCodeEmitter.cpp llvm/lib/Target/SystemZ/MCTargetDesc/SystemZMCExpr.h llvm/lib/Target/SystemZ/SystemZSubtarget.cpp llvm/lib/Target/SystemZ/SystemZTargetMachine.cpp llvm/lib/Target/SystemZ/TargetInfo/SystemZTargetInfo.cpp
``````````

</details>

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

``````````diff
diff --git a/llvm/lib/Target/SystemZ/MCTargetDesc/SystemZMCCodeEmitter.cpp b/llvm/lib/Target/SystemZ/MCTargetDesc/SystemZMCCodeEmitter.cpp
index b29b6262139e..a6285a2ccf9d 100644
--- a/llvm/lib/Target/SystemZ/MCTargetDesc/SystemZMCCodeEmitter.cpp
+++ b/llvm/lib/Target/SystemZ/MCTargetDesc/SystemZMCCodeEmitter.cpp
@@ -37,8 +37,7 @@ class SystemZMCCodeEmitter : public MCCodeEmitter {
 
 public:
   SystemZMCCodeEmitter(const MCInstrInfo &MCII, MCContext &Ctx)
-    : MCII(MCII), Ctx(Ctx) {
-  }
+      : MCII(MCII), Ctx(Ctx) {}
 
   ~SystemZMCCodeEmitter() override = default;
 

``````````

</details>


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


More information about the llvm-commits mailing list