[PATCH] D149264: GH62362: Handle constraints on "Using" inherited constructors

Erich Keane via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Apr 26 13:32:10 PDT 2023


erichkeane added a comment.

In D149264#4299877 <https://reviews.llvm.org/D149264#4299877>, @erichkeane wrote:

> Creduced the new crash down to:
>
>   template <bool> struct a;
>   template <> struct a<false> {
>     template <typename b, typename c> constexpr static c e(b, c) {
>       typename b ::f d;
>     }
>   };
>   int h;
>   long g = a<false>::e(g, h);
>
> I'll end up having to look at it tomorrow, but it isn't clear how this patch broke that.

I was mistaken!  This actually does not fail, that must have been a previous version of the patch I was working on that didn't work right, but got caught in my terminal anyway.  Looks like this is ready for review!


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

https://reviews.llvm.org/D149264



More information about the cfe-commits mailing list