[PATCH] D134874: [Concepts] Fix Concepts on generic lambda in a VarTemplateSpecDecl

Erich Keane via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Sep 29 12:19:05 PDT 2022


erichkeane added inline comments.


================
Comment at: clang/test/SemaTemplate/concepts-lambda.cpp:26
+  template <typename T>
+  auto f2 = [](auto... args)
+    requires (sizeof...(args) > 0)
----------------
Huh... this f2 example seems to ICE for some reason, I could swear it worked, but building a different patch on top of this one showed me this fails.

Looking into it now, but it isn't critical to this patch, so if the rest looks good, I might remove this test case and fix it in a followup.


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

https://reviews.llvm.org/D134874



More information about the cfe-commits mailing list