Summary: | Promote selected Clazy checks to errors | ||
---|---|---|---|
Product: | [Developer tools] clazy | Reporter: | Christian Schärf <c.schaerf> |
Component: | general | Assignee: | Christian Schärf <c.schaerf> |
Status: | RESOLVED FIXED | ||
Severity: | wishlist | CC: | smartins |
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Other | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
Christian Schärf
2020-04-03 10:20:37 UTC
If you could look at it it would be great. Last time I checked (2 or 3 years ago) it was hard to do, as clang didn't accept custom check names in -Werror=, only the built-in ones, I wonder if this has changed My idea was to add another environment variable such as CLAZY_CHECKS_ERROR, but I can also look whether we can extend clangs command line interface. I have posted a patch to Phabricator (https://phabricator.kde.org/D28757), please let me know what you think. |