Skip to content

Restrict fold exps - #219

Closed
amaanq wants to merge 3 commits into
masterfrom
restrict-fold-exps
Closed

amaanq wants to merge 3 commits into
masterfrom
restrict-fold-exps

Conversation

@amaanq

@amaanq amaanq commented Aug 4, 2023 •

Copy link
Copy Markdown
Member

Closes #201
Closes #212

Does fail with this input though, but maybe the tradeoff is worth it

template <typename... Args> void negateValues(Args... args) {
  ((std::cout << !args << " "), ...);
}

@amaanq amaanq mentioned this pull request Aug 4, 2023
@aryx
aryx requested a review from jdrouhard August 15, 2023 10:47
@aryx

aryx commented Oct 19, 2023

Copy link
Copy Markdown
Contributor

can you rebase @amaanq ? Seems like an important regression fix.

@jdrouhard

Copy link
Copy Markdown
Collaborator

The case it breaks is more common in modern c++ so we need to resolve that conflict first.

@cyw3

This comment was marked as off-topic.

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.

assignment in conditions can be parsed by c parser but not c++ About (x += 1) %= 2;

4 participants