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

made "errorCount", "warningCount", and "maxErrorCount" [all "unsigned int"] be "protected" rather than "private" in "class ErrorReporter" in "error_reporter.h" #3582

Conversation

Abe149
Copy link
Contributor

@Abe149 Abe149 commented Oct 18, 2022

This small change-set will enable the developers of in-house P4 compilers [e.g. Intel] to elegantly [i.e. without nasty kludges] make local changes to the errors/warnings/both behavior in subclasses of "class ErrorReporter".

… int"] be "protected" rather than "private" in "class ErrorReporter" in "error_reporter.h"
Copy link
Contributor

@davidbolvansky davidbolvansky left a comment

Choose a reason for hiding this comment

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

Makes sense. Thanks.

@Abe149
Copy link
Contributor Author

Abe149 commented Oct 18, 2022

Makes sense. Thanks.

You are welcome. :-)

@Abe149 Abe149 marked this pull request as ready for review October 18, 2022 23:03
@amreshk amreshk self-requested a review October 18, 2022 23:43
@Abe149 Abe149 merged commit 3f6c194 into p4lang:main Oct 18, 2022
@Abe149 Abe149 deleted the Abe149/make_errorCount_and_related_be_protected_instead_of_private branch October 18, 2022 23:58
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.

3 participants