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

Facilitate inheritance from RenameSymbols pass, deduplicate code #4682

Merged
merged 3 commits into from
May 27, 2024

Conversation

vlstill
Copy link
Contributor

@vlstill vlstill commented May 27, 2024

Until this change, passes inheriting from P4::RenameSymbols pass could not make use of it because of important private members. These are now protected and more protected functions were added to avoid code duplication.

@vlstill vlstill self-assigned this May 27, 2024
@vlstill vlstill enabled auto-merge May 27, 2024 12:56
@vlstill vlstill disabled auto-merge May 27, 2024 13:01
@fruffy fruffy added the core Topics concerning the core segments of the compiler (frontend, midend, parser) label May 27, 2024
frontends/p4/uniqueNames.h Outdated Show resolved Hide resolved
@vlstill vlstill enabled auto-merge May 27, 2024 14:03
@vlstill vlstill added this pull request to the merge queue May 27, 2024
Merged via the queue into main with commit b1bc5d1 May 27, 2024
17 checks passed
@vlstill vlstill deleted the vstill/rename-symbols-protected branch May 27, 2024 15:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
core Topics concerning the core segments of the compiler (frontend, midend, parser)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants