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

[C++] Upstream various performance, build, and best practice fixes #3327

Merged
merged 1 commit into from
Nov 14, 2021

Conversation

jcking
Copy link
Collaborator

@jcking jcking commented Oct 28, 2021

Pushing upstream a bunch of performance, build, and best practice fixes.

Most of the performance fixes are related to incorrect/misused auto. Lots of places simply use auto which causes values to be copied. They have been switched to const auto& which avoids copying-by-value. The best practice fix is switching to throw RuntimeException instead of a string literal.

@jcking
Copy link
Collaborator Author

jcking commented Oct 28, 2021

@mike-lischke PTAL

@jcking
Copy link
Collaborator Author

jcking commented Nov 11, 2021

Friendly poke.

@mike-lischke
Copy link
Member

@parrt Another pure C++ patch ready for merge.

@parrt parrt added this to the 4.9.4 milestone Nov 14, 2021
@parrt
Copy link
Member

parrt commented Nov 14, 2021

Thanks!

@parrt parrt merged commit ec144ca into antlr:master Nov 14, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants