[llvm] A MMIWP Constructor Initialized with the move constructor of MMI (PR #98770)
via llvm-commits
llvm-commits at lists.llvm.org
Sat Jul 13 13:17:41 PDT 2024
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 8802c9fd73da9451e69e15eed53b396c7d44a866 d63fabf3d46dada66e2a705c88db30bae29d607b --extensions h,cpp -- llvm/include/llvm/CodeGen/MachineModuleInfo.h llvm/lib/CodeGen/MachineModuleInfo.cpp
``````````
</details>
<details>
<summary>
View the diff from clang-format here.
</summary>
``````````diff
diff --git a/llvm/lib/CodeGen/MachineModuleInfo.cpp b/llvm/lib/CodeGen/MachineModuleInfo.cpp
index 83364fc380..33bea18775 100644
--- a/llvm/lib/CodeGen/MachineModuleInfo.cpp
+++ b/llvm/lib/CodeGen/MachineModuleInfo.cpp
@@ -181,7 +181,8 @@ MachineModuleInfoWrapperPass::MachineModuleInfoWrapperPass(
}
MachineModuleInfoWrapperPass::MachineModuleInfoWrapperPass(
- MachineModuleInfo &&MMI): ImmutablePass(ID), MMI(std::move(MMI)) {
+ MachineModuleInfo &&MMI)
+ : ImmutablePass(ID), MMI(std::move(MMI)) {
initializeMachineModuleInfoWrapperPassPass(*PassRegistry::getPassRegistry());
}
``````````
</details>
https://github.com/llvm/llvm-project/pull/98770
More information about the llvm-commits
mailing list