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 origin/main HEAD --extensions h,cpp --
llvm/lib/Target/X86/MCTargetDesc/X86MCLFIRewriter.cpp
llvm/lib/Target/X86/MCTargetDesc/X86MCLFIRewriter.h
clang/lib/Basic/Targets/X86.cpp llvm/include/llvm/TargetParser/Triple.h
llvm/lib/MC/MCLFI.cpp llvm/lib/Target/X86/MCTargetDesc/X86MCTargetDesc.cpp
llvm/lib/Target/X86/X86ISelLoweringCall.cpp
llvm/lib/Target/X86/X86RegisterInfo.cpp llvm/lib/Target/X86/X86Subtarget.h
llvm/lib/TargetParser/Triple.cpp --diff_from_common_commit
``````````
:warning:
The reproduction instructions above might return results for more than one PR
in a stack if you are using a stacked PR workflow. You can limit the results by
changing `origin/main` to the base branch/commit you want to compare against.
:warning:
</details>
<details>
<summary>
View the diff from clang-format here.
</summary>
``````````diff
diff --git a/llvm/lib/Target/X86/MCTargetDesc/X86MCTargetDesc.cpp
b/llvm/lib/Target/X86/MCTargetDesc/X86MCTargetDesc.cpp
index 67ab5753f..0630abac3 100644
--- a/llvm/lib/Target/X86/MCTargetDesc/X86MCTargetDesc.cpp
+++ b/llvm/lib/Target/X86/MCTargetDesc/X86MCTargetDesc.cpp
@@ -700,9 +700,11 @@ static MCInstrAnalysis *createX86MCInstrAnalysis(const
MCInstrInfo *Info) {
}
static MCLFIRewriter *
-createX86MCLFIRewriter(MCContext &Ctx, std::unique_ptr<MCRegisterInfo>
&&RegInfo,
+createX86MCLFIRewriter(MCContext &Ctx,
+ std::unique_ptr<MCRegisterInfo> &&RegInfo,
std::unique_ptr<MCInstrInfo> &&InstInfo) {
- return new X86::X86MCLFIRewriter(Ctx, std::move(RegInfo),
std::move(InstInfo));
+ return new X86::X86MCLFIRewriter(Ctx, std::move(RegInfo),
+ std::move(InstInfo));
}
// Force static initialization.
``````````
</details>
https://github.com/llvm/llvm-project/pull/189569
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits