-
Notifications
You must be signed in to change notification settings - Fork 13.5k
clang: concept checking bug in out-of-line definitions of inner class member functions #65810
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
@llvm/issue-subscribers-clang-frontend |
@llvm/issue-subscribers-c-20 |
@erichkeane do you have any advice on what to do here? |
I think it's a bug in Clang, we need to fix it. |
So this is another part of comparing constraints that I don't particularly well understand, all handled by @alexander-shaposhnikov 's 6db007a ends up adding this line, so I am concerned that the changes he made to the collection of arguments is at least partially to blame here, but I don't particularly have the ability to debug much more. |
Actually, I think when 6db007a's |
As reported in GH65810, we don't properly collect ALL of the template parameters in a nested name specifier, and were only doing the 'inner level'. This patch makes sure we collect from all levels. Fixes: llvm#65810
Bah, I got nerd-sniped. I have a patch up for review here: #65993 |
As reported in GH65810, we don't properly collect ALL of the template parameters in a nested name specifier, and were only doing the 'inner level'. This patch makes sure we collect from all levels. Fixes: #65810
As reported in GH65810, we don't properly collect ALL of the template parameters in a nested name specifier, and were only doing the 'inner level'. This patch makes sure we collect from all levels. Fixes: llvm#65810
This code:
Works on clang-16 and gcc trunk, fails on clang trunk. I believe it should be allowed per C++20 and above.
Bisecting points to 6db007a as the likely culprit (this got reverted a couple of times previously for similar issues; this one slipped past).
Tagging a few interested people from the diff and from #63782, which points to the same commit:
@alexander-shaposhnikov @erichkeane @shafik
The text was updated successfully, but these errors were encountered: