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++] Modernize Vocabulary using std::string_view #3378

Merged
merged 1 commit into from
Dec 7, 2021

Conversation

jcking
Copy link
Collaborator

@jcking jcking commented Nov 30, 2021

Update Vocabulary to use std::string_view where possible. This is part 1 of multiple patches which will migrate most uses to std::string_view where possible for generated grammars.

@jcking jcking force-pushed the cpp-vocab-string-view branch 6 times, most recently from 14881d6 to 809b8df Compare November 30, 2021 18:48
@jcking
Copy link
Collaborator Author

jcking commented Nov 30, 2021

@mike-lischke

@jcking jcking marked this pull request as ready for review November 30, 2021 21:10
Copy link
Member

@mike-lischke mike-lischke left a comment

Choose a reason for hiding this comment

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

Looks good, just a few minor comments/questions.

runtime/Cpp/runtime/src/Vocabulary.h Show resolved Hide resolved
runtime/Cpp/runtime/src/Vocabulary.h Show resolved Hide resolved
runtime/Cpp/runtime/src/Vocabulary.h Show resolved Hide resolved
@mike-lischke
Copy link
Member

@parrt A C++ patch ready for merge.

@parrt parrt added this to the 4.9.4 milestone Dec 7, 2021
@parrt parrt merged commit ceac269 into antlr:master Dec 7, 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