-
Notifications
You must be signed in to change notification settings - Fork 15.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Various fixups to warnings flags (#9344)
* Don't drop parser warnings on the floor Fix #9343. * Convert "missing syntax" warning to an actual warning For some reason this warning was emitted as a log message rather than a structured warning. Convert it to use the AddWarning API so that it gets emitted with a file and line number by protoc, and is visible via the error collection interface during programmatic use. * Remove CaptureTestStderr() call CaptureTestStderr() and GetCapturedTestStderr() have to be paired with each other. * Adjust tests for new warnings A few tests now produce warnings that they didn't before, but were expecting not to see any stderr output. Adjust the tests accordingly. Co-authored-by: Adam Cozzette <[email protected]>
- Loading branch information
Showing
4 changed files
with
33 additions
and
13 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