[clang] [CIR] Upstream Unary Plus & Minus op for ComplexType (PR #150281)

Amr Hesham via cfe-commits cfe-commits at lists.llvm.org
Thu Jul 24 08:34:12 PDT 2025


================
@@ -82,6 +82,17 @@ class ComplexExprEmitter : public StmtVisitor<ComplexExprEmitter, mlir::Value> {
   }
 
   mlir::Value VisitUnaryDeref(const Expr *e);
+
+  mlir::Value VisitUnaryPlus(const UnaryOperator *e,
+                             QualType promotionType = QualType());
----------------
AmrDeveloper wrote:

Sure, i will do that

https://github.com/llvm/llvm-project/pull/150281


More information about the cfe-commits mailing list