[clang] [CIR] Implement__builtin_va_arg (PR #153834)

Henrich Lauko via cfe-commits cfe-commits at lists.llvm.org
Sat Aug 16 07:48:53 PDT 2025


================
@@ -384,6 +384,19 @@ class ScalarExprEmitter : public StmtVisitor<ScalarExprEmitter, mlir::Value> {
     return Visit(e->getReplacement());
   }
 
+  mlir::Value VisitVAArgExpr(VAArgExpr *ve) {
+    QualType Ty = ve->getType();
----------------
xlauko wrote:

```suggestion
    QualType ty = ve->getType();
```

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


More information about the cfe-commits mailing list