clangir icon indicating copy to clipboard operation
clangir copied to clipboard

Statement expression dtor issue

Open bcardosolopes opened this issue 1 year ago • 0 comments

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

bcardosolopes avatar Dec 08 '23 07:12 bcardosolopes