Closed PragmaTwice closed 1 month ago
In this PR I added the support for structural bindings in CIR codegen, to reason DecompositionDecl and BindDecl properly.
DecompositionDecl
BindDecl
Note that since ArrayInitLoopExpr is not implemented so binding to arrays is not supported yet. I'll look into it later : )
ArrayInitLoopExpr
Thank you for your review and extra information!
I've added some LLVM CHECKs to the test file. Feel free to review again : )
In this PR I added the support for structural bindings in CIR codegen, to reason
DecompositionDecl
andBindDecl
properly.Note that since
ArrayInitLoopExpr
is not implemented so binding to arrays is not supported yet. I'll look into it later : )