Skip to content

Add hint for Cpp1 new expression #418

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

Closed
wants to merge 1 commit into from
Closed

Conversation

ntrel
Copy link
Contributor

@ntrel ntrel commented May 5, 2023

No description provided.

@hsutter
Copy link
Owner

hsutter commented May 20, 2023

Thanks! I like this, and have applied it in a separate commit because I think the message is generally useful beyond assignment-expression only; e.g., it seems useful to diagnose it in cases like f( new int ) too.

hsutter added a commit that referenced this pull request May 20, 2023
Add similar hints for `sizeof` as in 6644bd4

Also, add diagnostics for attempts to use `co_await` and `co_yield` which aren't supported yet (and almost certainly won't be spelled that way)
zaucy pushed a commit to zaucy/cppfront that referenced this pull request Dec 5, 2023
zaucy pushed a commit to zaucy/cppfront that referenced this pull request Dec 5, 2023
Add similar hints for `sizeof` as in 6644bd4

Also, add diagnostics for attempts to use `co_await` and `co_yield` which aren't supported yet (and almost certainly won't be spelled that way)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants