Skip to content
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

[P1102R2] acceptance of invalid lambda syntax in C++23 #49080

Closed
llvmbot opened this issue Mar 27, 2021 · 6 comments
Closed

[P1102R2] acceptance of invalid lambda syntax in C++23 #49080

llvmbot opened this issue Mar 27, 2021 · 6 comments
Labels
bugzilla Issues migrated from bugzilla c++20

Comments

@llvmbot
Copy link
Collaborator

llvmbot commented Mar 27, 2021

Bugzilla Link 49736
Resolution FIXED
Resolved on Mar 31, 2021 03:21
Version trunk
OS All
Reporter LLVM Bugzilla Contributor
CC @mkurdej,@zygoloid

Extended Description

https://godbolt.org/z/oz3x6eeYK

auto l = [] noexcept requires true {};

Although I am not particularly sure, this kind of grammar should be considered wrong?

@llvmbot
Copy link
Collaborator Author

llvmbot commented Mar 27, 2021

@mkurdej
Copy link
Member

mkurdej commented Mar 29, 2021

Patch in review: https://reviews.llvm.org/D99489.
Thanks for reporting. I'm the one to blame :).

@llvmbot
Copy link
Collaborator Author

llvmbot commented Mar 29, 2021

Just want to make c++ better, thank you for your hard work and contribution.

@mkurdej
Copy link
Member

mkurdej commented Mar 30, 2021

@mkurdej
Copy link
Member

mkurdej commented Mar 31, 2021

Changed component to C++2b.

@mkurdej
Copy link
Member

mkurdej commented Nov 27, 2021

mentioned in issue llvm/llvm-bugzilla-archive#49754

@llvmbot llvmbot transferred this issue from llvm/llvm-bugzilla-archive Dec 11, 2021
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bugzilla Issues migrated from bugzilla c++20
Projects
None yet
Development

No branches or pull requests

2 participants