[clang] [Clang] Fix unnecessary extra return block emmited during function epilog after musttail call (PR #134282)
via cfe-commits
cfe-commits at lists.llvm.org
Thu Apr 3 10:31:26 PDT 2025
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 HEAD~1 HEAD --extensions cpp -- clang/lib/CodeGen/CGCall.cpp clang/lib/CodeGen/CGExprComplex.cpp
``````````
</details>
<details>
<summary>
View the diff from clang-format here.
</summary>
``````````diff
diff --git a/clang/lib/CodeGen/CGExprComplex.cpp b/clang/lib/CodeGen/CGExprComplex.cpp
index a9b0a15c0..fffa21483 100644
--- a/clang/lib/CodeGen/CGExprComplex.cpp
+++ b/clang/lib/CodeGen/CGExprComplex.cpp
@@ -1491,7 +1491,7 @@ void CodeGenFunction::EmitComplexExprIntoLValue(const Expr *E, LValue dest,
"Invalid complex expression to emit");
ComplexExprEmitter Emitter(*this);
ComplexPairTy Val = Emitter.Visit(const_cast<Expr*>(E));
- // The insert point may be empty if we have just emmited a
+ // The insert point may be empty if we have just emmited a
// musttail call.
if (HaveInsertPoint())
Emitter.EmitStoreOfComplex(Val, dest, isInit);
``````````
</details>
https://github.com/llvm/llvm-project/pull/134282
More information about the cfe-commits
mailing list