Fail the CI if certain warnings are found #2164
Labels
analyzer 📈
Related to the analyze commands (analysis driver)
CLI 💻
Related to the command-line interface, such as the cmd, store, etc. commands
discussion 💡
enhancement 🌟
usability 👍
Usability-related features
Is your feature request related to a problem? Please describe.
This feature request was mentioned on cfe-dev mailing list and the use-case is already supported by scan-build: http://lists.llvm.org/pipermail/cfe-dev/2019-June/062495.html
Describe the solution you'd like
It should be possible to treat certain checkers or compiler warnings as compilation errors.
Describe alternatives you've considered
Alternatively one could use parse to get the list of warnings from the run and process the result with a script. This is, however, not user friendly at all. We should not require the users to maintain additional scripts for such a simple task.
The text was updated successfully, but these errors were encountered: