================ @@ -0,0 +1,166 @@ +// RUN: %clang_cc1 -triple x86_64-unknown-linux-gnu -fclangir -emit-cir %s -o %t.cir ---------------- mmha wrote:
`stmtexpr-init.c` is not useful because we lack record init list exprs. I added a few C++ tests but I noticed that we don't call destructors for prvalues: ```c++ struct with_dtor { ~with_dtor(); }; void cleanup() { with_dtor{}; } ``` So I didn't cover those in the statement expr tests, yet. https://github.com/llvm/llvm-project/pull/153677 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits