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 b858ba0f6597c66e5c276ca9e2564ca27e7e28e7 
9b98af6a70fe6327270d983492b11f9cb9cd9f8f --extensions cpp,h -- 
clang/test/CIR/CodeGen/binop.cpp 
clang/include/clang/CIR/Dialect/Builder/CIRBaseBuilder.h 
clang/include/clang/CIR/Dialect/IR/CIRTypes.h 
clang/include/clang/CIR/MissingFeatures.h clang/lib/CIR/CodeGen/CIRGenBuilder.h 
clang/lib/CIR/CodeGen/CIRGenExpr.cpp clang/lib/CIR/CodeGen/CIRGenExprScalar.cpp 
clang/lib/CIR/CodeGen/CIRGenFunction.cpp clang/lib/CIR/CodeGen/CIRGenFunction.h 
clang/lib/CIR/Dialect/IR/CIRDialect.cpp clang/lib/CIR/Dialect/IR/CIRTypes.cpp 
clang/lib/CIR/Lowering/DirectToLLVM/LowerToLLVM.cpp 
clang/lib/CIR/Lowering/DirectToLLVM/LowerToLLVM.h
``````````

</details>

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

``````````diff
diff --git a/clang/lib/CIR/CodeGen/CIRGenExprScalar.cpp 
b/clang/lib/CIR/CodeGen/CIRGenExprScalar.cpp
index eebf2f6228..9a30cc5da5 100644
--- a/clang/lib/CIR/CodeGen/CIRGenExprScalar.cpp
+++ b/clang/lib/CIR/CodeGen/CIRGenExprScalar.cpp
@@ -761,8 +761,7 @@ LValue ScalarExprEmitter::emitCompoundAssignLValue(
       cgf, cgf.getLoc(e->getSourceRange())};
   SourceLocation loc = e->getExprLoc();
   if (!promotionTypeLHS.isNull())
-    opInfo.lhs = emitScalarConversion(opInfo.lhs, lhsTy, promotionTypeLHS,
-                                      loc);
+    opInfo.lhs = emitScalarConversion(opInfo.lhs, lhsTy, promotionTypeLHS, 
loc);
   else
     opInfo.lhs = emitScalarConversion(opInfo.lhs, lhsTy,
                                       e->getComputationLHSType(), loc);

``````````

</details>


https://github.com/llvm/llvm-project/pull/132420
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to