================ @@ -12,7 +12,7 @@ extern "C" void host_fn() {} struct Dummy {}; struct S { - S() {} + S() { x = 1; } ---------------- Artem-B wrote:
Can we make the purpose of non-trivial constructor more descriptive, here and in other places? E.g. `S() { static int nontrivial_ctor = 1; }` https://github.com/llvm/llvm-project/pull/72394 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits