forked from p4lang/p4c
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Allow
--Wdisable
to take precedence over --Werror
for warning mes…
…sages (p4lang#4894) * Allow --Wdisable to take precedence over --Werror for warning messages Signed-off-by: Kyle Cripps <kyle@pensando.io> * Add const qualifier Signed-off-by: Kyle Cripps <kyle@pensando.io> * Make sure to still prevent errors that are also warnings from being demoted Signed-off-by: Kyle Cripps <kyle@pensando.io> * appease cpplint Signed-off-by: Kyle Cripps <kyle@pensando.io> * appease cpplint Signed-off-by: Kyle Cripps <kyle@pensando.io> * Replace all ::warning(ErrorType::ERR_* with ErrorType::WARN_* Signed-off-by: Kyle Cripps <kyle@pensando.io> * ERR_DUPLICATE -> WARN_DUPLICATE Signed-off-by: Kyle Cripps <kyle@pensando.io> * invert logic Signed-off-by: Kyle Cripps <kyle@pensando.io> --------- Signed-off-by: Kyle Cripps <kyle@pensando.io>
- Loading branch information
1 parent
0bd4404
commit f365f6b
Showing
9 changed files
with
24 additions
and
52 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters