[clang] [CIR] Add limited support for array new (PR #161095)

via cfe-commits cfe-commits at lists.llvm.org
Mon Sep 29 12:43:08 PDT 2025


jiang1997 wrote:

@andykaylor 
It looks like #139293 modified StmtNodes.td to add a new enum value, which in turn makes `clang/lib/CIR/CodeGen/CIRGenStmt.cpp` fail to compile (see the failure in build [log](https://github.com/llvm/llvm-project/actions/runs/18107802106/job/51526611593?pr=161095)).
Should I open a separate PR to address this, or is it acceptable to fix it in the current PR?
The fix seems straightforward—adding a `case Stmt::OMPFuseDirectiveClass:` branch in that switch.

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


More information about the cfe-commits mailing list