tra added a comment.

In D102237#2769475 <https://reviews.llvm.org/D102237#2769475>, @yaxunl wrote:

> In D102237#2767538 <https://reviews.llvm.org/D102237#2767538>, @tra wrote:
>
>> Here's a slightly simpler reproducer: https://godbolt.org/z/rW6P9e37s
>
> I have a fix for this: https://reviews.llvm.org/D102801

Here's the second regression introduced by this patch. This one triggers an 
assertion in clang:

  class a {
  public:
    a(char *);
  };
  void b() {
    [](char *c) {
      static a d(c);
      d;
    };
  }


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D102237

_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to