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 e5638c5a00682243b1ee012d7dd8292aa221dff8 
5cf9dd1073ce6ae72aebbbd8fc4723ec48b39816 -- 
clang/include/clang/Basic/LangOptions.h clang/lib/CodeGen/CGExprComplex.cpp 
clang/lib/Driver/ToolChains/Clang.cpp clang/test/CodeGen/cx-complex-range.c 
clang/test/CodeGen/pragma-cx-limited-range.c clang/test/Driver/range.c
``````````

</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 f41c69190b..e01be6e5fd 100644
--- a/clang/lib/CodeGen/CGExprComplex.cpp
+++ b/clang/lib/CodeGen/CGExprComplex.cpp
@@ -315,8 +315,7 @@ public:
         (E->getOpcode() == BinaryOperatorKind::BO_Div) ? true : false);        
\
     ComplexPairTy result = EmitBin##OP(EmitBinOps(E, promotionTy));            
\
     if (!promotionTy.isNull())                                                 
\
-      result =                                                                 
\
-          CGF.EmitUnPromotedValue(result, E->getType());                       
\
+      result = CGF.EmitUnPromotedValue(result, E->getType());                  
\
     return result;                                                             
\
   }
 

``````````

</details>


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

Reply via email to