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

Add C++-like while loops #340

Merged
merged 17 commits into from
Apr 21, 2021
Merged

Add C++-like while loops #340

merged 17 commits into from
Apr 21, 2021

Conversation

jonmeow
Copy link
Contributor

@jonmeow jonmeow commented Mar 4, 2021

Add C++-like while loops

  • Omits variable declarations in condition syntax (while (auto x = DoSomething())).

@jonmeow jonmeow added WIP proposal A proposal labels Mar 4, 2021
@jonmeow
Copy link
Contributor Author

jonmeow commented Mar 4, 2021

Proposal links (add links as proposal evolves):

@google-cla google-cla bot added cla: yes PR meets CLA requirements according to bot. labels Mar 4, 2021
@jonmeow jonmeow changed the title while loops while loops Mar 4, 2021
@jonmeow jonmeow added proposal rfc Proposal with request-for-comment sent out and removed WIP labels Mar 4, 2021
proposals/p0340.md Outdated Show resolved Hide resolved
proposals/p0340.md Outdated Show resolved Hide resolved
proposals/p0340.md Outdated Show resolved Hide resolved
@jonmeow jonmeow requested a review from a team March 15, 2021 21:00
@jonmeow jonmeow added this to All proposals in Proposals Mar 17, 2021
@jonmeow jonmeow moved this from All proposals to RFC in Proposals Mar 17, 2021
@jonmeow jonmeow modified the milestones: Proposal WIP, Proposal RFC Mar 17, 2021
proposals/p0340.md Show resolved Hide resolved
proposals/p0340.md Outdated Show resolved Hide resolved
proposals/p0340.md Outdated Show resolved Hide resolved
proposals/p0340.md Show resolved Hide resolved
@jonmeow jonmeow changed the title while loops c++-like while loops Apr 13, 2021
@jonmeow jonmeow changed the title c++-like while loops C++-like while loops Apr 13, 2021
@jonmeow jonmeow changed the title C++-like while loops Add C++-like while loops Apr 13, 2021
@jonmeow jonmeow requested a review from a team as a code owner April 20, 2021 16:00
@chandlerc chandlerc self-assigned this Apr 20, 2021
Copy link
Contributor

@chandlerc chandlerc left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks uncontroversial, well supported, and has no blocking issues. Josh did a thorough review (thanks!) and I've tidied up the PR log just to make sure I didn't miss anything.

This LGTM, and approving for the leads. I think this can merge now.

@chandlerc chandlerc moved this from RFC to Accepted in Proposals Apr 21, 2021
@jonmeow jonmeow merged commit a054365 into carbon-language:trunk Apr 21, 2021
@jonmeow jonmeow deleted the proposal-while-loops branch April 21, 2021 17:06
@jonmeow jonmeow added proposal accepted Decision made, proposal accepted and removed proposal rfc Proposal with request-for-comment sent out labels Apr 21, 2021
@jonmeow jonmeow moved this from Accepted to RFC in Proposals Apr 22, 2021
@jonmeow jonmeow moved this from RFC to Deferred in Proposals Apr 22, 2021
@github-actions github-actions bot added proposal rfc Proposal with request-for-comment sent out and removed proposal accepted Decision made, proposal accepted labels Apr 22, 2021
@jonmeow jonmeow moved this from Deferred to Accepted in Proposals Apr 22, 2021
@github-actions github-actions bot added proposal deferred Decision made, proposal deferred proposal accepted Decision made, proposal accepted and removed proposal rfc Proposal with request-for-comment sent out proposal deferred Decision made, proposal deferred labels Apr 22, 2021
chandlerc pushed a commit that referenced this pull request Jun 28, 2022
Add C++-like `while` loops

- Omits variable declarations in condition syntax (`while (auto x = DoSomething())`).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cla: yes PR meets CLA requirements according to bot. proposal accepted Decision made, proposal accepted proposal A proposal
Projects
No open projects
Proposals
Accepted
Development

Successfully merging this pull request may close these issues.

None yet

8 participants