clangir
clangir copied to clipboard
Statement expression dtor issue
I can't codegen the second example since destructors are currently broken. Still, I would guess it is not working as expected by the documentation (e.g. destructor of the temporary called right after the expression, not the end of the statement).
Originally posted by @sitio-couto in https://github.com/llvm/clangir/pull/314#discussion_r1402669765