[PATCH] D64656: Ensure placeholder instruction for cleanup is created

Richard Smith - zygoloid via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Jul 12 14:10:59 PDT 2019


rsmith added inline comments.


================
Comment at: clang/test/CodeGenCXX/pr40771-ctad-with-lambda-copy-capture.cpp:4-24
+struct outer
+{
+    struct inner
+    {
+        ~inner() {}
+    };
+
----------------
Please use a more minimal testcase, such as:

```
struct P { ~P(); };
struct Q { Q(); ~Q(); };
struct R : P, Q {};
R c = { P(), Q() }; 
```


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D64656/new/

https://reviews.llvm.org/D64656





More information about the cfe-commits mailing list