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

Check that value sets have a constant constructor argument #3754

Merged
merged 3 commits into from
Dec 5, 2022

Conversation

mihaibudiu
Copy link
Contributor

Signed-off-by: Mihai Budiu mbudiu@vmware.com
Fixes #3751

class ValidateValueSets final : public Inspector {
public:
ValidateValueSets() {
setName("ValidateValueSets");
Copy link
Contributor

Choose a reason for hiding this comment

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

This seems (mostly) pointless as the default name for the pass will be the (qualified) name for the pass P4::ValidateValueSets

Mihai Budiu added 3 commits December 5, 2022 10:40
Signed-off-by: Mihai Budiu <mbudiu@vmware.com>
Signed-off-by: Mihai Budiu <mbudiu@vmware.com>
Signed-off-by: Mihai Budiu <mbudiu@vmware.com>
@mihaibudiu mihaibudiu merged commit 0c40092 into p4lang:main Dec 5, 2022
@mihaibudiu mihaibudiu deleted the issue3751 branch December 5, 2022 20:51
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.

value_set with a size that is not a compiler known constant
2 participants