[PATCH] D119544: Deferred Concept Instantiation Implementation

Corentin Jabot via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Apr 19 07:12:34 PDT 2022


cor3ntin added a comment.

In D119544#3458848 <https://reviews.llvm.org/D119544#3458848>, @erichkeane wrote:

> I went to commit this, and found that a recently lit test now fails with a crash during constraint instantiation!  I'll be looking into that.  The example reduces to:
>
>   template<typename T>
>   constexpr bool constraint = true;
>    
>   template < typename U>
>   void dependent(U&& u) {
>     []() requires constraint<decltype(u)> {}();
>   }
>    
>   void test_dependent() {
>     int v   = 0;
>     dependent(v);
>   }

I suspect this may be related to my recent lambda changes - not 100% certain but I'm looking into it too


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

https://reviews.llvm.org/D119544



More information about the cfe-commits mailing list