[PATCH] D26195: Ignore incomplete types when determining whether they are expensive to copy

Felix Berger via cfe-commits cfe-commits at lists.llvm.org
Tue Nov 1 09:32:27 PDT 2016


flx added a comment.

In https://reviews.llvm.org/D26195#584712, @aaron.ballman wrote:

> Please add a test case with an incomplete type that would exercise this code path, otherwise, LGTM.


Hi Aaron,

do you have any advise on how to add an incomplete type? When debugging this I had a compilation unit that failed to compile causing it, but I'm not sure this is a good way to add a test case.


Repository:
  rL LLVM

https://reviews.llvm.org/D26195





More information about the cfe-commits mailing list