[PATCH] D132829: [clang][Interp] Handle ImplictValueInitExprs

Aaron Ballman via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Aug 29 08:23:29 PDT 2022


aaron.ballman added a comment.

> I don't have a test case handy for them since I'm not sure how to trigger them reliably, but they are easy enough to implement and I ran into them while working on array fillers.

I think we should have test coverage for this if possible. https://godbolt.org/z/75jGrcT7v shows an example, but it might be that it's hard to test that example without other interpreter support first (in which case, you should add the example but comment out any bits that need it so that the test passes, along with a FIXME comment).


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D132829



More information about the cfe-commits mailing list