================
@@ -193,6 +193,36 @@ class ScalarExprEmitter : public 
StmtVisitor<ScalarExprEmitter, mlir::Value> {
                                 e->getSourceRange().getBegin());
   }
 
+  mlir::Value
+  VisitAbstractConditionalOperator(const AbstractConditionalOperator *e) {
----------------
xlauko wrote:

nit: pull out `condExpr->getType()` from expressions in this function to 

```
clang::Type *condType = condExpr->getType()
```

and use that instead.

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

Reply via email to